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.
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}')
This project has been created with: