https://github.com/pmorie/kubefed-operator
Prototype operator for KubeFed
https://github.com/pmorie/kubefed-operator
Last synced: 10 months ago
JSON representation
Prototype operator for KubeFed
- Host: GitHub
- URL: https://github.com/pmorie/kubefed-operator
- Owner: pmorie
- License: apache-2.0
- Created: 2019-04-26T15:13:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-13T19:13:51.000Z (about 7 years ago)
- Last Synced: 2025-02-17T19:16:47.712Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 25.7 MB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubefed-operator
Prototype operator for [KubeFed](https://github.com/kubernetes-sigs/federation-v2). Planned to eventually replace the [federation-v2-operator repo](https://github.com/openshift/federation-v2-operator).
Note, currently, this operator only supports deploying KubeFed in a namespace-scoped fashion.
## Deploying and testing
This work-in-progress section describes how people _developing_ this operator can deploy it.
### Using `operator-sdk up local`
The operator SDK provides a way to run your operator locally outside a cluster. This allows you to easily iterate on changes without having to push an image.
All you need to do is run the following command from the root directory of this project:
```
$ operator-sdk up local --namespace=federation-test
```
This will run the operator configured to watch the `kubefed-test` namespace.
After that step, you can create an `KubeFed` in the `kubefed-test` namespace to drive the installation in that namespace:
```
$ kubectl create -f deploy/crds/operator_v1alpha1_kubefed_cr.yaml -n kubefed-test
```