apiVersion: apps/v1
kind: Deployment
metadata:
  name: myapp-deployment
  labels:
    name: myapp-deployment
    app: myapp
    type: front-end
spec:
  template:
    metadata:
     name: myapp-pod
     labels:
       name: myapp-pod
       app: myapp
       type: front-end
    spec:
     containers:
     - name: nginx-container
       image: nginx
  replicas: 6
  selector:
    matchLabels:
      app: myapp

