Mercurial > code > home > repos > doorbell
comparison deploy.yaml @ 1:125c794511a6
deployment config
author | drewp@bigasterisk.com |
---|---|
date | Sun, 05 Feb 2023 14:05:06 -0800 |
parents | 7bd85b962845 |
children |
comparison
equal
deleted
inserted
replaced
0:7bd85b962845 | 1:125c794511a6 |
---|---|
29 | 29 |
30 affinity: | 30 affinity: |
31 nodeAffinity: | 31 nodeAffinity: |
32 requiredDuringSchedulingIgnoredDuringExecution: | 32 requiredDuringSchedulingIgnoredDuringExecution: |
33 { nodeSelectorTerms: [{ matchExpressions: [{ key: "kubernetes.io/hostname", operator: In, values: ["bang"] }] }] } | 33 { nodeSelectorTerms: [{ matchExpressions: [{ key: "kubernetes.io/hostname", operator: In, values: ["bang"] }] }] } |
34 | |
35 --- | |
36 apiVersion: v1 | |
37 kind: Service | |
38 metadata: | |
39 name: doorbell | |
40 spec: | |
41 ports: | |
42 - {port: 80, targetPort: 8000} | |
43 selector: | |
44 app: doorbell |