apiVersion: apps/v1
kind: Deployment
metadata:
  name: webapp
spec:
  template:
    metadata:
      labels:
        app: webapp
        env: production
    spec:
      containers:
        - name: webapp
          image: nginx
  selector:
    matchLabels:
      app: webapp
  replicas: 2