Suraj Narwade
Suraj Narwade
~1 min read

Categories

Tags

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 client-go.

  • source code for client-go can be found here: https://github.com/kubernetes/client-go

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

Note: 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.