Working with Kubernetes API - 🧵 with resources Kubernetes API is...

Before jumping to calling the API, familiarize yourself with the main concepts: Resources, Kinds, and Objects. With a clear API structure in mind, it'll be much easier to approach the hands-on problems.
iximiuz.com/en/posts/kuber…
If you sneak-peek at kubectl talking to your cluster using the `-v 8` flag, you'll notice that the API requests it makes look surprisingly simple - it's a good old REST HTTP API. So you can learn how to call it, too!
iximiuz.com/en/posts/kuber…
If you made it this far, you already know:
- Main Kubernetes API constructs
- How to authenticate requests
- How to call the API from the command line
Time to learn how to call the API programmatically.
iximiuz.com/en/posts/kuber…
Before jumping to writing Kubernetes controllers with higher-level frameworks like Kubebuilder, it's a good idea to write a few simpler programs using the bare Go client to call the cluster API.
A few examples github.com/iximiuz/client…
One thing you don't want to do is use your production (or even development) cluster to test your first controllers. An ephemeral (and disposable) Kubernetes cluster would be a much better choice 👇
labs.iximiuz.com/playgrounds/k8…
