Ensure you are logged into GitHub else you will get a 404 error when clicking the links below
This guide will walk you though how to setup Jenkins X on your laptop using minikube
NOTE:- User of windows 10 home (Hyper-V not supported). To install Minikube consider Docker as driver(docker should be pre-installed) instead of virtualBox driver. Use command “minikube start –driver=docker”.
- If you have previously used
minikubeplease delete the current cluster:
- You need to create a
minikubecluster via the following command:
minikube start --cpus 4 --memory 6048 --disk-size=100g --addons=ingress --kubernetes-version=1.24
Create the cluster Git Repository based on the jx3-gitops-repositories/jx3-minikube template
- if the above button does not work then please Login to GitHub first and then retry the button
git clonethe new repository via HTTPS and
cdinto the git clone directory
ingress.domainto point to your
export DOMAIN="$(minikube ip).nip.io" jx gitops requirements edit --domain $DOMAIN
jx-requirements.ymlshould now be configured to the value of
to enable webhooks you need to install and setup ngrok
setup a webhook tunnel to your laptop:
ngrok http 8080
- copy your personal ngrok domain name of the form
charts/jenkins-x/jxboot-helmfile-resources/values.yamlfile in the
ingress.customHosts.hostsfile so that your file looks like this…
ingress: customHosts: hook: "abcdef1234.ngrok.io"
- git add, commit and push your changes:
git add * git commit -a -m "fix: configurations for local minikube" git push origin main
switch to the
jx ns jx
- once Jenkins X is installed run the following command to enable webhooks via
kubectl port-forward svc/hook 8080:80
If you quit minikube, reboot and come back to start working on it again, you will have to complete the whole procedure under #setup to get back to speed. The minikube ip is normally the same on each invocation, but you should verify that as well.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.