Google Kubernetes Engine Flashcards

1
Q

Google Kubernetes Engine (GKE)

A

Managed Kubernetes service

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

GKE Cluster :

A

Group of Compute Engine instances:
1. Master Node(s) - Manages the cluster
2. Worker Node(s) - Run your workloads (pods)

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

Master Node (Control plane) components :

A
  1. API Server - Handles all communication for a K8S cluster (from nodes and outside)
  2. Scheduler - Decides placement of pods
  3. Control Manager - Manages deployments & replicasets
  4. etcd - Distributed database storing the cluster state
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Worker Node components :

A

Runs your pods
–> Kubelet - Manages communication with master
node(s)

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

Kubernetes - Pods

A

Smallest deployable unit in Kubernetes

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

A deployment is created for each microservice:

A

–> Deployment represents a microservice (with all its releases)
–> Deployment manages new releases ensuring zero downtime

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

Replica set

A

ensures that a specific number of pods are
running for a specific microservice version

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

ClusterIP:

A

Exposes Service on a cluster-internal IP
–> Use case: You want your microservice only to be available inside the cluster (Intra cluster communication)

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

LoadBalancer:

A

Exposes Service externally using a cloud provider’s load balancer

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

NodePort:

A

Exposes Service on each Node’s IP at a static port (the NodePort)

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

StatefulSet -

A

Set of Pods with unique, persistent identities and stable hostnames

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

DaemonSet -

A

One pod on every node! (for background services)

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