General

Anything related to technology.

Simplifying VM Management: Executing Commands in Guest VMs using Virsh

If you are using virsh/qemu for Virtual machine management, then there are many occasions when an administrator requires to run some commands on the guest VM. This is made very simple by “Quem-guest-agent.” This post demos two approaches to running a command in the Virtual guest machine. Prerequisite:(Teststed for Ubuntu Host and Guest Machine) Approach-1: …

Simplifying VM Management: Executing Commands in Guest VMs using Virsh Read More »

An Amazingly fast way to create Virtual machines

If you create Virtual machines often and manually install the same tools repeatedly, this post is for you. Using ansible, I have written a simple playbook to create the virtual machines within seconds. The playbook would automatically install any desired software you want. The playbook would also run any command you would like to execute …

An Amazingly fast way to create Virtual machines Read More »

How to simulate traffic in Kubernetes cluster?

This post will show the most straightforward yet extremely powerful way to simulate traffic load in your environment, including the Kubernetes cluster. We will be using fortio for traffic generation for desired duration and requests per second. To see fortio in action, let’s see an example:we assume our application is an Nginx pod and will …

How to simulate traffic in Kubernetes cluster? Read More »

How to use callback plugins in ansible

Ansible is highly configurable and extendable for users. This post will show us how to use the callback plugins(shipped with ansible) to extend the playbooks. Ansible ships with many great callback plugins, a majority of these plugins are to control the output format of the playbook or to generate some sort of notification. Some examples …

How to use callback plugins in ansible Read More »

Why not use the script module in ansible?

In most cases, ansible inbuilt modules are enough to do the job. However, in some cases, it’s either highly complex or impossible to achieve the goal using ansible inbuilt modules. In such cases, many users write their scripts(Eg: bash or python,Etc.), which is fine for most cases. However, there are some downsides to using scripts. …

Why not use the script module in ansible? Read More »

Scroll to Top