apiVersion: apps/v1
kind: Deployment
metadata:
  name: front-end-deployment
spec:
  selector:
    matchLabels:
      app: front-end-pod
  replicas: 1
  template:
    metadata:
      labels:
        app: front-end-pod
    spec:
      containers:
      - name: front-end
        image: gcr.io/bankingapplication/front-end:latest
        ports:
        - containerPort: 80
        resources:
          requests:
            cpu: "50m"
        volumeMounts:
        - name: nginx-configmap-volume
          mountPath: /etc/nginx/conf.d
      volumes:
        - name: nginx-configmap-volume
          configMap:
            name: nginx-configmap
            