Skip to content

This repository is created solely for educational and tutorial purposes. The content provided here is intended to serve as a learning resource and does not represent any official, production-ready software.

License

Notifications You must be signed in to change notification settings

Duck5el/k8s-ducksel-operator

Repository files navigation

Ducksel Operator

This repository is created solely for educational and tutorial purposes. The content provided here is intended to serve as a learning resource and does not represent any official, production-ready software.

Prerequires

Get Started

Install the dependencys

go get -v -t -d ./...

Update project

make manifest # Generates the CRD based on the code structure

Start the operator

make run

Start you minikube server

minikube start

Create a namespace

kubectl create namespcae ducksel

Apply the CRD

kubectl apply -f config/crd/bases/api.my.domain_ducksels.yaml 

Apply the CR

kubectl apply -f config/samples/api_v1_ducksel.yaml 

Tunnel the minikube

minikube tunnel

Call the nginx website

xdg-open http://$(kubectl get service ducksel -o jsonpath='{.status.loadBalancer.ingress[0].ip}')

Info

This project has been created with:

About

This repository is created solely for educational and tutorial purposes. The content provided here is intended to serve as a learning resource and does not represent any official, production-ready software.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published