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 enable cluster autoscaling for an existing Kubernetes Engine cluster.google.cloud.container_v1
module to update the cluster’s autoscaling settings.kubernetes
library to create and apply Pod Security Policies (PSPs) to your Kubernetes Engine cluster.kubernetes.client
module to define the desired PSPs.