Introduction

As you will recall from Chapter 2, An Overview of Kubernetes, the API server acts as the central hub that communicates with all the different components in Kubernetes. In the previous chapter, we took a look at how we can use kubectl to instruct the API server to do various things.

In this chapter, we will take a further look into the components that make up the API server. As the API server is at the center of our entire Kubernetes system, it is important to learn how to effectively communicate with the API server itself and how API requests are processed. We will also look at various API concepts, such as resources, API groups, and API versions, which will help you understand the HTTP requests and responses that are made to the API server. Finally, we will interact with the Kubernetes API using multiple REST clients to achieve many of the same results we did in the previous chapter using the kubectl command-line tool.