In this post, we will see different Kubernetes clients, the client is something that you can use to talk to the Kubernetes cluster.
Mainly, there are 3 ways to talk to a cluster:
- kubectl
- Console/Dashboard
- programmatically using clients
The Kubernetes community maintains clients in various languages in this repo.
Since Kubernetes is in Golang, a client library known as client-go is widely used. But there are clients available in other interesting languages :)
for Java, there’s one more client known as fabric8 kubernetes client which is also widely used and famous too :) (it works with OpenShift too)
In the upcoming blog post, we will see how we can leverage client-go
effectively to talk to the cluster and create some tools using it.