Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PDLC-Deployment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Research Labs
CODECO Project
Privacy-preserving Decentralised Learning and Context-awareness - PDLC
PDLC-Deployment
Commits
c23c6fd1
Commit
c23c6fd1
authored
9 months ago
by
Panagiotis Karamolegkos
Browse files
Options
Downloads
Patches
Plain Diff
Update pdlc-dp-deployment.yaml
parent
74bc5866
No related branches found
Branches containing commit
No related tags found
1 merge request
!3
Pdlc v2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
data_preprocessing/pdlc-dp-deployment.yaml
+8
-44
8 additions, 44 deletions
data_preprocessing/pdlc-dp-deployment.yaml
with
8 additions
and
44 deletions
data_preprocessing/pdlc-dp-deployment.yaml
+
8
−
44
View file @
c23c6fd1
# Author: Panagiotis Karamolegkos (UPRC)
# The ConfigMap will probably be changed for the Integration with other components.
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
name
:
pdlc-config-map
namespace
:
he-codeco-pdlc
# The desired namespace for the Config Map
data
:
topology.json
:
|
{
"node_names": [
"sonem-control-plane",
"sonem-worker"
],
"connections": [
[1, 1],
[1, 1]
]
}
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
...
...
@@ -38,48 +19,31 @@ spec:
nodeName
:
sonem-worker
#The node of the Deployment
containers
:
-
name
:
pdlc-dp
image
:
docker.io/hecodeco/pdlc-dp:v0.3.1
image
:
docker.io/hecodeco/pdlc-dp:v0.4.4.1
imagePullPolicy
:
Always
volumeMounts
:
-
name
:
shared-volume
mountPath
:
/data
-
name
:
config-volume
# Volume Mount for the config-map
mountPath
:
/data/topology/config.json
subPath
:
topology.json
env
:
-
name
:
COPY_MODELS_PATH
# Will be removed when MLOOps are ready
value
:
"
/data/"
-
name
:
NODE_NAME
value
:
"
sonem-worker"
# Node to collect metrics from
-
name
:
ACM_NAMESPACE
value
:
"
he-codeco-acm"
-
name
:
MDM_NAMESPACE
value
:
"
he-codeco-mdm"
-
name
:
NETMA_NAMESPACE
value
:
"
he-codeco-netma"
-
name
:
CA_DIR
value
:
"
/data/CA/"
-
name
:
CA_FILE
value
:
"
data_CA.csv"
-
name
:
RL_DIR
value
:
"
/data/RL/"
-
name
:
RL_NODES_FILE
value
:
"
test_nodes.csv"
-
name
:
RL_PODS_FILE
value
:
"
test_integracio.csv"
-
name
:
GNN_DIR
value
:
"
/data/GNN/"
-
name
:
GNN_FILE
value
:
"
data_GNN.csv"
-
name
:
RECORDS_INTERVAL
-
name
:
SCRAPE_INTERVAL
value
:
"
60"
# These are seconds
-
name
:
VOLUME_PATH
value
:
"
/data"
-
name
:
CLUSTER_NAME
# Provide the name of the cluster
value
:
"
sonem"
-
name
:
TOPOLOGY_FILE
value
:
"
/data/topology/config.json"
# Topology Config File
value
:
"
/data/topology/config.json"
# Topology Config File
volumes
:
-
name
:
shared-volume
persistentVolumeClaim
:
claimName
:
shared-pvc-rw
-
name
:
config-volume
# Volume for the config-map
configMap
:
name
:
pdlc-config-map
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment