Mercurial > code > home > repos > doorbell
diff deploy.yaml @ 1:125c794511a6
deployment config
author | drewp@bigasterisk.com |
---|---|
date | Sun, 05 Feb 2023 14:05:06 -0800 |
parents | 7bd85b962845 |
children |
line wrap: on
line diff
--- a/deploy.yaml Sat Jan 21 21:59:14 2023 -0800 +++ b/deploy.yaml Sun Feb 05 14:05:06 2023 -0800 @@ -31,3 +31,14 @@ nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: { nodeSelectorTerms: [{ matchExpressions: [{ key: "kubernetes.io/hostname", operator: In, values: ["bang"] }] }] } + +--- +apiVersion: v1 +kind: Service +metadata: + name: doorbell +spec: + ports: + - {port: 80, targetPort: 8000} + selector: + app: doorbell