manifest.yaml 676 Bytes
Newer Older
Yori Fournier's avatar
Yori Fournier committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
apiVersion: apps/v1
kind: Deployment
metadata:
  name: pod-proc1
  labels:
    app: proc1
spec:
  replicas: 1
  selector:
    matchLabels:
      app: proc1
  template:
    metadata:
      labels:
        app: proc1
    spec:
      containers:
      - name: proc1
Yori Fournier's avatar
Yori Fournier committed
19
        image: proc1:latest
Yori Fournier's avatar
Yori Fournier committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
        ports:
        - containerPort: 8051
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: pod-proc2
  labels:
    app: proc2
spec:
  replicas: 1
  selector:
    matchLabels:
      app: proc2
  template:
    metadata:
      labels:
        app: proc2
    spec:
      containers:
      - name: proc2
Yori Fournier's avatar
Yori Fournier committed
41
        image: proc2:latest
Yori Fournier's avatar
Yori Fournier committed
42
43
        ports:
        - containerPort: 8052