apiVersion: apps/v1
kind: Deployment
metadata:   
  name: paymentservice  
  labels:     
    app: paymentservice
spec:     
  replicas: 3
  selector:
    matchLabels:
      app: paymentservice
  template:     
    metadata:       
      labels:         
        app: paymentservice    
    spec:       
      containers:       
      - name: server
        image: olegtrygub/mypaymentservice:v2
        env:
        - name: PORT
          value: "50051" 
