Remediation
From Google Cloud Consoleโ
- Go to Kubernetes GCP Console by visiting https://console.cloud.google.com/kubernetes/list?
- Select Kubernetes clusters for which Network policy is disabled
- Click on EDIT button and Set
Network policy for masterandNetwork policy for nodestoEnabledunder Cluster section
From Google Cloud CLIโ
To enable Network policy for an existing cluster, run the following command:
```sh
gcloud container clusters update [CLUSTER_NAME] --zone [COMPUTE_ZONE] --enable-network-policy
```