GCP Kubernets Flashcards

1
Q

I need to deploy containers to multiple regions, is it possible to create a GCP Kubernets cluster the spans regions?

A

No, when you are creating the Kubernetes cluster you have the option to create the cluster as regional or zonal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When creating the Kubernets cluster can I choose the node boot disk size?

A

Yes you can choose the boot disk size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When creating the Kubernets cluster can I choose the node boot disk type?

A

Yes you can choose the boot disk type (persistent standard disk or SSD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When creating a cluster what is Access scope?

A

Access scope is the level of access you have for GCP API’s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can kubernetes use GPU’s?

A

Yes 100%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are kubernetes pods?

A

Collection of containers?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Will Kubernetes Engine support rolling updates?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Is Kubernetes Engine a multi-zone cluster?

A

Yes, masters and nodes are spread across zones within a region.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Will Kubernetes Engine auto scale your application?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Will Kubernetes Engine load balance your incoming traffic?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Where can I store images?

A

Google Container Registry

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can I easily build images?

A

Google Container Builder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

With Google Container Builder, can i have custom build pipelines?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

By default where is a kubernetes cluster created?

A

In a zone, but we can opt for a regional cluster.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How are master and nodes distributed in the cluster?

A

Across all nodes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

For a regional cluster, what is the default number of node and masters?

A

3

17
Q

Can you convert a cluster from regional -> zonal or zonal -> regional?

A

No

18
Q

Can GKE autoscale?

A

Yes

19
Q

|With autoscaling turned on and where I have a single instance of an application, will I see disruption?

A

Yes, 100% your application will be stopped while it is recreated on a new node when an autoscaling event happens.

20
Q

What is Auto-repair?

A

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.,

21
Q

What is the command to resize a cluster?

A

gcloud container clusters resize [CLUSTER_NAME] –node-pool [POOL_NAME] \
–size [SIZE]

22
Q

How do we enable autoscaling on a cluster?

A

–enable-autoscaling –minnode 1 –max-node 10

23
Q

What are the primary services used with GKE?

A

-Cloud source repository
-Cloud container builder
-Cloud container repository
-Google Kubernetes Engine

24
Q

I have a single zone cluster with 3 nodes, what will happen when I add a new zone?

A

The new zone will have 3 new nodes created, givign a total of 6 nodes. The cluster size will increace to 6.

25
Q

I have a cluster with a single zone, how do I increace the cluster size using CLI?

A

gcloud container cluster resize mycluster –node-pool default-pool –size

26
Q

Is is possible to create a regional cluster?

A

Yes, where 3 masters , one in each xzone and 3 nodes per zone is created.

27
Q

Can I change the machine type on a an existing pool?

A

Ni, you have to create a new pool and migrate containers.

28
Q

Can I change the machine type on a an existing pool?

A

N0, you have to create a new pool and migrate containers.