This project helps you understand Kubernetes controller concept by providing step-by-step instructions on how to build a Kubernetes controller from scratch.
It's perfect for developers who want to:
- Learn and understand how to build a Kubernetes conroller
Inspired by Golang Kubernetes Controller Tutorial
Authors: Den Vasyliev and Alex Sudom
- A starter template for building Kubernetes controllers or CLI tools in Go using cobra-cli.
- Zerolog logging
- POSIX/GNU-style --flags with Pflag
- Basic understanding of Kubernetes concepts
- up & running control-plane
To setup GitHub Actions workflow follow steps described below:
- Generate PAT (personal access token). Select listed scopes: write:packages, repo. Copy secret.
- Go to
Settingstab of your repository, chooseSecuritysection and selectActions. Create aNew repository secretwith nameK8S_CONTROLLER_TOKEN, paste secret copied generated on step 1.