Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

rgiaviti/poc-kopf-k8s-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POC Kopf Kubernetes Operator

Docs: https://kopf.readthedocs.io/en/stable/

Steps

Install KOPF

$ pip install kopf

Create a Cluster

$ kind create cluster --name kopf_cluster

Details: https://kind.sigs.k8s.io/docs/user/quick-start/

Create a namespace

$ kubectl create namespace kopfns

Deploy CRD on cluster

$ kubectl apply -f crd/crd.yaml

Start KOPF

$ kopf run mycrd_controller.py --verbose

Deploy CR in a namespace

$ kubectl apply -f crd_object.yaml -n kopfns

About

POC testing a K8S Operator in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages