kubernetes/staging/src/k8s.io/kubectl/testdata/apply/deploy-clientside.yaml

apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
  labels:
    name: nginx
spec:
  selector:
    matchLabels:
      name: nginx
  strategy:
    type: Recreate
    rollingUpdate: null
  template:
    metadata:
      labels:
        name: nginx
    spec:
      containers:
      - name: nginx
        image: nginx