GKE 2 Flashcards
What is GKE?
GKE is a managed Kubernetes solution offered by GCP.
At a high level, what is the billing structure difference between GKE Standard and GKE Autopilot?
GKE Standard charges for all resources on nodes, regardless of Pod requests.
GKE Autopilot charges for only the resources Pods request. In most situations, you only pay for the CPU, memory, and storage that your workloads request while running on GKE Autopilot. You aren’t billed for unused capacity on your nodes, because GKE manages the nodes. Exceptions to this model apply when you run Pods on specific compute classes that let Pods use the full resource capacity of the node virtual machine (VM).
When using GKE, are you responsible for managing the Control Plane and all of the system components that make up the Control Plane?
No. You are not responsible for managing the Control Plane or any of the system components that make up the Control Plane.
Is it possible to convert from GKE Standard to GKE Autopilot after creation?
No
What is “bin-packing”?
Bin-packing is the practice of placing as many Pods as possible onto each Kubernetes node to avoid wasting capacity. Because of the way GKE Autopilot is billed, this practice is not necessary. However, when using GKE Standard, this is a common practice.
resources:, which specifies the amount of computing resources that are available to each Pod.
If the load on your app surpasses the configured compute resources, the horizontal autoscaling Service automatically replicates Pods to handle the increased load. Autopilot mode enables this autoscaling Service by default.
Is GKE Autopilot regional or zonal?
Only regional. However, GKE Standard can be regional or zonal.
From the following:
Zonal clusters
Multi-zonal clusters
Regional clusters
Which one has multiple Control Plane replicas?
Regional clusters are the only ones that support Control Plane replicas across multiple zones.
What is a Node Pool?
A Node Pool is a group of nodes within a cluster that have the same configuration. Every cluster has at least 1 Node Pool. In fact, when a cluster is created a “default” Node Pool is created.
Google recommends that you use Google Cloud’s Managed Service for Prometheus to monitor your Kubernetes applications and infrastructure
Which OS is used for GKE Autopilot nodes? What about GKE Standard?
GKE Autopilot nodes use Container-optimizes OS. When using GKE Standard, you decide which OS your nodes use.
Which Kubernetes component is responsible for running containers in a Pod?
Kubelet
you are charged for node-to-node traffic across zones. For example, if a workload running in one zone needs to communicate with a workload in a different zone, the cross-zone traffic incurs cost.
When you create an Autopilot cluster with public networking, workloads in the cluster can communicate with each other and with the internet.
In Kubernetes, does every Pod get its own unique cluster-wide IP address?
Yes. This allows a Pod to communicate with any other Pod in any other node within the cluster.