gke autopilot simulating 7 days upgrade pause
We will simulate 7 days upgrade delay for GKE Autopilot cluster. First we make a pdb that will prevent node upgrade. You can use the following command to do that. cat <<'EOF' | kubectl apply -f - apiVersion : apps/v1 kind : Deployment metadata : name : big spec : replicas : 2 selector : matchLabels : app : big template : metadata : labels : app : big spec : nodeSelector : cloud.google.com/compute-class : autopilot containers : - name : nginx image : nginx resources : requests : { cpu : "500m" , memory : 512Mi } limits : { cpu : "500m" , memory : 512Mi } --- apiVersion : policy/v1 kind : PodDisruptionBudget metadata ...