Merge "Rename enrichment coordinator service to information coordinator service"
[nonrtric.git] / test / simulator-group / dmaapmed / app.yaml
1 apiVersion: apps/v1
2 kind: Deployment
3 metadata:
4   name: $DMAAP_MED_APP_NAME
5   namespace: $KUBE_NONRTRIC_NAMESPACE
6   labels:
7     run: $DMAAP_MED_APP_NAME
8     autotest: DMAAPMED
9 spec:
10   replicas: 1
11   selector:
12     matchLabels:
13       run: $DMAAP_MED_APP_NAME
14   template:
15     metadata:
16       labels:
17         run: $DMAAP_MED_APP_NAME
18         autotest: DMAAPMED
19     spec:
20       containers:
21       - name: $DMAAP_MED_APP_NAME
22         image: $DMAAP_MED_IMAGE
23         imagePullPolicy: $KUBE_IMAGE_PULL_POLICY
24         ports:
25         - name: http
26           containerPort: $DMAAP_MED_INTERNAL_PORT
27         - name: https
28           containerPort: $DMAAP_MED_INTERNAL_SECURE_PORT
29         volumeMounts:
30         - mountPath: $DMAAP_MED_DATA_MOUNT_PATH/$DMAAP_MED_DATA_FILE
31           subPath: $DMAAP_MED_DATA_FILE
32           name: dmaapadp-data-name
33         env:
34         - name: INFO_PRODUCER_HOST
35           value: "$DMAAP_MED_CONF_SELF_HOST"
36         - name: INFO_PRODUCER_PORT
37           value: "$DMAAP_MED_CONF_SELF_PORT"
38         - name: INFO_COORD_ADDR
39           value: "$ECS_SERVICE_PATH"
40         - name: DMAAP_MR_ADDR
41           value: "$MR_SERVICE_PATH"
42         - name: LOG_LEVEL
43           value: Debug
44       volumes:
45       - configMap:
46           defaultMode: 420
47           name: $DMAAP_MED_DATA_CONFIGMAP_NAME
48         name: dmaapadp-data-name
49 # Selector will be set when pod is started first time
50       nodeSelector:
51