Devops

Signals Handling Inside Docker Container

Linux supports both POSIX reliable signals and POSIX real-time signals. Signal Dispositions: Each signal has a current disposition, which determines how the process behaves when it is delivered the signal. We have different types of signals in Linux The specified default disposition of few signals are below: Term : default action is to terminate the process.Ign     : default action is to ignore the signal.Stop   : Continue Reading

Building Python Packages Using Setuptools

In this blog, we are going to create a source distribution and wheels of python package using Setuptools.  Before moving towards how we can package. Let’s first understand what source distribution and wheel file are. Package means a usable unit or library which can be provided to solve a particular use case. For packaging, we have different build tools like in Scala we have SBT Continue Reading

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

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

Knoldus Pune Careers - Hiring Freshers

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