kubectl
command-line tool if not already installed.[CLUSTER_NAME]
, [NETWORK_POLICY_YAML_FILE]
, and [POD_SECURITY_POLICY_YAML_FILE]
with the actual values specific to your environment.
google-cloud-sdk
library to create a new Kubernetes Engine cluster programmatically.google.cloud.container_v1
module to create a new cluster with the desired configurations.google-cloud-sdk
library to manage Pod Security Policies (PSPs) in GCP Kubernetes Engine.google.cloud.container_v1
module to create or update PSPs.google-cloud-sdk
library to manage network policies in GCP Kubernetes Engine.google.cloud.container_v1
module to create or update network policies.