General overview Flashcards
What is Kubernetes?
Kubernetes is an open-source container orchestration platform designed to automate the deployment, scaling, and management of containerized applications.
What are the key components of Kubernetes?
Key components include Pods, Nodes, Services, Deployments, ReplicaSets, and the Kubernetes API server.
What is a Pod in Kubernetes?
A Pod is the smallest deployable unit in Kubernetes, consisting of one or more containers that share resources such as storage and networking.
What is a Node in Kubernetes?
A Node is a physical or virtual machine that runs Kubernetes components and hosts Pods.
What is a Deployment in Kubernetes?
A Deployment manages the lifecycle of Pods, enabling declarative updates and rollbacks to application configurations.
What is a Service in Kubernetes?
A Service provides a consistent way to access and load balance traffic to a set of Pods.
What is a ReplicaSet in Kubernetes?
A ReplicaSet ensures that a specified number of Pod replicas are running at any given time, helping to maintain availability and scalability.
What is the role of the Kubernetes API server?
The Kubernetes API server exposes the Kubernetes API, which allows users to interact with Kubernetes clusters and manage resources.
How does Kubernetes handle scaling?
Kubernetes can scale applications horizontally by adding or removing Pod replicas based on resource utilization or custom metrics.
What is a Kubernetes namespace?
A Kubernetes namespace provides a way to logically divide cluster resources, enabling multiple users or teams to share a cluster while maintaining isolation.
What is a Kubernetes Controller?
A Kubernetes Controller is a control loop that watches the state of cluster resources and makes changes to bring the actual state closer to the desired state.
What is the purpose of Kubernetes labels and selectors?
Kubernetes labels are key-value pairs attached to objects, while selectors are used to identify a set of objects based on their labels. Labels and selectors are used for grouping, filtering, and selecting objects for operations.
What is a Kubernetes ConfigMap?
A ConfigMap is a Kubernetes resource used to store configuration data in key-value pairs, which can be consumed by Pods as environment variables or mounted as files.
What is a Kubernetes Secret?
A Secret is a Kubernetes resource used to store sensitive information, such as passwords, API keys, and certificates, in a secure manner.
What is a Kubernetes PersistentVolume (PV)?
A PersistentVolume (PV) is a piece of storage in the cluster that has been provisioned by an administrator. It is a resource in the cluster just like a node is a cluster resource.
What is a Kubernetes PersistentVolumeClaim (PVC)?
A PersistentVolumeClaim (PVC) is a request for storage by a user. It is similar to a Pod. Pods consume node resources and PVCs consume PV resources.