Devops

OpsInit: Adding a Github webhook in Jenkins Pipeline

Have you ever tried adding GitHub webhook in Jenkins?? In this blog, I will be demonstrating the easiest way to add a webhook in our pipeline. First, let’s see what is a webhook?? The concept of a WebHook is simple. A WebHook is an HTTP callback: an HTTP POST that occurs when something happens. GitHub webhooks in Jenkins is used to trigger our build whenever Continue Reading

OpsInit: Basic Understanding of DevOps – Part 1

In this blog, we will take a leap into the world of DevOps and learn some basic terms used in it. Let’s understand with the example.

OpsInit: Introduction to Systemd

Introduction Let’s talk about init processes, What are they and how they work? Init stands for initialization which implies that it is the first process that runs when we start our system. This process is the father to all the processes. There are some disadvantages due to which it has been replaced by Systemd. These disadvantages are as follows: Starts tasks serially. It waits for one Continue Reading

OpsInit: ReplicaSet VS DaemonSet in Kubernetes

Kubernetes API is growing day by day and they are adding new features every day. The latest feature they added was DaemonSet. Although they had ReplicaSet,  DaemonSet is the K8 object they added. Let’s see the difference. ReplicasSet will ensure that the number of pods (defined in our config file) is always running in our cluster. Does not matter in which worker node they are Continue Reading

Log Rotate: Managing Your Cluster Log Made Easy

Log Rotation through Ansible to compress log files and save disk space.

DCOS : Deploy a Load Balanced App using Marathon-lb

In this blog, we are going to deploy a sample load balanced app over DCOS and expose it to the outside of the cluster using Marathon-lb. Here we will be using a containerized application which serves a DCOS site. Here we are using Marathon-lb as an external load balancer. It is based on HAProxy which provides proxying and load balancing for TCP and HTTP based applications. Continue Reading

CI/CD: The Jenkins Way

First, There was Waterfall model, software builds took a long time to develop and then deployment alone was time-consuming. Now, Agile, revolutionizing the way we follow the development cycle making it faster, deliverables have the same quality and they are delivered much faster. Bang! and Now we have Dev Ops.. Where the Agile methodology releases build annually, quarterly or monthly, Dev Ops speed up the Continue Reading

Setting Up Master Slave Machines Using Jenkins

Jenkins is a cross-platform, continuous integration and continuous delivery application that can be used to build and test your software projects continuously making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build, which in turn increases your productivity. When you are working on a number of projects which get built on a regular Continue Reading

Setting Up Cassandra Cluster Through Ansible

In this post, we will use Ansible to and set-up an Apache Cassandra database cluster. We will use AWS EC2 instances as the nodes for the cluster. Creating a cluster manually is a tedious task. We have to manually configure each node and each node must be correctly configured before starting the cluster.With Ansible, we can automate the task and let Ansible handle the configuration Continue Reading

NGINX – Redirecting HTTP to HTTPS

Using HTTPS is highly recommended and I cannot stop when explaining the benefits of using it! Also something which is more important is to make sure when HTTPS is setup it is ensured that all traffic via HTTP is blocked in a way that it is redirected to HTTPS. This can be easily achieved by giving NGINX the following set of instructions in the virtual Continue Reading

NGINX – Load Balancing your application made easy

Often there are requirements to load balance your application in order to scale out and make your application more performant and NGINX can be used to do just that! It can distribute your traffic to several application servers. There are several load balancing methods available in NGINX which are round robin – wherein the requests are distributed in a round-robin fashion least connected – request Continue Reading

NGINX – Redirecting traffic between www and non-www domain

Just in case you ever wondered whether the re-routing from www to non-www or non-www to www domain is possible using NGINX then you bet it is! In fact it is very simple and can be done using the following steps 1. Redirecting from www to non-www Setup a initial virtual server block to point your domain to your content, a simple example would look something Continue Reading

NGINX – Disable direct access (via http and https) to a website using IP address

For the requirements wherein direct access to a website using IP address has to be disabled/blocked, following steps can be followed To disable/block direct access to IP for port 80 create a new or add to an existing (as required) server configurations as follows server { listen 80 default_server; server_name _; return 404; } where _ catches all the domain names pointing to your server’s Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!

%d bloggers like this: