-
Book Overview & Buying
-
Table Of Contents
Certified Kubernetes Administrator (CKA) Exam Guide
By :
All operations and communications between components and external user commands are REST API calls that the API server handles. Everything in Kubernetes is considered an API object.
In Kubernetes, when you run a kubectl command, the kubectl utility is in fact reaching kube-apiserver. kube-apiserver first authenticates and validates requests and then updates information in etcd and retrieves the requested information.
When it comes down to each worker node, the kubelet agent on each node takes Podspecs that are primarily provided by the API server, provisions the containerized workloads, and ensures (as described in those Podspecs) that the Pods are running and healthy. A Podspec is the body of the YAML definition file, which is translated to a JSON object that describes the specification for the workloads. Kubernetes form an API call going through the API server. And it is then taken into consideration by the control plane.
Kubernetes API primitives, also known as Kubernetes objects, are the fundamental building blocks of any containerized workload up and running in the Kubernetes cluster.
The following are the main Kubernetes objects we’re going to use in our daily life while working with Kubernetes clusters:
Completed status. An example of using jobs is when we want to run a workload with a particular purpose and make sure it runs once and succeeds.cron expression to define a particular schedule per requirement. We’ll cover more details about how to work with those Kubernetes objects in Chapter 4, Application Scheduling and Lifecycle Management. Stay tuned!
Change the font size
Change margin width
Change background colour