GCP Kubernets Flashcards
I need to deploy containers to multiple regions, is it possible to create a GCP Kubernets cluster the spans regions?
No, when you are creating the Kubernetes cluster you have the option to create the cluster as regional or zonal.
When creating the Kubernets cluster can I choose the node boot disk size?
Yes you can choose the boot disk size
When creating the Kubernets cluster can I choose the node boot disk type?
Yes you can choose the boot disk type (persistent standard disk or SSD
When creating a cluster what is Access scope?
Access scope is the level of access you have for GCP API’s
Can kubernetes use GPU’s?
Yes 100%
What are kubernetes pods?
Collection of containers?
Will Kubernetes Engine support rolling updates?
Yes
Is Kubernetes Engine a multi-zone cluster?
Yes, masters and nodes are spread across zones within a region.
Will Kubernetes Engine auto scale your application?
Yes
Will Kubernetes Engine load balance your incoming traffic?
Yes
Where can I store images?
Google Container Registry
How can I easily build images?
Google Container Builder
With Google Container Builder, can i have custom build pipelines?
Yes
By default where is a kubernetes cluster created?
In a zone, but we can opt for a regional cluster.
How are master and nodes distributed in the cluster?
Across all nodes.
For a regional cluster, what is the default number of node and masters?
3
Can you convert a cluster from regional -> zonal or zonal -> regional?
No
Can GKE autoscale?
Yes
|With autoscaling turned on and where I have a single instance of an application, will I see disruption?
Yes, 100% your application will be stopped while it is recreated on a new node when an autoscaling event happens.
What is Auto-repair?
Google will do checks on the cluster nodes in your cluster and if the node is unavailable for an extended time, the node will be replaced. Checks are performed using the health status.,
What is the command to resize a cluster?
gcloud container clusters resize [CLUSTER_NAME] –node-pool [POOL_NAME] \
–size [SIZE]
How do we enable autoscaling on a cluster?
–enable-autoscaling –minnode 1 –max-node 10
What are the primary services used with GKE?
- Cloud source repository
- Cloud container builder
- Cloud container repository
- Google Kubernetes Engine
I have a single zone cluster with 3 nodes, what will happen when I add a new zone?
The new zone will have 3 new nodes created, givign a total of 6 nodes. The cluster size will increace to 6.
I have a cluster with a single zone, how do I increace the cluster size using CLI?
gcloud container cluster resize mycluster –node-pool default-pool –size
Is is possible to create a regional cluster?
Yes, where 3 masters , one in each xzone and 3 nodes per zone is created.
Can I change the machine type on a an existing pool?
Ni, you have to create a new pool and migrate containers.
Can I change the machine type on a an existing pool?
N0, you have to create a new pool and migrate containers.