apiVersion: apps/v1
kind: Deployment

metadata:
  name: nodeapp-deployment
  labels:
     app: nodeapp

spec:
  replicas: 3
  selector:
    matchLabels:
      app: nodeapp
  template:
    metadata:
      labels:
        app: nodeapp
    spec:
      containers:
      - name: nodeapp-container
        image: suhasmalusare/nodeapp:02
        #image: suhasmalusare/nodeapp:01
        ports:
        - containerPort: 9292