BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 1 | apiVersion: apps/v1 |
| 2 | kind: StatefulSet |
| 3 | metadata: |
| 4 | name: $RIC_SIM_SET_NAME |
BjornMagnussonXA | 663566c | 2021-11-08 10:25:07 +0100 | [diff] [blame] | 5 | namespace: $KUBE_A1SIM_NAMESPACE |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 6 | labels: |
| 7 | run: $RIC_SIM_SET_NAME |
| 8 | autotest: RICSIM |
| 9 | spec: |
| 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" |
BjornMagnussonXA | 84ffd4a | 2021-10-08 08:58:12 +0200 | [diff] [blame] | 31 | - name: DUPLICATE_CHECK |
| 32 | value: "1" |
BjornMagnussonXA | 483ee33 | 2021-04-08 01:35:24 +0200 | [diff] [blame] | 33 | imagePullPolicy: $KUBE_IMAGE_PULL_POLICY |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 34 | ports: |
| 35 | - name: http |
| 36 | containerPort: $RIC_SIM_INTERNAL_PORT |
| 37 | - name: https |
| 38 | containerPort: $RIC_SIM_INTERNAL_SECURE_PORT |