Local development with Kubernetes And Jenkins

Jenkins

Once we have our cluster up and running and will need to get something that can build and deploy our application. For that we will use Jenkins and the pipeline feature to manage our workflow. A great starting resource for getting Jenkins running with Kubernetes has been from lachie83/croc-hunter.

Local Development

Now that we have our jenkins we can deploy the helm chart to our local cluster

  1. Powershell: "minikube mount $($pwd.Path):/code/jobrm" | Invoke-Expression
  2. CMD: minikube mount %cd%:/code/jobrm
  3. Bash: minikube mount $(pwd):/code/jobrm

Pipeline

Now that we have everything running we need to create our pipeline for the build.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store