apiVersion: apps/v1
kind: Deployment
metadata: 
  name: paymentservice
  labels:
    app: paymentservice
spec:
  replicas: 3
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 1
      maxSurge: 0
  selector:
    matchLabels:
      app: paymentservice
  template:
    metadata:
      labels:
        app: paymentservice
    spec:
      containers:
      - name: server
        image: sybertuk/hipster-paymentservice:v0.0.2
        ports:
          - containerPort: 50051
        env:
          - name: PORT
            value: "50051"
