Creating the Control Plane
Explore the process of creating a Google Kubernetes Engine control plane with Terraform. Learn to manage default node pools, enable necessary APIs, and select valid Kubernetes versions to configure your cluster effectively.
We'll cover the following...
GKE cluster specifications
Now we have all the prerequisites. The provider is set to Google, and we have the backend (for the state) pointing to the bucket. We can turn our attention to the GKE cluster itself.
A Kubernetes cluster almost always consists of a control plane and one or more pools of worker nodes. In the case of GKE, those two are separate types of resources. We’ll start with the control plane and move toward worker nodes later.
We can use the google_container_cluster module to create a GKE control plane.
Viewing the control plane file
Let’s look at the contents of the ... ...