kubefed-operator

module
v0.0.0-...-3ef99d1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: Apache-2.0

README

kubefed-operator

Prototype operator for KubeFed. Planned to eventually replace the federation-v2-operator repo.

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

Directories

Path Synopsis
cmd
manager command
pkg
apis/operator/v1alpha1
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.kubefed.io
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.kubefed.io

Jump to

Keyboard shortcuts

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