Funamentals Flashcards

1
Q

What is Kubernetes?

A

Open-source container orchestration platform that automates the deployment, scaling, and management of containerized apps - provides things like service discovery, load balancing, storage, rollouts/rollbacks, etc

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

What is a pod?

A

A pod is a Kubernetes object that serves as a higher level abstraction for managing a container or multiple containers.

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

What Kubernetes component is used to describe a pod?

A

Kubelet is the agent that runs on each node to describe a pod - does not manage the container itself but is focused on ensuring that the containers described in the podspecs are running and healthy

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

What is a deployment in Kubernetes?

A

A deployment is an object in Kubernetes that is responsible for managing the deployment of multiple pods and ensures a specified number of replica pods are running at any given time. Declarative way of managing the state of applications and ensure consistency across environments

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

What is a service in Kubernetes?

A

A service is an object in Kubernetes that is responsible for distributing traffic across different namespaces or pods and also provides service discovery.

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

What is a Kubernetes namespace?

A

Kubernetes object that provides a mechanism to isolate resources within a cluster across different teams or applications to share the same physical infrastructure based on logical grouping and enable role-based access control and resource quotas

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

What is Kubernetes controller?

A

Kubernetes object that is responsible for managing the desired state of a particular resource in your cluster by interacting with the cluster API server. Resonsible for managing the current state to get to the desired state (control loop)

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

What is a StatefulSet in Kubernetes?

A

Object that is responsible for managing the deployment of stateful applications like databases. Ensures that each instance has a stable and unique hostname, persistent storage, and ordered deployment and scaling.

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

What is a ConfigMap in Kubernetes?

A

Kubernetes object that provides a mechanism from decoupling configuration data from application code. This could be things like database connection strings

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

What is a secret in Kubernetes?

A

Object that is used to manage and store credentials or sensitive data. Encrypted at rest and can be mounted to your pods files or env variables

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

Difference between Daemonset and Deployment?

A

Daemonsets ensures a pod is running on all nodes in a cluster while a deployment manages the deployment of multiple pods and ensures a specified number of replica pods are running at any given time.

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

Describe the Ingress Object in Kubernetes

A

Provides communication to your internal

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