kubefed-operator

module
v0.1.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: Apache-2.0

README

kubefed-operator

This repository contains code for an operator for deploying KubeFed. It is planned to replace the federation-v2-operator repo.

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=kubefed-test

This will run the operator configured to watch the kubefed-test namespace.

After that step, you can create a KubeFed custom resource 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
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
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