WHAT IS KUBERNETES Flashcards
What is Kubernetes?
Kubernetes is an open-source container orchestrator that manages container-based applications based on the requirements of the administrator or developer.
List the key functionalities Kubernetes offers for managed containerised apps
●Deployment:
●Scaling
●Workload Placement
●Infrastructure Abstraction
●Desired State Management
Kubernetes offers several key functionalities for managing containerized applications:
What does Kubernetes manage in terms of deployment?
Kubernetes manages the deployment of pods, determining how and where they are deployed within the cluster.
Kubernetes offers several key functionalities for managing containerized applications:
How does Kubernetes handle scaling?
Kubernetes can automatically scale applications by adding or removing pod replicas based on resource utilization or other metrics. This allows applications to handle varying workloads and maintain performance.
Kubernetes offers several key functionalities for managing containerized applications:
What is workload placement in Kubernetes?
Kubernetes determines which nodes pods should be deployed to based on factors like resource requirements and co-residency constraints.
Kubernetes offers several key functionalities for managing containerized applications:
What are infrastructure abstractions in Kubernetes?
Kubernetes provides abstractions for underlying infrastructure, simplifying the management of storage, networking, and workload placement
Kubernetes offers several key functionalities for managing containerized applications:
What is desired state management in Kubernetes?
Kubernetes ensures the system’s actual state matches the desired state defined in code. Controllers constantly monitor the system and take corrective actions to maintain the desired configuration.
List the benefits Kubernetes offers for managing containerised applications:
●Speed of Deployment
●Adaptability and Resilience:
●Load Balancing
●Infrastructure Complexity Hiding
●Horizontal Scaling
●High Availability
What benefit does Kubernetes provide for the deployment of containerized applications?
Speed of Deployment: Kubernetes enables rapid deployment of containerized applications.
What benefit does Kubernetes provide towards adaptability and resilience?
Kubernetes allows for quick absorption of changes and auto-healing by replacing failed pods, ensuring applications can recover quickly from failures
How is load balancing a benefit in Kubernetes?
Kubernetes provides load-balancing capabilities to distribute incoming traffic efficiently across application instances, enhancing performance and availability.
How is Infrastructure Complexity Hiding a benefit in Kubernetes?
Kubernetes simplifies the management of complex infrastructure by handling storage, network configuration, and workload placement.
How is horizontal scaling a benefit for Kubernetes?
Kubernetes supports both manual and automatic horizontal scaling, enabling applications to adapt to changing demands by adding or removing worker nodes.
How is Infrastructure Complexity Hiding a benefit in Kubernetes?
Kubernetes ensures high availability by replicating pods to multiple cluster nodes, eliminating downtime due to pod or node failures.
What does the Kubernetes API provide and what are API objects?
The Kubernetes API provides a collection of objects that can be used to build and define systems for deployment in code.
These objects, known as API objects, represent the system’s state and allow the configuration of this state both declaratively and imperatively
What is the difference between declarative and imperative configuration?
Declarative configuration means describing the desired deployment, while imperative configuration involves executing a sequence of commands to achieve the desired state
The Kubernetes API is implemented and available via the API Server
What is the role of the Kubernetes API Server?
The API Server is the central hub for information in a Kubernetes cluster.
It is the sole way users can interact with clusters, and it’s also how Kubernetes interacts with the cluster.
The API Server is a RESTful API over HTTP/S using JSON2. When the API server receives commands, that information is serialized and persisted into a cluster data store.
Administrators and developers interact with Kubernetes through the API Server to deploy and manage workloads. The API Server is also where Kubernetes cluster components interact to understand the system’s current state and make changes as needed to ensure the desired state.