apiVersion: apps/v1
kind: Deployment
metadata:
  name: gke-infra-provider
spec:
  template:
    spec:
      containers:
        - name: gke-provider
          livenessProbe:
            httpGet:
              path: /healthz
              port: 8081
            initialDelaySeconds: 3
            failureThreshold: 2
            periodSeconds: 3
          readinessProbe:
            httpGet:
              path: /readyz
              port: 8081
            initialDelaySeconds: 3
            failureThreshold: 2
            periodSeconds: 3
          startupProbe: # Allow process to have a maximum of failureThreshold * periodSeconds (1min) to finish its startup
            httpGet:
              path: /healthz
              port: 8081
            failureThreshold: 20
            periodSeconds: 3
