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.kubernetes
Python library to manage Pod Security Policies (PSPs) in your GCP Kubernetes Engine cluster.kubernetes.client
module to create and apply PSPs to your cluster.google-cloud-container
Python library to enable Container Analysis vulnerability scanning for your GCP Kubernetes Engine cluster.google.cloud.container_v1
module to enable vulnerability scanning for the cluster’s node pool(s).