apiVersion: apps/v1
kind: Deployment
metadata:
  name: frontend-dp
  labels: 
    app: frontend-app
    type: frontend
spec:
  template:
    metadata:
      name: frontend-pod
      labels:
        app: frontend-app
        type: frontend
    spec:
      containers:
        - name: frontend-containers
          image: nginx
  selector:
    matchLabels:
      type: frontend
  replicas: 3
         