gke-statefulset-without-probes
GKE StatefulSet without readiness probes
Use this skill to find, verify, and propose fixes for StatefulSet workloads in
GKE clusters that are configured with a PodDisruptionBudget (PDB) but without
container readiness probes (readinessProbe), corresponding to the
PDB_STATEFULSET_WITHOUT_PROBES insight subtype.
As explained in the section
When GKE identifies workloads with vulnerability to disruption,
PDBs respect readiness probes when they look at which Pods can be counted as
healthy. Therefore, if a Pod covered by a PDB does not have a readiness probe
configured, the PDB has limited visibility into whether the Pod is healthy or is
just up and running. A Pod is considered healthy by a PDB when its Ready
condition is True (see the section
Healthiness of a Pod),
and a container without a readiness probe defaults to a Success readiness
state once started (see the section
Probe results).