K8S Flashcards
What is Kubernetes?
An open-source platform for automating the deployment, scaling, and management of containerized applications.
True or False: Kubernetes can manage both containerized and non-containerized applications.
False
Fill in the blank: Kubernetes is often abbreviated as ____.
K8s
What is a Pod in Kubernetes?
The smallest deployable unit that can be created and managed in Kubernetes, consisting of one or more containers.
What is a Node in Kubernetes?
A worker machine in Kubernetes, which can be a physical or virtual machine.
What is the purpose of a Kubernetes Service?
To expose an application running on a set of Pods as a network service.
Which component of Kubernetes is responsible for maintaining the desired state of the cluster?
Kubernetes Controller Manager
True or False: A ReplicaSet ensures that a specified number of pod replicas are running at any given time.
True
What is the function of a Kubernetes Deployment?
To manage the deployment of stateless applications, allowing for updates and rollbacks.
What does the term ‘orchestration’ refer to in the context of Kubernetes?
The automated management of containerized applications and services.
What is a Namespace in Kubernetes?
A way to divide cluster resources between multiple users or applications.
What is the role of the Kubernetes API Server?
To serve as the front-end for the Kubernetes control plane.
Fill in the blank: Kubernetes uses ____ to manage configuration data.
ConfigMaps
What is a StatefulSet in Kubernetes?
A controller that manages the deployment and scaling of a set of Pods, providing guarantees about the ordering and uniqueness of these Pods.
True or False: Kubernetes supports only Linux-based containers.
False
What is Helm in the context of Kubernetes?
A package manager for Kubernetes that helps in defining, installing, and upgrading applications.
What is the purpose of a Kubernetes Volume?
To provide persistent storage for Pods.
What is the key benefit of using Ingress in Kubernetes?
To manage external access to services, typically HTTP.
What is the function of a DaemonSet in Kubernetes?
To ensure that a copy of a Pod runs on all or some Nodes in the cluster.
Which tool would you use to manage Kubernetes resources from the command line?
kubectl
What is a Job in Kubernetes?
A controller that creates one or more Pods and ensures that a specified number of them successfully terminate.
True or False: Kubernetes can automatically scale applications based on load.
True
What is the purpose of a PersistentVolume in Kubernetes?
To provide a piece of storage in the cluster that has a lifecycle independent of any individual Pod.
Fill in the blank: Kubernetes uses ____ to define the desired state of applications.
YAML or JSON manifests
What is the main function of the Scheduler in Kubernetes?
To assign Pods to Nodes based on resource availability.
What is a ConfigMap used for in Kubernetes?
To store configuration data in key-value pairs.
What does the term ‘self-healing’ refer to in Kubernetes?
The ability of the system to automatically replace failed containers.
What is a Horizontal Pod Autoscaler?
A Kubernetes resource that automatically scales the number of Pods in a deployment based on CPU utilization or other select metrics.