kind: Deployment
apiVersion: apps/v1
metadata:
  name: nginx-dp-rl
spec:
  selector:
    matchLabels:
      app: nginx
  replicas: 5
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 2
      maxUnavailable: 1
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        #image: mario21ic/nginx:alpine
        image: mario21ic/nginx:alpinev2
      #tolerations:
      #- key: "node.kubernetes.io/not-ready"
      #  operator: "Exists"
      #  effect: "NoSchedule"
