See https://cloud.redhat.com/blog/liveness-and-readiness-probes
curl -X GET https://localhost:8090/actuator/health
curl -X GET https://localhost:8080/readyz
curl -X PUT https://localhost:8080/delay -H "Content-Type: application/json" -d '{"newDelayInSeconds": 2}'
curl -X GET "https://localhost:8080/api/v1/workload/now?delay=10"
./gradlew gatlingRun
Or with custom params:
./gradlew gatlingRun -Drps=2 -DdurationSec=15 -DhostName=https://localhost:8080
./gradlew dockerBuildImage
./gradlew bootBuildImage --imageName=io.github.mfvanek/minikube-demo:0.0.1
docker run --name minikube-demo -d -p 8080:8080 -t io.github.mfvanek/minikube-demo:latest
docker logs minikube-demo
docker rm -f minikube-demo
https://minikube.sigs.k8s.io/docs/start/
minikube config view
minikube config set memory 10000
minikube config set cpus 5
minikube config set driver docker
minikube start --force --extra-config=kubelet.cgroup-driver=systemd --container-runtime=docker
minikube status
minikube delete --all
minikube delete --all --purge
minikube dashboard
minikube image load io.github.mfvanek/minikube-demo:0.2.2
minikube image ls --format table
minikube kubectl -- run minikube-demo --image=io.github.mfvanek/minikube-demo:0.0.1 --port=8080 --image-pull-policy Never
minikube kubectl -- get pods
minikube kubectl -- delete pod minikube-demo
minikube kubectl -- get pods
minikube kubectl get endpoints
minikube kubectl describe svc minikube-demo-service
minikube kubectl -- create -f k8s-deployment.yaml
minikube kubectl -- apply -f k8s-deployment.yaml
minikube service minikube-demo-service --url