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 teams, or projects. Names of resources need to be unique within a namespace, but not across namespaces. Namespaces are a way to divide cluster resources… 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 of handlers: ExecAction: Executes a specified command inside the Container. The diagnostic is considered successful if the command exits with a status code of 0.… Read More »

How to enable Elastic Search REST API Accessible using IP Address?

By default http transport and internal elasticsearch transport only listens to localhost. If you want to access Elasticsearch from the host other than localhost then try adding following configurations in config/elasticsearch.yml. Also, 9200 port should be opened. transport.host: localhost transport.tcp.port: 9300 http.port: 9200 network.host: 0.0.0.0 Here, network.host as 0.0.0.0 allow access from any host within… 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 Requirements The latest stable release of Ansible 2 GB RAM minimum (4+ GB RAM recommended) 2 GB RAM (minimum and recommended for Vagrant trial installations)… Read More »

Ansible Playbook Lab & Excercise – Part 3

Create a playbook where you should install a webserver into 2 OS type(Ubuntu and RHEL) with fact conditioning. and list out a directory which in “/etc” and display such as “This is a directory /file in /etc:-XXXx” To be used Conditiong, looping, regiter and fact variable. There are 2 environment DEV and QA. Both has… Read More »

Ansible Windows Playbook Lab & Excercise – Part 4

Write a playbook to Create a dir, named with your-name inside C:\HPE and create a file named with “readme.txt” inside “C:\HPE\ and content of the file should be “I love India by your-name”. Write a playbook to Create a user named with “ansible” and password “ansible in Windows server Write a playbook to Create a… Read More »

Ansible Windows Adhoc Commands Lab & Excercise – Part 3

Write a Adhoc command to Create a dir, named with your-name inside C:\HPE and create a file named with “readme.txt” inside “C:\HPE\ and content of the file should be “I love India by your-name”. Write a Adhoc command to Craete a user named with “ansible” and password “ansible in Windows server. Write a Adhoc command… Read More »