apiVersion: apps/v1
kind: ReplicaSet
metadata:
 name: paymentservice
 labels:
  app: paymentservice
spec:
 replicas: 3
 selector:
  matchLabels:
   tier: paymentservice
 template:
  metadata:
   labels:
    app: paymentservice
    tier: paymentservice
  spec:
   containers:
    - name: server
      image: horror894/controllers-hipster-shop-paymentservice:v0.0.1 
      ports:
       - containerPort: 50051      
      env:
       - name: PORT
         value: "50051"
