Mercurial > code > home > repos > href
diff deploy.yaml @ 33:b82432594778
skaffold config and other updates
author | drewp@bigasterisk.com |
---|---|
date | Sat, 21 Aug 2021 14:24:57 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deploy.yaml Sat Aug 21 14:24:57 2021 -0700 @@ -0,0 +1,29 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: href +spec: + replicas: 1 + selector: + matchLabels: + app: href + template: + metadata: + labels: + app: href + spec: + containers: + - name: href + image: bang5:5000/href_image + ports: + - containerPort: 10002 +--- +apiVersion: v1 +kind: Service +metadata: + name: href +spec: + ports: + - {port: 80, targetPort: 10002} + selector: + app: href