EG version upgrade to 1.3
[ealt-edge.git] / example-apps / PDD / deployment / pcb-dep.yaml
1 ---
2 apiVersion: apps/v1
3 kind: Deployment
4 metadata:
5   name: pcb-ui-deployment
6 spec:
7   replicas: 2
8   selector:
9     matchLabels:
10       app: pcbui
11   template:
12     metadata:
13       labels:
14         app: pcbui
15     spec:
16       containers:
17         - name: pcbui
18           image: ealtedge/pcbui
19           ports:
20             - containerPort: 80
21 ---
22 apiVersion: v1
23 kind: Service
24 metadata:
25   name: pcbui-service
26 spec:
27   type: NodePort
28   selector:
29     app: pcbui
30   ports:
31     - protocol: "TCP"
32       port: 8000
33       targetPort: 80
34       nodePort: 30002