monitor-dep.yaml 477 Bytes
Newer Older
Nane Kratzke's avatar
Nane Kratzke committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apiVersion: apps/v1
kind: Deployment
metadata:
  name: monitor
spec:
  selector:
    matchLabels:
      app: monitor
  template:
    metadata:
      labels:
        app: monitor
    spec:
      containers:
      - name: monitor
        image: {{ CI_REGISTRY_IMAGE }}/grpc:latest
Nane Kratzke's avatar
Nane Kratzke committed
17
        command: "greeter_monitor.py"
Nane Kratzke's avatar
Nane Kratzke committed
18
19
20
21
22
23
24
        env:
        - name: GRPC_SVC
          value: grpc-svc
        - name: REST_SVC
          value: rest-svc
        ports:
        - containerPort: 8080