apiVersion: apps/v1
kind: Deployment
metadata:
  name: k8s-app
  labels:
    type: k8s-app
spec:
  replicas: 1
  selector:
    matchLabels:
      app: k8s-app
  template:
    metadata:
      labels:
        app: k8s-app
    spec:       
      containers:
      - name: k8s-app
        image: localhost:5000/k8s
        imagePullPolicy: Always
        env:
          - name: NAME
            value: "rithik"
        ports:
          - containerPort: 4000
      terminationGracePeriodSeconds: 100
