k3s/hack/testdata/deployment-revision1.yaml

22 lines
361 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
labels:
name: nginx-undo
spec:
replicas: 3
selector:
matchLabels:
name: nginx-undo
template:
metadata:
labels:
name: nginx-undo
spec:
containers:
- name: nginx
image: k8s.gcr.io/nginx:test-cmd
ports:
- containerPort: 80