Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexsjones/hello-operator
A sample project built with kubebuilder
https://github.com/alexsjones/hello-operator
demo kubebuilder kubernetes operator
Last synced: 14 days ago
JSON representation
A sample project built with kubebuilder
- Host: GitHub
- URL: https://github.com/alexsjones/hello-operator
- Owner: AlexsJones
- Created: 2020-06-18T22:17:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-18T22:20:59.000Z (over 4 years ago)
- Last Synced: 2024-10-10T18:10:59.604Z (about 1 month ago)
- Topics: demo, kubebuilder, kubernetes, operator
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello-operator
This is a simple operator with a CRD built in Kubebuilder.
It has an Emitter type that when created will spawn a simple deployment that is created from the templates `./manifests/emitter-deployment.yaml`
To create this deployment run `kubectl apply -f ./config/samples` which will create the Emitter CRD and invoke the operators reconcile.
All the real logic is in `./controllers/emitter_controller.go`
## Up and running
- Have an existing connected Kubernetes cluster
- `make`
- `make install`
- `make run`
- `kubectl apply -f ./config/samples`