The accompanying presentation can be found on SlideShare.
brew cask install minikube
minikube start
minikube addons enable ingress
minikube addons enable registry
brew install kubectl
brew install kubernetes-helm
helm init --wait
helm install --name cd -f overrides.yaml stable/jenkins
printf $(kubectl get secret --namespace default cd-jenkins -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode);echo
minikube service cd-jenkins
- Create a pipline job with a fork of this repository as the Git source for the pipeline.
- Clicking Build now will push an image to the registry.
- Run
helm create hello
and modifyvalues.yaml
to enable ingress and provide a hostname (hello.192.168.99.100.nip.io
). - Uncomment the helm container and deploy stages in
Jenkinsfile
. - Push changes and re-build.