Posts

Showing posts with the label Devops

Kubernetes installation step-by-step in various OS

Image
  Kubernetes installation step-by-step in various OS   Kubernetes Installation and Configuration ========================================= In Kubernetes setup we have one master node and multiple nodes. Cluster nodes is known as worker node or Minion. From the master node we manage the cluster and its nodes using ‘kubeadm‘ and ‘kubectl‘  command. Kubernetes can be installed and deployed using following methods: Minikube ( It is a single node kubernetes cluster) Kops ( Multi node kubernetes setup into AWS ) Kubeadm ( Multi Node Cluster in our own premises) We will install latest version of Kubernetes 1.7 on CentOS 7 / RHEL 7 with kubeadm utility.  Take three CentOS 7 servers with minimal installation. One server will acts master node and rest two servers will be minion or worker nodes. Master Node components :- ------------------------ API Server  – It provides kubernetes API using Jason / Yaml over http, states of API objects are stored in etcd Scheduler...

Jenkin job type

Image
Jenkin job types  ------------------------------------- Job/Project Types ================== Freestyle Project :-  This is the most "common type" pf project. The build step for this type of project normally executes a shell (Linux) or batch (Windows) command.  Pipeline: This type of project used to be called a "workflow". These projects are normally written in Jenkins Domain Specific Language (DSL). These types of projects are for things that do not fit in a freestyle project, because they are too complicated or span multiple nodes. Multi-Configuration Project: This is for projects that will be tested on "multiple environments", and require different configurations, depending on those environments. Git-Hub Organization: This type of project can use the "source control platform's organization" and allow Jenkins to act on Jenkinsfiles stored within the organization’s repositories. Folder: This provides a method to gr...

Jenkin pipeline creation

Image
  Jenkin pipeline creation step-by-step  What is Jenkins? Jenkins offers a simple way to set up continuous integration and continuous delivery environment for almost any combination of languages and source code repositories. What is Jenkins Pipeline? In Jenkins, a pipeline is a group of events or jobs which are interlinked with one another in a sequence. In simple words, Jenkins Pipeline is a combination of plugins that support the integration and implementation of  continuous delivery pipelines  using Jenkins. A pipeline has an extensible automation server for creating simple or complex delivery pipelines "as code," via pipeline DSL (Domain-specific Language).   What is Continuous Delivery Pipelines? How it Works? In a Jenkins pipeline, every job or event has some sort of dependency on at least one or more events. The picture above represents a continuous delivery pipeline in Jenkins. It contains a group of states called build, deploy, test and re...

300 +DevOps Interview Questions and Answers

Image
DevOps Interview Questions and Answers   300 +DevOps Interview Questions and Answers Q1) what is DevOps? By the name DevOps, it’s very clear that it’s a collaboration of Development as well as Operations. But one should know that DevOps is not a tool, or software or framework, DevOps is a Combination of Tools which helps for the automation of the whole infrastructure. DevOps is basically an implementation of Agile methodology on the Development side as well as Operations side. Q2) why do we need DevOps? To fulfil the need of delivering more and faster and better application to meet more and more demands of users, we need DevOps. DevOps helps deployment to happen really fast compared to any other traditional tools. Q3) Mention the key aspects or principle behind DevOps? The key aspects or principle behind DevOps is: ·          Infrastructure as a Code ·          Continuous Integr...