Posts

Showing posts from August, 2020

Dynamic Jenkins Cluster + Kubernetes

Image
TASK-DISCRIPTION 1.  Create container image that’s has Linux and other basic configuration required to run Slave for Jenkins. ( example here we require kubectl to be configured ) 2. When we launch the job it should automatically starts job on slave based on the label provided for dynamic approach. 3. Create a job chain of job1 & job2 using build pipeline plugin in Jenkins 4.  Job1  : Pull the Github repo automatically when some developers push repo to Github and perform the following operations as: a. Create the new image dynamically for the application and copy the application code into that corresponding docker image Push that image to the docker hub (Public repository) ( Github code contain the application code and Dockerfile to create a new image ) 5.  Job2  ( Should be run on the dynamic slave of Jenkins configured with Kubernetes kubectl command): Launch the application on the top of Kubernetes cluster performing following operations: 1. If launching f...

Task5: Prometheus and Grafana on top of kubernetes

Image
Kind Service is created to expose the pods to the outside world Kind PersistentVolumeClaim is to store the data permanently   Config file created for deployment of prometheus Config file created for deployment of grafana