Integration of K8s, GitHub, and Jenkins Dynamic Worker Nodes

( jobs building on containers == Dynamic Worker Nodes).

Prerequisites:-

A pre-installed K8s cluster(e.g. minikube). In minikube by default, there is no internal NFS dynamic provisioner is available for the storage class so it can claim a PVC or PV dynamically. so we are creating a NFS-client dynamic provisioner in the K8s cluster using a service account, cluster roles, etc., which basically uses RBAC (role-based access controls) Authorization.

[root@server ~]# systemctl enable --now docker
[root@server ~]# systemctl status docker
[root@server ~]# vi /usr/lib/systemd/system/docker.service
[root@server ~]# systemctl daemon-reload 
[root@server ~]# ss -tnlp | grep 4243
LISTEN 0 128 *:4243 *:* users:(("dockerd",pid=7333,fd=3))

I'm a computer science undergraduate and my primary area of work is under Linux, CloudComputing, DevOps culture, and various open-source tools and technologies