Kubernetes Flashcards
(37 cards)
What is Kubernetes?
An open-source system for automating deployment, scaling, and management of containerized applications.
What is a Pod?
The smallest deployable unit in Kubernetes, which can contain one or more containers, storage resources, a unique network
IP, and options that govern how the container(s) should run.
What is a Node?
A physical or virtual machine in a Kubernetes cluster that runs pods.
What is the Master Node?
The control plane component that manages the cluster and its states.
What does kubectl do?
A command-line interface tool to interact with the Kubernetes API server.
What is etcd?
A key-value store used to store Kubernetes cluster configuration and state.
What is the Scheduler?
Assigns pods to available nodes based on resource availability.
What is the Controller Manager?
Manages various controllers that handle routine tasks.
What is the Kubelet?
agent handles the control plane’s instructions to run containers, reports back to API.
What is a Deployment?
a Deployment is a higher-level object that manages and automates the creation, update, and scaling of a group of identical Pods (your running containers).
What is a Service in Kubernetes?
An abstraction that defines a logical set of pods and a policy to access them.
allow us to create a unique, persistent IP address and domain
name for a deployment.
What is a Namespace?
A way to divide Kubernetes cluster resources into distinct virtual clusters, providing isolation.
What is a ConfigMap?
A way to inject configuration data into pods.
What is a Secret?
Similar to ConfigMap but used for storing sensitive data like passwords or keys.
What is a Volume?
A storage mechanism used to persist data across pod restarts.
What is an Ingress?
Manages external access to services, typically HTTP.
What is a NetworkPolicy?
Defines rules to control traffic between pods.
What is a StatefulSet?
Manages deployment and scaling of stateful applications.
What is the Horizontal Pod Autoscaler (HPA)?
Automatically adjusts the number of pods in a deployment based on metrics.
What are Taints and Tolerations?
Mechanisms to prevent or allow pods from being scheduled on specific nodes.
What is Affinity/Anti-Affinity?
Rules to influence pod placement in a cluster based on pod/node attributes.
What is Helm?
A package manager that helps manage Kubernetes applications using charts.
What does ‘expose’ mean in kubernetes?
make a pod or deployment reachable via a Kubernetes Service
or Create a Service that allows other components (internal or external)
What is an avaliability zone?
geographic locations hosting data centres, physically separated with different power grids to reduce single points of failure, and typically interconnected with high-bandwidth networking