argocd-example-apps/guestbook/guestbook-ui-deployment.yaml

23 lines
476 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: guestbook-ui
spec:
replicas: 2
revisionHistoryLimit: 3
selector:
matchLabels:
app: guestbook-ui
template:
metadata:
labels:
app: guestbook-ui
spec:
nodeSelector:
kubernetes.io/hostname: aks-testpool-32929358-vmss000001
containers:
- image: gcr.io/heptio-images/ks-guestbook-demo:0.2
name: guestbook-ui
ports:
- containerPort: 80