In last blog post, we learnt about different clients which can be used to talk to kubernetes cluster.
In this post, we will see Golang Kubernetes client, which is also known as
- source code for
client-gocan be found here:
Check Installation guide to install
client-go using various methods:
If you want to try out or write simple scripts, you can use the following and get
client-go from master
(Stability not guaranteed)
go get k8s.io/client-go
k8s.io/.. is just an alias to
github.com/kubernetes/.., no need to confuse :D
In the upcoming blog post, we will see how we can use
client-go effectively to talk to cluster and create some tools using it.