Skip to content

davidcurrie/index2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins/Kube/Helm demo for Index 2018

The accompanying presentation can be found on SlideShare.

Pre-reqs

brew cask install minikube
minikube start
minikube addons enable ingress
minikube addons enable registry
brew install kubectl
brew install kubernetes-helm

Set up Helm

helm init --wait

Deploy Jenkins

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

Deploy app

  1. Create a pipline job with a fork of this repository as the Git source for the pipeline.
  2. Clicking Build now will push an image to the registry.
  3. Run helm create hello and modify values.yaml to enable ingress and provide a hostname (hello.192.168.99.100.nip.io).
  4. Uncomment the helm container and deploy stages in Jenkinsfile.
  5. Push changes and re-build.

About

Jenkins/Kube/Helm demo for Index 2018

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published