Deploy Jenkins in the Kubernetes cluster
Deploy Jenkins in the Kubernetes cluster
Deploying Jenkins on a Kubernetes cluster can be quite beneficial for managing CI/CD pipelines efficiently. Here's a general guide to get you started:
Prerequisites:
You should have a running Kubernetes cluster.
kubectl should be configured to connect to your cluster.
Check Kubernetes cluster and nodes
kubectl get nodes
Setup Jenkins deployment
Create the Jenkins directory and navigate the directory

Create a Jenkins deployment YAML file
Create a YAML file called jenkins-deployment.yaml with the following content
Create a Jenkins service YAML file
Expose the Jenkins deployment using a NodePort service:

Apply the YAML file to create the Jenkins service:

Check the service's

To verify if the Jenkins service is running from your terminal, execute the following command:

Access Jenkins:
Access Jenkins using the external IP and NodePort:
Navigate to the NeevCloud panel > Server > Select your node > copy Public_IP

Check Node Port

http://Node_IP: Nodeport

Run this path on your terminal using the sudo (root user)

Last updated