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