# helm install nginx-ingress ingress-nginx/ingress-nginx
#Create Helm Charts for your Spring Boot App
helm install --debug orchestration-demo-api ./deployment/orchestration-demo-api/
#Directly install in Kubernetes
helm upgrade --debug orchestration-demo-api ./deployment/orchestration-demo-api -n ingress-nginx
http://localhost:8080/actuator/health
nslookup orchestration-demo.local
#Command to Check Pod Logs
kubectl logs -n <namespace> <ingress-controller-pod-name>
Helm Chart: customized-app-0.1.0
#Create Operator Helm Chart
operator-sdk init --plugins=helm.sdk.operatorframework.io/v1 \
--domain=ashokgudise.docker.io \
--helm-chart=~./orchestration-demo-api/deployment/orchestration-demo-api
#Build Docker Image for Operator
docker buildx build -t ashokdemos/customized-object-operator:v1.0.0 .
#Use Make Calls to build and install the operator in K8s Cluster
make install run
make docker-build docker-push IMG=docker.io/ashokgudise/orchestration-demo-operator:1.0
make bundle bundle-build bundle-push docker.io/ashokgudise/orchestration-demo-operator:1.0
make deploy
kubectl get all -n namespace/orchestration-demo-operator-system
#To run in Local
kubectl create ingress orchestration-demo.local-localhost --class=nginx \
--rule="orchestration-demo.local/*=orchestration-demo-apil:8080"
kubectl get validatingwebhookconfigurations -n ingress-nginx
curl --resolve orchestrationdemoapi-sample-orchestration-demo-api:8080:127.0.0.1 http://localhost:57699/swagger-ui/index.html