Mercurial > code > home > repos > homeauto
comparison service/frontDoorLock/deploy.yaml @ 1712:6ee9a1c5a991
update deps; code fixes; add skaffold
author | drewp@bigasterisk.com |
---|---|
date | Sun, 12 Dec 2021 22:03:28 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1711:dc0a539c5dd4 | 1712:6ee9a1c5a991 |
---|---|
1 apiVersion: apps/v1 | |
2 kind: Deployment | |
3 metadata: | |
4 name: front-door-lock | |
5 spec: | |
6 replicas: 1 | |
7 selector: | |
8 matchLabels: | |
9 app: front-door-lock | |
10 template: | |
11 metadata: | |
12 labels: | |
13 app: front-door-lock | |
14 annotations: | |
15 prometheus.io/scrape: "false" | |
16 spec: | |
17 containers: | |
18 - name: front-door-lock | |
19 image: bang5:5000/front_door_lock_image | |
20 imagePullPolicy: "Always" | |
21 ports: | |
22 - containerPort: 10011 | |
23 affinity: | |
24 nodeAffinity: | |
25 requiredDuringSchedulingIgnoredDuringExecution: | |
26 nodeSelectorTerms: | |
27 - matchExpressions: | |
28 - key: "kubernetes.io/hostname" | |
29 operator: In | |
30 values: ["bang"] | |
31 --- | |
32 apiVersion: v1 | |
33 kind: Service | |
34 metadata: | |
35 name: front-door-lock | |
36 spec: | |
37 ports: | |
38 - {port: 10011, targetPort: 10011} | |
39 selector: | |
40 app: front-door-lock |