blob: 36e4af15d656787f7214ccc65d41fdf2acc93d89 [file] [log] [blame]
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01001apiVersion: apps/v1
2kind: StatefulSet
3metadata:
4 name: $RIC_SIM_SET_NAME
BjornMagnussonXA663566c2021-11-08 10:25:07 +01005 namespace: $KUBE_A1SIM_NAMESPACE
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01006 labels:
7 run: $RIC_SIM_SET_NAME
8 autotest: RICSIM
9spec:
10 replicas: $RIC_SIM_COUNT
11 serviceName: $RIC_SIM_SET_NAME
12 selector:
13 matchLabels:
14 run: $RIC_SIM_SET_NAME
15 template:
16 metadata:
17 labels:
18 run: $RIC_SIM_SET_NAME
19 autotest: RICSIM
20 spec:
21 containers:
22 - name: $RIC_SIM_SET_NAME
23 image: $RIC_SIM_IMAGE
24 env:
25 - name: A1_VERSION
26 value: $A1_VERSION
27 - name: REMOTE_HOSTS_LOGGING
28 value: "1"
29 - name: ALLOW_HTTP
30 value: "true"
BjornMagnussonXA84ffd4a2021-10-08 08:58:12 +020031 - name: DUPLICATE_CHECK
32 value: "1"
BjornMagnussonXA483ee332021-04-08 01:35:24 +020033 imagePullPolicy: $KUBE_IMAGE_PULL_POLICY
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010034 ports:
35 - name: http
36 containerPort: $RIC_SIM_INTERNAL_PORT
37 - name: https
38 containerPort: $RIC_SIM_INTERNAL_SECURE_PORT