- Install and configure nfs-server (instructions)
- Prepare your machine (instructions)
- Open
/nfs-provisioner/deployment.yaml
and change<<NFS Server IP>>
to the ip of the machine where the nfs-server is running
The steps above are only required the first time you bootstrap the cluster
- Go to
/vagrant-provisioning
and$ vagrant up
$ mkdir ~/.kube
$ scp root@kmaster.example.com:/etc/kubernetes/admin.conf $HOME/.kube/config
usingkubeadmin
as the password- Setup the dynamic nfs provisioner (
$ kubectl create -f nfs-provisioner/
)
The following commands will download the required dependencies and store them on charts/
$ cd jenkins-chart/
$ helm dependency update
Execute the following command on the root of the project
$ helm upgrade --install --namespace jenkins jenkins-chart ./jenkins-chart
http://kmaster:32000/login
admin/admin 🚨
Add Kubernetes Service Account credentials
http://kmaster:32000/credentials/store/system/domain/_/newCredentials
Change credentials to the secret text
http://kmaster:32000/configureClouds/
Test Connection and you should see Connection test successful
🎉
kuddos to the open source project by @justmeandopensource that eased the bootstrap process 🙌