Skip to content
Snippets Groups Projects
Commit c23c6fd1 authored by Panagiotis Karamolegkos's avatar Panagiotis Karamolegkos :v_tone2:
Browse files

Update pdlc-dp-deployment.yaml

parent 74bc5866
No related branches found
No related tags found
1 merge request!3Pdlc v2
# 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment