2026-09-06 14:04
Status:
Tags: IBM IBM Full Stack Software Developer Professional Certificate IBM - Introduction to Containers with Docker, Kubernetes & OpenShift Docker Kubernetes OpenShift Virtual Machines The Cloud DevOps Deployment
CDKO - Module 2 - Kubernetes Basics
==Kubernetes Basics
-
Container Orchestration:
-
Basically, as you start out there is only one real container you might have to work with. But, as your application expands, or you have more apps to deploy and scale, then the actual amount of containers that you end up having scales up just as much
-
This means that eventually you have way too many containers in order to be able to handle, and a lot of them interconnect as well
-
Container Orchestration- is a process that automates the container lifecycle of containerized applications
-
This includes the entire container lifecycle going from deployment, management, scaling, networking, & avaliablity
-
This is necessary in really large application environments where you can have thousands of different containers
-
It makes things way less complicated and really abstracts out a lot of the manual work that comes with containerization
-
It also really helps keep things fast, agile, and efficient, easily allowing for integration with a CI/CD pipeline
-
Really critical part of SOAR or (Security, Orchestration, Automation, and Response) requirements for a given organization
-
Container Orchestration Features
- Defines container images and what registry they go to automatically, i assume it can push and pull them automatically as well
- Improves provisioning and deployment by making the process more automatic, allowing for new provision to be dynamic when needed as well
- Secures network connectivity by isolation of containers and up-keeping
- Ensures container reliability, making sure that your application is reliably accessible at all tomes
- Has load balancing features for resource allocation and upscale whenever it would need to occur
- Has automatic rollback and updates whenever you would need, in tandem to regular health checks and automatic error handling
-
How Does it Work?
- Basically, you have configuration files written in
YAML or JSONfor each container so it can Find Resources, Establish a network, or store logs - Deployment Scheduling allows for automatic deployment of a new container, which also finds the right host based on the configuration file or other settings/restrictions
- Managing of Lifecycle- configure files specs inform certain container decisions, including things like system paremeters (how much ram and cpu it can take up), and how much file metadata it can store and things like that
- Scaling- automatically is able to scale in tandem to that deployment automation as well
- Basically, you have configuration files written in
-
-
Common cluster manage tools include
Marathon, Nomad, Docker Swarm, Kubernetes
-
-
Introduction to Kubernetes:
- Kubernetes (K 8 s) is an open-source system for automating deployment, scaling, and management of containerized applications
- Developed as a project by Google, it is an easily portable containerization orchestration platform for different platforms
- It has a large amount of popularity and support due to the increase in support for the containerization method of deployment
- It has a good amount of add-ons and support
- It is not a traditional PaaS, and it is not rigid or opinionated, but a flexible model that supports diverse workloads and containerized applications like state, stateless, and more
- It does not provide CI/CD pipelines for deployment, but can be integrated into one
- It does not have given logging, monitoring, or altering solutions, but you can do so with extra third party tools
- It also does not provide built-in middleware or databases, but once again, all can be done with third-party code
- Pods are the smallest deploy-able compute object, they run workloads
- Services expose applications running on sets of pods, with each pod being assigned a unique IP address, and a set of Pods has a single DNS name
- Everything else is basically in the table
- Kubernetes Capabilities:
- Automated roll-outs and callbacks to application or configuration, including things like monitoring application health and ensuring that instances are running
- Also Allowing for the rollback of different changes
- Storage Orchestration with automatically mounts your chosen storage system whether from local, network, or cloud storage
- This also allows for scaling based on things like commands or monitored metrics
- Automated Bin Packing- which increases resource utilization and cost saving by having a mix of critical and best-effort workloads
- It performs container auto-placement based on resource requirements and conditions
- Secret and configuration Management- stores and manages sensitive information (like credentials, keys, or tokens) securely, handling things like updates to secret data without rebuilding entire images
- IPv 6/IPv 4 dual stacking allows for the ability to assign both address types to given pods and services
- Batch Execution- manages batch and continuous integration workloads, and replaces a failed container if it is configured to do so
- Self Healing- restarts, replaces, reschedules, and kills failing or unresponsive containers, it also exposes containers to clients only if the container is healthy and running
- Service Discovery and Load Balancing- Kubernetes can discover pods using their own IP address or a single DNS name
- It also has the ability to perform load balancing measures across Pods for better performance and availability to users
- Designed for extensibility basically kubernetes was made to allow you to also provide additional features to a given cluster without any source code modifications on your code
- So if you want to add in any of the above mentioned features, you can do so very easily
- Kubernetes Ecosystem- basically the entire foundation that provides built-in features as well as third party tools for the Kubernetes tool, including things like building container images, storing images in a container registry, application logging and monitoring, and CI/CD capablitites
- Basically a whole bunch of different providers (as seen above) that provide all of these kinds of tools and add-ons to kubernetes in whatever system ecosystem that you basically try and set up using kubernetes
-
Kubernetes Architecture:
- A deployment of kubernetes is called a Kubernetes Cluster
- This is a cluster of nodes that runs containerized applications
- Each cluster has one master node also known as the kubernetes control plane and one or more worker nodes
- The control plane maintains the intended cluster state by basically making decisions above the given cluster based on the configuration files
- It maintains and changes the structure of the cluster based on events that happen within it
- Think of it as a thermostat it regulates the cluster to the general status that it should be generally comfortable at
- It can do things like schedule workloads, and then create new nodes whenever an application is deployed as an example to a response
- Every single application is basically run on nodes inside of kubernetes
- So you have a single master/controller node which then oversees a bunch of different worker nodes, which hold a bunch of different pods, which then in turn hold a bunch of different docker containers or something of the sort
- Nodes themselves are not created by kubernetes itself, but actually created by the cloud provider
- This lets kubernetes to run on a lot of different infrastructure set ups
- INSIDE THE KUBERNETES CONTROL PLANE:
- On the Kubernetes API server, basically where you might connect to in order to manage all of your different nodes and ports and what not
- You essentially communicate with this thing either remotely or locally based on your set up, and what it does is expose the Kubernetes API, sort of serving as the front-end for the Kubernetes control plane
- Therefore because of this ALL communication in the cluster uses this API
- The actual server itself because it changes the control plane, it does so with commands that are used to view or change the cluster
- The main and most popular way to expose this API is using the
kube-api-server, which is designed to scale horizontally, and you can actually run multiple instances of Kube and run a bunch of different load balancing items between them - ETCD is a highly available distributed key-value store that contains all of the data on your cluster
- Whenever you actually go ahead and tell kubernetes to set up and sort of start out your deployment of an application, the actual configuration files, the meta data, and the desired state of your application will be stored here
- It seems to get actually accessed by the API and then talks with the other things like the controller in order to make sure the state is all good
- The Kubernetes Scheduler assigns newly created Pods to nodes, and lets you determine WHERE your workload should run inside of the cluster
- It would select the most optimal node according to kubernetes scheduling, config options, and avaliable resources
- This one was mentioned a bit above, and basically runs all of the actual controller processes that monitor the inner cluster state
- It ensures that the real state of the cluster matches the thing that is desired, it would do something like communicate with the API to then query the ETCD, and then get information back on how to change the state so the desired state is achieved
- The Cloud-Controller Manager runs the controllers which actually interact with the underlying cloud providers that are hosting the workspace for your pods and nodes
- These are used to link clusters in a cloud provider’s API, and since it is an open source software, they generally tend to not focus on providing support for only a single cloud provider, but multiple of them
- If the controller plane is like the head, nodes are basically kind of like the body, they are the things that get managed by the controller, and actually hold all of the pods and the inner lying containers as well
- User Applications are run Nodes
- Each code can be it’s own virtual machine, or it can even be it’s own real life machine.
- In essence, this also points to kubernetes being this kind of situation where you have a larger software that oversees a bunch of different VMs, which is basically done using the Controller Plane, with each one of these Nodes being a separate VM that communicates with the Controller Plane server via the Kube API
- This is also where I would assume needed things like the dependencies for all of this communication exists, the actual application dependencies exist inside of docker and what not, with docker files and the whole shabang
- However, there is also then a bunch of smaller items in tandem that exist in the images of the docker containers (although this seems to have been phased out in favor of things like
containerd) even though it still does work with docker images, and can still use some basic docker features - Kubelet is basically the MOST IMPORTANT portion of a given kubernetes worker node
- It is the thing that communicates with the Kube-API-Server in order to recieve new pod specifications and actually ensure that everything is up to snuff in the container
- It reports other things like the control and status as well
- In order to start a pod it uses the containers runtime, which is responsible for downloading images and running containers
- Lastly, the Kubernetes Proxy is basically a network proxy that runs on each node inside of the kubernetes cluster
- It communicates with other nodes and maintains network rules, basically the thing that connects this given cluster to the network for communication
-
Kubernetes Objects - Part 1:
-
Objects are something that has state, identity, and behavior, and in software, this is a bundle of data that has an identity, a state, and a behavior as well
-
This can be things like variables, functions, data structures, etc
-
Kubernetes Objects are objects that are persistent, meaning that they last continuously even if something was to go wrong
-
The list of Kubernetes objects includes Pods, Namesapces, Deployments, replicaSets, and more
-
These Objects have TWO main fields, *Object Spec & Object Status
-
The former is provided by the user, and defines the desired state of the object that they would like, things like ram, open ports, cpu draw, all of that good stuff
-
The ladder is then provided by kubernetes itself, and is the actual condition of the given Kubernetes Object in that given moment
-
The goal is to have the object status be as close to the object spec as possible, and this is done using the Kubernetes API
-
The API communicates with the client libraries to make changes to a given object in order to try and achieve the desired state of said object, this can also be done using the
kubectlCLI interface -
Labels & Sectors- Are intended for the identification of a given object, it does not uniquely identify a single object like an ID might or something like that, but is more so used as a category of an object
-
Which is obviously then very good as a means of categorizing and grouping objects
-
Label Selectors are the core grouping method in Kubernetes, and allow you to identify and group a set of objects
-
They are key-value pairs attached to objects
-
-
Namespaces & Names provide a mechanism for isolating groups of resources within a single cluster
-
This is very good for things like segregating a cluster by a team, a project, or other such items inside of a larger network
-
Its really create for singling out a group of containers as a means of working on a separate project, and is super useful for working with a LARGE number of containers/users
-
Namespaces aim to provide a scope for object names, and each object within them must have a unique name
-
-
Pods are the simplest unit of understanding and holding inside of Kubernetes as a whole
-
They represent a process or instance running inside of your cluster/workspace, and usually wraps one or more containers running inside of itself
-
You can actually also scale pods horizontally by having them replicate themselves in a given workspace or in another workspace, this gives redundancy against failure, and allows for more traffic to be handled in a given service
-
The above hand
pod specmust container AT LEAST ONE CONTAINER, meaning you can never have empty Pods -
Inside of the given spec, you also can specify multiple containers and in essence it looks like this is some sort of a
DockerFilein which you specify everything for each container, including a custom name you would like for each one -
-
ReplicaSet is basically a set of horizontally scaled running pods this can also be specified inside of the configuration file as show above
-
You essentially specify that you want this workspace object to be a ReplicaSet, giving it it’s own tags and metadata
-
In tandem then, you basically specify the number of replicas and their template and own spec data inside of the main replica spec
-
This basically allows you to scale out the exact same containers horizontally by just specifying the number of running pods you wish to have
-
This also allows you to scale out how many pods you want, with them dynamically increasing or decreasing based on need
-
It does need to be noted though, that creation of Pods directly is not recommended, and instead it should be encapsulated by Deployment
-
-
A Deployment is basically a higher level object that provides, updates for Pods and ReplicaSets
-
It does things like run the actual replicas of different Pods as provided by the Replica-sets, and gives you extra added managibility based on these Replica Sets
-
These are super good for stateless applications, where in which the data can generally be dynamic, however for stateful applications, stateful sets should be used
-
-
Kubernetes Objects - Part 2:
-
-
A Service is a REST object, similar to how a Pod is one too, they are a logical abstraction for a set of Pods in a cluster, and provide policies for accessing the Pods and the cluster
-
They are basically a load balancer across the Pods
-
Each one is assigned a unique IP address for accessing applications deployed on the Pods
-
Basically, these eliminate the need for a separate process to manage the pods
-
These seem to really handle the WiFi aspect of things, with support for things like TCP, UDP, and other application layer methods which they send out to ports
-
They can support multiple port definitions, however the port number with the same name can vary in each backend Pod
-
They can have an optional selector
-
They can also occasionally redirect traffic from incoming ports over to a target port
-
Why is a Service Needed?
-
They are needed because the number of pods in a cluster or workspace is volatile, and can go up or down at anytime
-
This basically means that IP addresses for Pods change ALL THE TIME, so it can be hard to keep incoming traffic to a certain Pod
-
Therefore, the service keeps track of the changes and exposes a SINGLE IP address or DNS name for the entire cluster of pods
-
You can sort of think of it like something similar to a router, or a switch/hub whenever it comes to networking
-
Doing so then basically allows it use selectors to target a specific set of Pods
-
FOUR types of Services
- Cluster IP- This is the default service that is the most common and it basically only works per a single cluster type.
- The service exists only inside of the given cluster because it has an cluster-internal IP
- This also then makes it so it CANNOT make requests to Service Pods from Outside it’s own given cluster
- It does provide inter-service communication within your cluster, so that means if you have a back-end and front-end in the same cluster, it can facilitate communication between the two
- NodePort- This one is basically an Add-On to the one above, and what it does is create and routes the incoming requests automatically to the ClusterIP service, so it doesn’t have to do the work itself
- This exposes the service one each node meaning that it is open to other clusters, but also therefore everything else, and so this is not the most secure thing either
- LoadBalancer- this is basically an extension of the NodePort service, which adds in the load balancing feature that the spoken of was missing
- It basically creates NodePort and ClusterIP services automatically
- It is very good because it integrates and automatically directs traffic to the NodePort Service
- Although to expose the service to the internet, you need a new LoadBalancer with an IP address, which makes it safer
- External name- this maps to a DNS name, and not to a given selection, which makes it a bit different than all of the other ones
- it maps the service to the contents of the
externalNamefield that returns a CNAME record and it’s value - You can use this service to create something that represents an external storage and enables Pods from different namespaces to communicate
-
-
Ingress Objects are API objects that (when in combination with a contoller) provide routing rules to manage external users’ access to multiple services in a Kubernetes Cluster
-
This increases things like security and authorization/authentication of users, letting you manage what a given user sees
-
In production, the common port Ingress exposes is 80, as is standard for HTTP or 443 for HTTPS
-
-
Daemon Set is an object that makes sure a Node runs a copy of a Pod
-
This exists because as Nodes are added to the cluster, Pods are added into the Nodes, which are garbage collected when removed from a cluster
-
Therefore, if you delete a daemonSet, all Pods are removed
-
This makes them create for things like storage, logs, or monitoring
-
-
StatefulSet is an object that manages stateful applications (it was mentioned above somewhere), and it manages the deployment and scaling of those stateful Pods
-
It maintains a sticky identity for each of your pods, and provides a persistent storage volumes for your workload
-
-
Job is an object that tracks pods and tracks the Pod completion Process, they are retired until they are completed, and deleting a Job will remove the Pods that it creates
-
It can run several Pods in parallel, and is good for maintaining the Pods basically
-
-
Using Kubectl:
-
Kubectl is the Kubernetes Command Line interface for the CLI, and stands for Kube Command Tool Line
-
It is good for deployment of applications, inspecting and managing cluster resources, view logs, and more
-
THREE COMMAND TYPES
- Imperative Commands
- Imperative Object Configuration
- Declarative Object Configuration
-
Structure
kubectl [command] [type] [name] [flags] -
Command is the operation to be performed, so things like
create, get, apply, delete, and others -
Type is the resource type, so something like a
pod, deployment, replicaset, etc -
Name is the resource name, if it is applicable to that resource
-
Flags are the special options or modifiers that override the default values for that object
-
Imperative Commands
create, update, and delete live objects directly -
They are the easiest to learn, and the operations of them are specified via arguments or flags
-
An example of one includes
kubectl run nginx --image nginx -
This here specifies a pod name and a container image
-
The issue with them is they are not flexible, and do not audit changes or give logs
-
They are very useful for things like test environments
-
-
Imperative Object Configuration the kubectl command specifies required operations, optional flags, and at least ONE file name
-
The configuration file must contain a fill definition of the object in either YAML or JSON format
-
To then create a given object using this command, you can run something like
kubectl create -f nginx.yaml -
This would then basically create the object that is specified inside of
nginx.yaml -
Configuration templates help replication identical results between different users or instances of the command being run
-
IDEAL METHOD FOR PRODUCTION SYSTEMS
-
Declarative Object Configuration basically defining the state you wish for an object inside of a shared configuration file
-
Then, whenever you deploy, Kubernetes itself determines the necessary operations
-
This basically stores configuration data inside of files, which means that operations are identified by Kubectl, and not the user
-
This would work on entire directories, or specific files, so something like
kubectl apply -f nginx/ -
Mentions a directory, and then applies the configuration process to ALL of the files inside of that directory, so you do not need to keep rerunning commands all the time
-
-
Ingress Objects vs Ingress Controller:
| Feature | Ingress Objects | Ingress Controllers |
|---|---|---|
| Definition | API object managing external access to services | Cluster resource implementing rules specified by Ingress |
| Primary Function | Regulates external access routing | Implements rules, fulfilling the Ingress |
| Configuration Source | Rules defined on the Ingress resource | Reads and processes information from the Ingress object |
| Traffic Handling | Manages HTTP and HTTPS routes | Utilizes load balancer, configures frontends for traffic |
| Activation | Active upon configuration with Ingress resource | Must be explicitly running for Ingress to function |
| Handling Protocols | Focused on HTTP and HTTPS | Implements rules for various protocols and ports |
| Automatic Startup | Activated with configuration | Requires explicit activation in the cluster |
| Analogy | Traffic rule set for the cluster | Executor, similar to Nginx instance handling rules |
==Summary
- Container orchestration automates the container lifecycle resulting in faster deployments, reduced errors, higher availability, and more robust security.
- Kubernetes Is a highly portable, horizontally scalable, open-source container orchestration system with automated deployment and simplified management capabilities.
- Kubernetes architecture consists of a control plane and one or more worker planes.
- A control plane includes controllers, an API server, a scheduler, and an etcd.
- A worker plane includes nodes, a kubelet, container runtime, and kube-proxy.
- Kubernetes objects include Namespaces, Pods, ReplicaSets, Deployments, and Services.
- Namespaces help in isolating groups of resources within a single cluster.
- Pods represent a process or an instance of an app running in the cluster.
- ReplicaSets create and manage horizontally scaled running Pods.
- Deployments provide updates for Pods and ReplicaSets.
- A service in Kubernetes is a REST object that provides policies for accessing the pods and cluster.
- Kubernetes capabilities include automated rollouts and rollbacks, storage orchestration, horizontal scaling, automated bin packing, secret and configuration management, Ipv4/Ipv6 dual-stack support, batch execution, self-healing, service discovery, load balancing, and extensible design.
- Services in Kubernetes are REST objects that provide policies for accessing the pods and cluster. ClusterIP provides Inter-service communication within the cluster; a NodePort Service creates and routes the incoming requests automatically to the ClusterIP Service; the External Load Balancer, or ELB, creates NodePort and ClusterIP Services automatically and External Name service represents external storage as well as enables Pods from different namespaces to talk to each other.
- Ingress is an API object that provides routing rules to manage external users’ access to multiple services in a Kubernetes cluster; whereas using a DaemonSet ensures that there is at least one copy of the pod on all nodes; a StatefulSet manages stateful applications, manages Pod deployment and scaling, maintains a sticky identity for each Pod request and provides persistent storage volumes for your workloads and lastly a Job creates pods and tracks the Pod completion process; Jobs are retried until completed.
==Cheat Sheet
| Command | Description |
|---|---|
| for …do | Runs a for command multiple times as specified. |
| kubectl apply | Applies a configuration to a resource. |
| kubectl config get-clusters | Displays clusters defined in the kubeconfig. |
| kubectl config get-contexts | Displays the current context. |
| kubectl create | Creates a resource. |
| kubectl delete | Deletes resources. |
| kubectl describe | Shows details of a resource or group of resources. |
| kubectl expose | Exposes a resource to the internet as a Kubernetes service. |
| kubectl get | Displays resources. |
| kubectl get pods | Lists all the Pods. |
| kubectl get pods -o wide | Lists all the Pods with details. |
| kubectl get deployments | Lists the deployments created. |
| kubectl get services | Lists the services created. |
| kubectl proxy | Creates a proxy server between a localhost and the Kubernetes API server. |
| kubectl run | Creates and runs a particular image in a pod. |
| kubectl version | Prints the client and server version information. |
==Glossary
| Term | Definition |
|---|---|
| Automated bin packing | Increases resource utilization and cost savings using a mix of critical and best-effort workloads. |
| Batch execution | Manages batch and continuous integration workloads and automatically replaces failed containers, if configured. |
| Cloud Controller Manager | A Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider’s API, and separates out the components that interact with that cloud platform from components that only interact with your cluster. |
| Cluster | A set of worker machines, called nodes, that run containerized applications. Every cluster has at least one worker node. |
| Container Orchestration | Container orchestration is a process that automates the container lifecycle of containerized applications. |
| Container Runtime | The container runtime is the software that is responsible for running containers. |
| Control Loop | A non-terminating loop that regulates the state of a system. A thermostat is an example of a control loop. |
| Control plane | The container orchestration layer that exposes the API and interfaces to define, deploy, and manage the lifecycle of containers. |
| Controller | In Kubernetes, controllers are control loops that watch the state of your cluster, then make or request changes where needed. Each controller tries to move the current cluster state closer to the desired state. |
| Data (Worker) Plane | The layer that provides capacity such as CPU, memory, network, and storage so that the containers can run and connect to a network. |
| DaemonSet | Ensures a copy of a Pod is running across a set of nodes in a cluster. |
| Declarative Management | A desired state that can be expressed (for example, the number of replicas of a specific application),and Kubernetes will actively work to ensure that the observed state matches the desired state. |
| Deployment | An object that provides updates for both Pods and ReplicaSets. Deployments run multiple replicas of an application by creating ReplicaSets and offering additional management capabilities on top of those ReplicaSets. In addition, deployments are suitable for stateless applications. |
| Designed for extensibility | Adds features to your cluster without adding or modifying source code. |
| Docker Swarm | Automates the deployment of containerized applications but was designed specifically to work with Docker Engine and other Docker tools making it a popular choice for teams already working in Docker environments. |
| Ecosystem | A composition of services, support and tools that are widely available. The Kubernetes ecosystem is a large, rapidly growing ecosystem where its services, support, and tools are widely available. |
| etcd | A highly available key value store that contains all the cluster data. For any deployment, the deployment configuration is stored in etcd. It is the source of truth for the state in a Kubernetes cluster, and the system works to bring the cluster state into line with what is stored in etcd. |
| Eviction | Process of terminating one or more Pods on Nodes. |
| Imperative commands | Create, update, and delete live objects directly. |
| Imperative Management | Defining steps and actions to get to a desired state. |
| Ingress | An API object that manages external access to the services in a cluster, typically HTTP. |
| IPv4/IPv6 dual stack | Assigns both IPv4 and IPv6 addresses to Pods and Services. |
| Job | A finite or batch task that runs to completion. |
| Kubectl | Also known as kubectl Command line tool for communicating with a Kubernetes cluster’s control plane, using the Kubernetes API. |
| Kubelet | The kubelet is the primary “node agent” that runs on each node. The kubelet takes a set of PodSpecs (a YAML or JSON object that describes a pod) provided primarily through the apiserver and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn’t manage containers which were not created by Kubernetes. |
| Kubernetes | Is the de facto open-source platform standard for container orchestration. It was developed by Google and is maintained by the Cloud Native Computing Foundation (CNCF). Kubernetes automates container management tasks, like deployment, storage provisioning, load balancing and scaling, service discovery, and fixing failed containers. Its open-source toolset and wide array of functionalities are very attractive to leading cloud providers, who both support it, and in some cases, also offer fully managed Kubernetes services. |
| Kubernetes API | The application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster. |
| Kubernetes API Server | The Kubernetes API server validates and configures data for the api objects which include pods, services, replication controllers, and others. The API Server services REST operations and provides the frontend to the cluster’s shared state through which all other components interact. |
| Kubernetes Controller Manager | Runs all the controller processes that monitor the cluster state and ensures that the actual state of a cluster matches the desired state. Examples of controllers that ship with Kubernetes are the replication controller, endpoints controller, namespace controller, and service accounts controller. |
| Kubernetes Cloud Controller Manager | A Kubernetes control plane component that embeds cloud-specific control logic. The cloud controller manager lets you link your cluster into your cloud provider’s API, and separates out the components that interact with that cloud platform from components that only interact with your cluster. |
| Kubernetes Proxy | A network proxy that runs on each node in a cluster. This proxy maintains network rules that allow communication to Pods running on nodes—in other words, communication to workloads running on the cluster. The user must create a service with the apiserver API to configure the proxy. |
| kube-scheduler | Control plane component that watches for newly created Pods with no assigned node, and selects a node for them to run on. |
| Label Selector | Allows users to filter a list of resources based on labels. |
| Labels | Tags objects with identifying attributes that are meaningful and relevant to users. |
| Load balancing | Balances traffic across Pods for better performance and high availability. |
| Marathon | Is an Apache Mesos framework. Apache Mesos is an open-source cluster manager developed by UC Berkeley. It lets users scale container infrastructure through the automaton of most management and monitoring tasks. |
| Namespace | An abstraction used by Kubernetes to support isolation of groups of resources within a single cluster. |
| Node | The worker machine in a Kubernetes cluster. User applications are run on nodes. Nodes can be virtual or physical machines. Each node is managed by the control plane and is able to run Pods. |
| Nomad | (Hashicorp) is a free and open-source cluster management and scheduling tool that supports Docker and other applications on all major operating systems across all infrastructure, whether on-premises or in the cloud. This flexibility lets teams work with any type and level of workload. |
| Object | An entity in the Kubernetes system. The Kubernetes API uses these entities to represent the state of your cluster. |
| Persistence | Ensures that an object exists in the system, until the object is modified or removed. |
| Preemption | Logic in Kubernetes helps a pending Pod to find a suitable Node by evicting low priority Pods existing on that Node. |
| Self-healing | Restarts, replaces, reschedules, and kills failing or unresponsive containers. |
| Service | An abstract way to expose an application running on a set of Pods as a network service. |
| Service Discovery | Discovers Pods using their IP addresses or a single DNS name. |
| StatefulSet | Manages the deployment and scaling of a set of Pods, and provides guarantees about the ordering and uniqueness of these Pods. |
| Storage | A data store that supports persistent and temporary storage for Pods. |
| Storage Orchestration | Automatically mounts your chosen storage system whether from local storage, network storage, or public cloud. |
| Pod | The smallest and simplest Kubernetes object. Represents a process running in a cluster; it also represents a single instance of an application running in a cluster. Usually, a Pod wraps a single container but, in some cases encapsulates multiple tightly coupled containers that share resources. |
| Proxy | In computing, a proxy is a server that acts as an intermediary for a remote service. |
| ReplicaSet | A ReplicaSet (aims to) maintain a set of replica Pods running at any given time. |
| Workload | A workload is an application running on Kubernetes. |
References
kubernetes Is software the oversees a bunch of different VMs which are all running pods filled with containers that can communicate back to the controller plane via the Kube api which is hosted itself on some separate server or instance, and can send back information that can change how a given VM is suppose to be running or spin up new ones





























