Using Kubernetes API from Go [B]
As Kubernetes becomes increasingly popular, the number of integration and monitoring services around it are also growing. The key component of any such service written in Golan is kubernetes/client-go …
Talk Title | Using Kubernetes API from Go [B] |
Speakers | Alena Prokharchyk (Principal Software Engineer, Rancher Labs, Inc.) |
Conference | KubeCon + CloudNativeCon North America |
Conf Tag | |
Location | Austin, TX, United States |
Date | Dec 4- 8, 2017 |
URL | Talk Page |
Slides | Talk Slides |
Video | |
As Kubernetes becomes increasingly popular, the number of integration and monitoring services around it are also growing. The key component of any such service written in Golan is kubernetes/client-go – a package that is used to talk to Kubernetes cluster APIs. During this talk, we will discuss the basics of client-go usage and how they can save the developer time needed for writing an actual app logic. We will also demonstrate the best practices for using the package and lessons learned from the perspective of a developer who does integration work with Kubernetes on a daily basis. Following items will be covered: * Client authentication in cluster vs outside of cluster * Basic list, create and delete operations for Kubernetes objects with client-go * How to watch and react on Kubernetes events using ListWatch and Informers * Package dependencies (vendor) management