apiVersion: apps/v1
kind: Deployment
metadata:
    name: paymentservice
    labels:
        app: paymentservice
spec:
    replicas: 3
    strategy:
        rollingUpdate:
          maxSurge: 1
          maxUnavailable: 1
    selector:
        matchLabels:
            tier: paymentservice
    template:
        metadata:
            labels:
                app: paymentservice
                tier: paymentservice
        spec:
            containers:
            - name: server
              image: kystkysto/paymentservice:v0.0.1