How to pass http proxy to ansible using environment variables?

It is quite possible that you may need to get package updates through a proxy, or even get some package updates through a proxy and access other packages not through…

Read more »

How to delete/remove/clean existing corrupted or old kubeadm kubernetes clusters setup?

RHEL / Centos Ubuntu How to remove or cleanup kubernetes worker nodes in Centos 7? How to remove or cleanup kubernetes worker nodes in Ubuntu?

Read more »

Setting up Kubernetes Clusters using Kubeadm Manual way in RHEL 7 / Centos7

What is Kubeadm? Kubeadm helps you bootstrap a minimum viable Kubernetes cluster that conforms to best practices. Kubeadm is a tool built to provide kubeadm init and kubeadm join as…

Read more »

Kubernetes Errors: weave-net pod CrashLoopBackOff

Errors Solutions https://stackoverflow.com/questions/39872332/how-to-fix-weave-net-crashloopbackoff-for-the-second-node

Read more »

Kubernetes Errors: Kubernetes nodes are in ‘”network not ready” & “No networks found”

Errors Solutions https://stackoverflow.com/questions/47107117/how-to-debug-when-kubernetes-nodes-are-in-not-ready-state https://stackoverflow.com/questions/50085323/kubernetes-worker-node-staying-in-notready-state

Read more »

Kubernetes Error: kubeadm related errors and solutions

Error 1 Error 1 Error 2 Error 3 Solutions 3 Error 4 Solutions 4

Read more »

Kubernetes supports Windows containers

With the release of Kubernetes v1.14, Windows Server node support has officially graduated from beta to stable! This support enables developers and operators with Windows Server based applications to containerize…

Read more »

How to overwrite Existing AWS EC2 AMI with Packer?

USING FORCE_DEREGISTER ADDED IN V1.1.2, IT WAS VERIFIED WHETHER AWS EC2 AMI CAN BE OVERWRITTEN. THE PROCESS IS TO DELETE THE AMI WITH THE SAME NAME AND THEN CREATE A…

Read more »

Installing uDeploy Server 6.X in linux rhel 7.5

Install and Setup JDK 8 and JAVA HOME Install and Setup uDeploy Server 6.X How to start / Stop uDeploy server?

Read more »

EKS cluster setup error: the server doesn’t have a resource type “services

When an Amazon EKS cluster is created, the IAM entity (user or role) that creates the cluster is added to the Kubernetes RBAC authorization table as the administrator (with system:master…

Read more »

Kubernetes volume hostPath explained with examples

The hostPath volume mounts a resource from the host node filesystem. the resources could be directory, file socket, character, or block device. These resources mu A hostPath volume mounts a…

Read more »

Kubernetes volume emptyDir explained with examples

Here are the following facts for emptyDir storage type in Kubernetes An emptyDir volume is first created when a Pod is assigned to a Node and initially its empty A…

Read more »

Working with multiple virtual Kubernetes clusters aka Namespaces

Kubernetes supports multiple virtual clusters backed by the same physical cluster. These virtual clusters are called namespaces. Namespaces ca be used in multiple environment with many users spread across multiple…

Read more »

How to check Containers readiness inside a pod using readinessProbe?

A Probe is a diagnostic performed periodically by the kubelet on a Container. To perform a diagnostic, the kubelet calls a Handler implemented by the Container. There are three types…

Read more »

How to check Containers health inside a kubernetes pod using livenessProbe?

A Probe is a diagnostic performed periodically by the kubelet on a Container. To perform a diagnostic, the kubelet calls a Handler implemented by the Container. There are three types…

Read more »

Ansible Tower Install and Setup Quick Guide

Supported Operating Systems: Red Hat Enterprise Linux 6 64-bit Red Hat Enterprise Linux 7 64-bit CentOS 6 64-bit CentOS 7 64-bit Ubuntu 12.04 LTS 64-bit Ubuntu 14.04 LTS 64-bit Other…

Read more »

Prevent direct download of photos/video files from amazon s3

You can restrict access based on the HTTP referrer. It’s not bulletproof (Referrer can be spoofed) but it will stop casual downloads. Suppose you have a website with domain name…

Read more »

Ansible Include and Import with differences explanined!

This is one of the most frequest questions being asked in my workshop is that differences between using import or include in Ansible. For example import_role or include_role, what should…

Read more »

Ansible Variable: How can I pass variable to ansible playbook in the command line?

It is possible to set variables at the command line using the –extra-vars (or -e) argument. Variables can be defined using a single quoted string (containing one or more variables)…

Read more »

How to specifying multiple groups in a playbook hosts specification?

By design, Ansible executes just one play at a time. Your playbook consists of two plays (the two items in the root-level YAML list defined by the playbook file). Method…

Read more »