minikube start
kubectl apply -f kube/.
minikube service jenkins
minikube service jenkins --url
minikube dashboard
kubectl describe pod jenkins
kubectl logs jenkins-<POD_ID_FROM_DESCRIBE> (Tab completion also works!)
# (Optional) Use docker on minikube
#minikube start
#eval $(minikube docker-env)
docker build . -t kube-jenkins:latest
docker run -it \
-v $(pwd)/kube/config:/var/jenkins_config \
-p 8080:8080 \
-e CASC_JENKINS_CONFIG=/var/jenkins_config/configuration-as-code.yaml \
-e JOBLIST=https://raw.githubusercontent.com/liatrio/liatrio-jenkins/master/example/jobs.json \
kube-jenkins:latest