golang

command module
v0.0.0-...-25f38c8 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

Golang Operator

This is a simple example for golang operator using the operator-sdk

HowTo

This operator was created using the following command

operator-sdk init --domain=adawolfs.github.io --repo=github.com/adawolfs/operator-framework/golang

The speaker crd was created using the following command

operator-sdk create api --group hora.de.k8s --version v1 --kind Session --resource=true --controller=true

Build and push operator image

make docker-build docker-push IMG=adawolfs/speaker-operator:go

Install Custom Resources

make install

Deploy Operator

make deploy IMG=adawolfs/speaker-operator:go

Create Sample Custom Resource

kubectl create -f golang/config/samples/hora.de.k8s_v1_speaker.yaml 

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1
Package v1 contains API Schema definitions for the hora.de.k8s v1 API group +kubebuilder:object:generate=true +groupName=hora.de.k8s.adawolfs.github.io
Package v1 contains API Schema definitions for the hora.de.k8s v1 API group +kubebuilder:object:generate=true +groupName=hora.de.k8s.adawolfs.github.io

Jump to

Keyboard shortcuts

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