podset-cluster-operator

module
v0.0.0-...-c1b3c93 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: Apache-2.0

README

= PodSet Operator

An example of Kubernetes Operator built with the https://github.com/operator-framework/operator-sdk[Operator SDK].

This PodSet operator takes care of scaling up and down pods that run a `sleep 3600` command in a busybox image. Nothing really fancy, but the point is to:

- see how the CRD and operator controller can be defined, packaged and deployed 
- demonstrate the logic of reconcialation when a custom resource changes, or when pods are added or removed by a user

Also, this operator has a `cluster` scope, which means that its controller can run in a single namespace, yet monitor changes of CR in all other namespaces.

Directories

Path Synopsis
cmd
pkg
apis/app/v1alpha1
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.example.com Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.example.com
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.example.com Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.example.com

Jump to

Keyboard shortcuts

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