795366236c9835992eb90bbfd0c4e5d9ce4fa9be
[nonrtric.git] / test / simulator-group / cr / app.yaml
1 apiVersion: apps/v1
2 kind: StatefulSet
3 metadata:
4   name: $CR_APP_NAME
5   namespace: $KUBE_SIM_NAMESPACE
6   labels:
7     run: $CR_APP_NAME
8     autotest: CR
9 spec:
10   replicas: $CR_APP_COUNT
11   serviceName: $CR_APP_NAME
12   selector:
13     matchLabels:
14       run: $CR_APP_NAME
15   template:
16     metadata:
17       labels:
18         run: $CR_APP_NAME
19         autotest: CR
20     spec:
21       containers:
22       - name: $CR_APP_NAME
23         image: $CR_IMAGE
24         imagePullPolicy: $KUBE_IMAGE_PULL_POLICY
25         ports:
26         - name: http
27           containerPort: $CR_INTERNAL_PORT
28         - name: https
29           containerPort: $CR_INTERNAL_SECURE_PORT