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