operator101

command module
v0.0.0-...-8c2d65a Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

README

Operator 101

Introduction

I am using this repository for learning how I can write a Kubernetes operator.

How to initialize?

operator-sdk init --domain parham.home --repo github.com/1995parham-learning/operator101
operator-sdk create api --group hello --version v1alpha1 --kind Helloer --resource --controller

How to run?

make build

You need to have OLM on your cluster to better use operators:

operator-sdk olm install

Then you can bundle the operator and install it:

make bundle
operator-sdk run bundle

By making bundle, you will make a cluster service version which is defined in config/manifests/bases/operator101.clusterserviceversion.yaml.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the hello v1alpha1 API group +kubebuilder:object:generate=true +groupName=hello.parham.home
Package v1alpha1 contains API Schema definitions for the hello v1alpha1 API group +kubebuilder:object:generate=true +groupName=hello.parham.home

Jump to

Keyboard shortcuts

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