How to Write a Kubernetes Operator Using client-go
What is client-go? client-go is the official Golang client for Kubernetes, responsible for interacting with the Kubernetes API server using REST API. In fact, client-go can do almost anything, not just for writing operators. Even the internal implementation of kubectl is based on client-go. As for more specialized frameworks used to write operators, including controller-runtime , kubebuilder , and operator-sdk , they will be introduced later in this series. Introduction to Sample Controller Mechanism sample-controller is an official Kubernetes example operator implemented using client-go. ...