kubebuilderdeclarativepattern

package module
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

README

kubebuilder-declarative-pattern

kubebuilder-declarative-pattern provides a set of tools for building declarative cluster operators with kubebuilder. Declarative operators provide a fast path to orchestrating Kubernetes deployments to enable domain experts to focus on their component instead of re-answering questions like 'How do I get this YAML into the cluster?' or 'How do I update it?'.

Development

Running Smoke Tests

Smoke tests are provided to ensure basic functionality of the framework against example operators. They should be run as part of significant code changes. The tests require a running Kubernetes cluster to be targeted from the local machine and write access to a GCR bucket.

cd hack
IMG=<a writeable image path, eg, gcr.io/my-project/controller:latest> go run smoketest.go

Documentation

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this project at:

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

Documentation

Overview

Package kubebuilderdeclarativepattern provides tools to construct declarative Kubernetes operators to manage the lifecycle of a deployment.

Getting Started

Follow the project documentation for a getting started guide: - https://github.com/kubernetes-sigs/kubebuilder-declarative-pattern/tree/master/docs

Directories

Path Synopsis
applylib module
examples
ktest module
pkg
patterns
The patterns package contains tools for building operators with http://sigs.k8s.io/controller-runtime/
The patterns package contains tools for building operators with http://sigs.k8s.io/controller-runtime/
patterns/addon
The addon package contains tools opinionated for managing Kubernetes cluster addons.
The addon package contains tools opinionated for managing Kubernetes cluster addons.
patterns/addon/pkg/apis/v1alpha1
The v1alpha1 API provides a set of common fields for addon objects.
The v1alpha1 API provides a set of common fields for addon objects.
patterns/addon/pkg/loaders
The loaders package implements loading of raw kubernetes manifests based off of the CommonSpec of an Addon object.
The loaders package implements loading of raw kubernetes manifests based off of the CommonSpec of an Addon object.
patterns/addon/pkg/status
The status package provides implementations for discovering and updating the CommonStatus on an Addon.
The status package provides implementations for discovering and updating the CommonStatus on an Addon.
patterns/declarative
application.go manages an Application[1]
application.go manages an Application[1]

Jump to

Keyboard shortcuts

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