Commit 475a45b3 authored by vmasip's avatar vmasip
Browse files

Compss configured and tested for k8s server

parent 7ee183ec
......@@ -2,14 +2,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Project>
<MasterNode/>
<ComputeNode Name="10.1.19.30">
<ComputeNode Name="10.1.54.38">
<InstallDir>/opt/COMPSs/</InstallDir>
<WorkingDir>/home/root/COMPSsWorker/</WorkingDir>
<User>root</User>
<Application>
</Application>
</ComputeNode>
<ComputeNode Name="10.1.19.29">
<ComputeNode Name="10.1.48.58">
<InstallDir>/opt/COMPSs/</InstallDir>
<WorkingDir>/home/root/COMPSsWorker/</WorkingDir>
<User>root</User>
......@@ -17,7 +17,7 @@
<Pythonpath>/usr/lib/python3.8</Pythonpath>
</Application>
</ComputeNode>
<ComputeNode Name="10.1.2.21">
<ComputeNode Name="10.1.2.39">
<InstallDir>/opt/COMPSs/</InstallDir>
<WorkingDir>/home/root/COMPSsWorker/</WorkingDir>
<User>root</User>
......@@ -25,7 +25,7 @@
<Pythonpath>/usr/lib/python3.8</Pythonpath>
</Application>
</ComputeNode>
<ComputeNode Name="10.1.54.20">
<ComputeNode Name="10.1.54.39">
<InstallDir>/opt/COMPSs/</InstallDir>
<WorkingDir>/home/root/COMPSsWorker/</WorkingDir>
<User>root</User>
......@@ -33,7 +33,7 @@
<Pythonpath>/usr/lib/python3.8</Pythonpath>
</Application>
</ComputeNode>
<ComputeNode Name="10.1.48.23">
<ComputeNode Name="10.1.19.70">
<InstallDir>/opt/COMPSs/</InstallDir>
<WorkingDir>/home/root/COMPSsWorker/</WorkingDir>
<User>root</User>
......
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ResourcesList>
<MasterNode/>
<ComputeNode Name="10.1.19.30">
<ComputeNode Name="10.1.54.38">
<Processor Name="MainProcessor">
<ComputingUnits>2</ComputingUnits>
</Processor>
......@@ -17,7 +16,7 @@
</Adaptor>
</Adaptors>
</ComputeNode>
<ComputeNode Name="10.1.19.29">
<ComputeNode Name="10.1.48.58">
<Processor Name="MainProcessor">
<ComputingUnits>2</ComputingUnits>
</Processor>
......@@ -33,7 +32,7 @@
</Adaptor>
</Adaptors>
</ComputeNode>
<ComputeNode Name="10.1.2.21">
<ComputeNode Name="10.1.2.39">
<Processor Name="MainProcessor">
<ComputingUnits>2</ComputingUnits>
</Processor>
......@@ -49,7 +48,7 @@
</Adaptor>
</Adaptors>
</ComputeNode>
<ComputeNode Name="10.1.54.20">
<ComputeNode Name="10.1.54.39">
<Processor Name="MainProcessor">
<ComputingUnits>2</ComputingUnits>
</Processor>
......@@ -65,7 +64,7 @@
</Adaptor>
</Adaptors>
</ComputeNode>
<ComputeNode Name="10.1.48.23">
<ComputeNode Name="10.1.19.70">
<Processor Name="MainProcessor">
<ComputingUnits>2</ComputingUnits>
</Processor>
......
runcompss --resources=/var/local/compss_conf/resources.xml --project=/var/local/compss_conf/project.xml --master_name=10.1.19.30
\ No newline at end of file
runcompss --resources=/var/local/compss_conf/resources.xml --project=/var/local/compss_conf/project.xml --master_name=10.1.54-38 /tutorial_apps-stable/python/simple/src/simple.py 5
\ No newline at end of file
FROM compss/compss:latest
ADD https://github.com/bsc-wdc/tutorial_apps/archive/refs/heads/stable.zip /tmp/
RUN unzip /tmp/stable.zip
RUN unzip /tmp/stable.zip && apt update -y && apt install iputils-ping netcat -y
apiVersion: apps/v1
kind: Deployment
metadata:
name: compss-deployment
namespace: compss-space
name: compss-deploy
labels:
apps: compss
app: compss-deploy
spec:
replicas: 4
selector:
matchLabels:
app: compss
replicas: 5
app: compss-deploy
template:
metadata:
labels:
app: compss
app: compss-deploy
spec:
volumes:
- name: compss-vol
hostPath:
path: /var/local/compss_conf
type: DirectoryOrCreate
containers:
- name: compss-cont
image: my-compss-image:latest
imagePullPolicy: Always
ports:
- containerPort: 22
volumeMounts:
- mountPath: /var/local/compss_conf
name: compss-vol
- name: worker
image: vmganela/compss
ports:
- containerPort: 43001
- containerPort: 22
\ No newline at end of file
apiVersion: apps/v1
kind: Deployment
metadata:
name: compss-deployment
namespace: compss-space
labels:
apps: compss
spec:
selector:
matchLabels:
app: compss
replicas: 5
template:
metadata:
labels:
app: compss
spec:
volumes:
- name: compss-vol
hostPath:
path: /var/local/compss_conf
type: DirectoryOrCreate
containers:
- name: compss-cont
image: registry.gitlab.bsc.es/ppc-bsc/software/deep-health-compss/compss-test:latest
imagePullPolicy: Always
ports:
- containerPort: 22
volumeMounts:
- mountPath: /var/local/compss_conf
name: compss-vol
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment