kubernetes/hack/testdata/deployment-revision2.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: registry.k8s.io/nginx:1.7.9
        ports:
        - containerPort: 80