apiVersion: apps/v1
kind: Deployment

metadata:
  name: paymentservice  
  labels:
    app: paymentservice


spec:
  selector:
    matchLabels:
      app: paymentservice
  replicas: 3
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 0      
      maxUnavailable: 1 
  template:
    metadata:
      labels:
        app: paymentservice
    spec:
      containers:
        - name: paymentservice
          image: avasiliev/paymentservice:1.0
          