© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
P. MartinKubernetes Programming with Gohttps://doi.org/10.1007/978-1-4842-9026-2_2

2. Kubernetes API Operations

Philippe Martin1  
(1)
Blanquefort, France
 

The previous chapter described that the Kubernetes API follows REST principles and enables users to manipulate resources.

In this chapter, you will learn how to perform various operations by making HTTP requests directly. During your daily work, you probably will not have to interact directly with the HTTP layer, but it is important to understand how the API works at this level so that you can understand how to use more easily it with a higher-level library.

Examining Requests

Before starting to write your own ...

Get Kubernetes Programming with Go: Programming Kubernetes Clients and Operators Using Go and the Kubernetes API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.