k8s/ingress/web2-deplyment.yaml

19 lines
323 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: web2
spec:
selector:
matchLabels:
run: web2
replicas: 3
template:
metadata:
labels:
run: web2
spec:
containers:
- name: web2
image: gcr.io/google-samples/hello-app:2.0
ports:
- containerPort: 80