DevOps

Introduction with handlers in Ansible

Reading Time: 2 minutes Hi readers, In this blog, we will be discussing the use case of Ansible handlers also we will be looking at how multiple handlers work get notifr Ansible. What is Handlers in Ansible? Handlers are just like normal tasks in an Ansible playbook but they run only when if the Task contains a “notify” directive. It also indicates that it changed something. Let take a Continue Reading

Python Scripts: An Introduction

Reading Time: 7 minutes Introduction Python is a great flexible programming language that can be used in many situations. In this tutorial, we will focus primarily on it’s ability to enhance the Unix/Linux shell environment. Typically in Unix we will create “bash” shell scripts, but we can also create shell scripts using python, and it’s really simple! We can even name our shell scripts with the .sh extension and Continue Reading

Ansible Roles: Directory Structure

Reading Time: 4 minutes Hi readers, in this blog we will be discussing about Ansible roles and the directory structure used in Ansible. Above all, we will be looking at what different directories in a role do and how they can be created. What are Ansible Roles? According to the official Ansible documentation ‘roles are ways of automatically loading certain vars_files, tasks, and handlers based on a known file Continue Reading

Handling Errors in Ansible

Reading Time: 3 minutes Hello readers, in this blog we will be looking at how to handle errors in Ansible Playbooks. There are multiple ways for doing the same and we will be looking at them and how to use it in our Playbook. By default, Ansible will check the return codes of commands and modules and it fails fast. This means that we will be forced to deal Continue Reading

ReplicationController and ReplicaSet in Kubernetes

Reading Time: 5 minutes Hello readers, Welcome to another blog on kubernetes. My previous blog was on pods. Today, I’ll be covering ReplicationController and ReplicaSet, which are considered as wrappers on a pod. So before going further, I would like you to go through my previous blog and get a basic idea on pods. Replication Controller As discussed above, replication controller, also termed as rc in short, is a Continue Reading

Users and Groups in Linux

Reading Time: 4 minutes Hello readers, welcome to my blog on users and groups in Linux. As we know that Linux is a multi-user operating system, we’ll see how to add and configure the users and groups in Linux. What does multi-user mean? An operating system is considered as multi-user when it allows multiple users to access a computer. Also, Keeping security in mind, it does not allow a Continue Reading

Data Structures in Python

Reading Time: 4 minutes Hello readers, this blog is all about the predefined data structures in python. This includes Lists, Tuples, Sets, and Dictionary. We’ll see each of the data structure one by one and how they are declared. So, let’s get started. Lists A List is a data structure which has an ordered sequence of elements. The elements in the list can be mutable, which means that we Continue Reading

Apache Spark: Read Data from S3 Bucket

Reading Time: 2 minutes Well, a one working with spark is very much familiar with the ways of reading the file from local either from a Table or HDFS or from any file. But do you know how tricky it is to read data into spark from an S3 bucket? So, this blog makes you give a stepwise follow up to how to read data from an S3 bucket. Continue Reading

OpenEBS – Container Attached Storage (CAS)

Reading Time: 4 minutes OpenEBS is the leading open-source project for container-attached and container-native storage on Kubernetes. OpenEBS adopts Container Attached Storage (CAS) approach, where each workload is provided with a dedicated storage controller. OpenEBS implements granular storage policies and isolation that enable users to optimize storage for each specific workload. OpenEBS runs in userspace and does not have any Linux kernel module dependencies.

Understanding data persistence in Lagom

Reading Time: 4 minutes When we create any microservice, or in general any service, one of the biggest task is to manage data persistence. Lagom supports various databases for doing this task. By default, Lagom uses Cassandra to persist data.

How to make an executable jar file for deployment in scala

Reading Time: 3 minutes The importance of writing this blog is to solve the following problem(creating executable jar file) which I faced during my project. In this blog, we see a simple scala application i.e “HelloWorld” Problem: We all know that the “sbt package” command is used to create a jar file of a scala application. When I tried to run a jar file it shows the following error. Continue Reading