How to setup Jenkins on Minikube
Setting up Jenkins on Kubernetes is very efficient than setting it up on a local agent. Hence, I have listed down steps to setup Jenkins on Minikube so that you get a good understanding of how Jenkins works on Kubernetes before you set it up on multi node clusters. 1. minikube config set memory 16384 (If space is full or your total memory is only 16384 then set to lower, 8192) 2. minikube config set cpus 4 3. minikube config set kubernetes-version 1.16.0 4. minikube start --driver=virtualbox 5. Create a namespace yaml file: jenkins-namespace.yaml Contents: apiVersion: v1 kind: Namespace metadata: name: jenkins _________________________________________________ kubectl apply -f jenkins-namespace.yaml 6. Persistent volume : jenkins-volume.yaml Contents: apiVersion: v1 kind: PersistentVolume metadata: name: jenkins-pv namespace: jenkins spec: storageClassName: jenkins-pv accessModes: - ReadWrite...