A simple vertx api along with the helm packages. Follow the steps below to build and deploy it.
Benchmark results.
Install home brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Install hey for benchmarking
brew install heyInstall kubectl
brew install kubectlInstall minikube
brew install minikubeInstall helm
brew install helmStart the k8s cluster
minikube start --memory 8192 --cpus 6 --vm-driver=virtualboxEnable metrics-server
minikube addons enable metrics-serverAdd host entry for the minikube cluster
sudo -- sh -c "echo \\$(minikube ip) localghost >> /etc/hosts"Install Helm Local repository web server
helm plugin install https://github.com/jdolitsky/helm-servecmStart the local repo server
helm servecm --port=8879 --context-path=/charts --storage="local" --storage-local-rootdir="${HOME}/.helm/localrepo"Add stable, incubator and @local repos.
helm repo add stable https://kubernetes-charts.storage.googleapis.com
helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
helm repo add @local http://127.0.0.1:8879/chartsFrom the root of the project:
- Deploy
./helm/deploy.sh- Benchmark
./helm/benchmark.sh > ./helm/benchmark-result.txt