Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Author: Panagiotis Karamolegkos (UPRC)
apiVersion: apps/v1
kind: Deployment
metadata:
name: pdlc-rl
namespace: he-codeco-pdlc # The desired namespace
spec:
replicas: 1
selector:
matchLabels:
app: pdlc-rl
template:
metadata:
labels:
app: pdlc-rl
spec:
serviceAccountName: default
containers:
- name: pdlc-rl
image: docker.io/hecodeco/pdlcrl_inference:0.1.0
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
env:
- name: NODE_NUMBER
value: "5"
- name: CRD_OUTPUT
value: "/data/RL/CRDs"
- name: CSV_DIR
value: "/data/RL"
- name: DP_CSV_NODES
value: "test_nodes.csv"
- name: DP_CSV_PODS
value: "test_integracio.csv"
- name: CA_CSV
value: "metrics.csv"
volumes:
- name: shared-volume
persistentVolumeClaim:
claimName: shared-pvc-ro
- name: config-volume # Volume for the config-map
configMap:
name: pdlc-config-map