client-go-examples

module
v0.0.0-...-2f18e6a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2021 License: Apache-2.0

README

client-go-examples

Motivation

The motivation for this repo is that I found it very hard to write kube controllers for the operators since I am not much familiar with client-go. I am from a SRE background and transitioned into Software Engineering. I found it very hard to understand kubernetes programming, so I am trying ways to simplify this by trying to get a structured approach. Getting familiar with client-go is first step towards it. Organized programs based on usage in this repo.

Pre-requisites

Most of the examples will need a running kubernetes cluster

Usage

Navigate to each directory for respective usage

Examples

  1. listitems
  2. workqueue
  3. controller

References

  1. https://github.com/kubernetes/client-go/tree/master/examples
  2. https://leftasexercise.com/category/kubernetes/

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL