Docker - Docker installation
Minikube - Minikube installation
Kubectl - Kubectl installation
Helm - Telm installation
- Start a minikube:
minikube start --driver=docker
- Verify minikube nod is running:
kubectl get nodes
- Create a namespace:
kubectl create namespace jenkins
- Add repo:
helm repo add bitnami https://charts.bitnami.com/bitnami
- Install repo:
helm install jenkins bitnami/jenkins -n default
- Get the Jenkins URL:
minikube service jenkins -n jenkins
- Login with:
Username: user
Password:
kubectl get secret --namespace jenkins my-release-jenkins -o jsonpath="{.data.jenkins-password}"
[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("<insert ouput from previous command>"))
- Install plugins: Kubernetes, Credentials
- Dashboard -> Create Item -> Pipeline
- Connect to git repo
- Vefify deployment is READY
kubectl get deployments --all-namespaces
5. Forward traffic from a local port to a specific port (32080):
kubectl port-forward svc/nginx-chart 32080:80

