Posts

Showing posts from March, 2021

Sidebar Links in Jenkins Job

Image
Hello Everyone! Here I will give some real use cases where the Jenkins integration with Sidebar Links requirement for a Jenkins Project.  Case 1: Your project might have a complete build strategy defined and it is shared on a Confluence page or common documentation platform. This document need to be linked to the Jenkins Job. Case 2 : Your QA team want to have all the jobs which they want to access on a single page. Even though you have placed all the QA-related jobs into a View. The solution is using Sidebar Link to the View from the Job. Case 3: A QA team working on two different Product testings where you have the two separate Jobs, but in the Organization the jobs are grown where a listing of all jobs will make difficult to search for the second job. instead of searching for the second job if we have the second job on the first job page then QA team life will be easy.  How to use Sidebar Links in a Jenkins Job? Sidebar link can be used for linking following: Documentation...

Jenkins Manage Assign Roles - Role based Strategy

Image
Here I am finding a solution for the users who belong to QA must have access only to the QA-related jobs. In this post,  Situation IT Organizations includes multiple teams such as: QA, Release, Developer and DBA or Middleware Engineers  Jenkins Master - Container-based Default all users have the same authorization. I would like to share how to launch the Jenkins Master on a Docker Container. login with docker playground. As you have provision to Add Node from the left side click it. You will get a terminal to use for 4 hours to play with the Docker engine.   To run the Jenkins inside docker container name: Jenkins-master run in detached mode -d Port forwarding from container port 8080 to host 8081 and 50000 to 50001 Allocate disk space to run the Jenkins workspace use -v Docker image from Blue Ocean Let's launch the Jenkins container using below command: docker run --name jenkins-master -u root --rm \ -d -p 8081:8080 -p 50001:50000 \ -v ...

Kubernetes Services

Image
 Hello everyone !! In this post, we will discuss the Kubernetes Services, What, and How we can deploy the service on a Kubernetes cluster. What is Kubernetes Service? We have Kubernetes services for not to remember the pod IP address, it is more comfortable inter-connecting the pods using service names. Why we need Kubernetes Services? We will get to know once we deploy the following different kinds of Kubernetes services on your Kubernetes cluster. Types of Kubernetes Services NodePort ClusterIP Headless  Loadbalancer Kubernetes Service types NodePort The node port will be a port enabled on a Node per microservice application.  Let's have pod defination in myapp.yaml apiVersion: v1 kind: Pod metadata: name: myapp-pod labels: app: myapp spec: containers: - name: nginx-containers image: nginx Create the myapp pod using the above defination. Example nodeport.yaml file apiVersion: v1 kind: Service metadata: name: appservi...