gke/BP/2023_005
Enable gateway resources through Gateway API.
Product: Google Kubernetes Engine
Rule class: BP - BP - Best practice, opinionated recommendation
Description
There is a possibility that healthcheckpolicies.networking.gke.io, gcpbackendpolicies.networking.gke.io, or gcpgatewaypolicies.networking.gke.io CRD are notpresent.
You can use the following filter to find matching log lines:
jsonPayload.message=~".*Please enable the gateway API for your cluster using gcloud: https://cloud.google.com/kubernetes-engine/docs/how-to/deploying-gateways#enable-gateway.*"
resource.type="k8s_cluster"
severity="WARNING"
Remediation
Kindly enable the Gateway API on new or existing GKE Autopilot and Standard clusters.
Further information
You may follow the steps in the below guide: