source from https://github.com/operator-framework/operator-sdk
import to intellij sample-operator/java-operator-sdk/samples/pom.xml
howto run?
- minikube start
- minikube dashboard
- minikube stop
- minikube delete
- helm install hello xap-manager --set service.type="NodePort",service.api.nodePort=30890
- minikube service --url hello-xap-manager-service
- minikube service --url hello-xap-manager-service
- helm install world xap-pu --set manager.name=hello
- helm del world --keep-history
$HOME = /Users/meron/Work/minikube/sample-operator
- kubectl apply -f $HOME/gs-operator/src/main/resources/pu-crd.yaml
- kubectl create clusterrolebinding default --clusterrole cluster-admin --serviceaccount=default:default
- mvn exec:java -Dexec.mainClass=com.gigaspaces.k8s.operators.DevOperator
- kubectl apply -f $HOME/gs-operator/examples/pu.yaml
- kubectl delete -f $HOME/gs-operator/examples/pu.yaml
- helm del hello --keep-history
cd /Users/meron/Work/github/Gigaspaces/docker/xap-enterprise eval $(minikube docker-env) docker image ls docker build -t gigaspaces/xap-enterprise:moran .
https://meron-gigaspaces.s3-eu-west-1.amazonaws.com/data-processor.jar https://meron-gigaspaces.s3-eu-west-1.amazonaws.com/data-feeder.jar