-
Panagiotis Karamolegkos authoredPanagiotis Karamolegkos authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
gnn_controller.yaml 1.34 KiB
apiVersion: apps/v1
kind: Deployment
metadata:
name: gnn-controller
namespace: he-codeco-pdlc # The desired namespace
spec:
replicas: 1
selector:
matchLabels:
app: gnn-controller
template:
metadata:
labels:
app: gnn-controller
spec:
serviceAccountName: default
nodeName: k8s-worker #The node of the Deployment
containers:
- name: gnn-controller
image: docker.io/hecodeco/pdlc-dl-gnns-stgnn-controller:1.1.2
# imagePullPolicy: Always
env:
- name: DATA_PATH
value: "/data/GNN/data_GNN.csv"
- name: NAMESPACE
value: he-codeco-pdlc #define namespace where inference service is deployed "codeco-pdlc"
- name: K8S_HOST
value: https://k8s-master #define your kubernetes host address e.g. "http://146.124.106.200"
volumeMounts:
- name: shared-volume
mountPath: /data
# readOnly: true
- name: config-volume # Volume Mount for the config-map
mountPath: /data/topology/config.json
subPath: topology.json
volumes:
- name: shared-volume
persistentVolumeClaim:
claimName: shared-pvc-ro
- name: config-volume # Volume for the config-map
configMap:
name: pdlc-config-map