Working with Kubernetes Cluster using Kubectl Part – 9 – Multi Containers Pods

multicontainer-pod.yaml Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock…

Read more »

Working with Kubernetes Cluster using Kubectl Part – 7 – Labels

PodsToNodes.yaml CreatePodsWithLabels.yaml deployment-label.yaml service.yaml Commands Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories…

Read more »

Working with Kubernetes Pods & Deployment

deployment.yaml pod.yaml Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark,…

Read more »

Kubernetes Commands: kubectl api-versions – Tutorials and Examples

deployment.yaml Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock…

Read more »

Kubernetes Commands: kubectl api-resources – Tutorials and Examples

POD.yaml Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock…

Read more »

Kubernetes Commands: kubectl run – Tutorials and Examples

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock market…

Read more »

Kubernetes Commands: kubectl get – Tutorials and Examples

Listing and Inspecting your cluster, pods, services and more. kubectl cluster-info review status and roles kubectl get nodes Additional information about each node in the cluster. kubectl get nodes -o…

Read more »

Setup Kubernetes Cluster using kubeadm, calico and rbac in Ubuntu

Prerequisite Setup Master Node Setup aka Kubernetes Control Panel Setup Worker Node Setup Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I…

Read more »

Create Google Kubernetes Engine(GKE) Cluster using command line

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock market…

Read more »

Create Azure kubernetes Clustors(AKS) using command line

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock market…

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 »

minikube error – VBoxManage.exe: error: DHCP server already exists

Error Message Solutions minikube stop minikube start Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School,…

Read more »

minikube error – CrashLoopBackOff: secrets is forbidden: User “system:serviceaccount:kube-system:default”

$ minikube dashboard Temporary Error: unexpected response code: 503 Temporary Error: unexpected response code: 503 Temporary Error: unexpected response code: 503 Temporary Error: unexpected response code: 503 Solution Rajesh KumarI’m…

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 »

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…

Read more »

Ansible Playbook Lab & Excercise – Part 7

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…

Read more »

Ansible Windows Playbook Lab & Excercise – Part 8

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…

Read more »

Ansible Windows Adhoc Commands Lab & Excercise – Part 2

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…

Read more »
ansible-install-centos-rhel

How to install Ansible in Centos 7/RHEL 7?

How to install Ansible in Centos 7/RHEL 7? Install Ansible via Pip in RHEL/CENTOS Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus….

Read more »
kibana-7-2-install-and-configuration-in-rhel-7-centos

Kibana 7.2 Install and configuration in RHEL 7/Centos

Install and Setup JDK 8+ Download and Install Kibana 7.X Configure Kibana 7.X How to start kibana service? Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I…

Read more »
elasticsearch-plugin

How to use elastic search EC2 discovery plugin?

Problem To increase the performance in Elasticsearch, many times we add new nodes to Elasticsearch cluster and manually change the configuration file with new IP address, etc. so that it…

Read more »
elasticsearch-error-node

Elastic Search Error – Node is started with node.data=false, but has shard data

[2019-07-11T09:59:18,013][ERROR][o.e.b.Bootstrap ] [es-master01] Exception java.lang.IllegalStateException: Node is started with node.data=false, but has shard data: [/home/ec2-user/elasticsearch-7.2.0/data/nodes/0/indices/6XsNftnbSbOnzPK3wOKc 0w/0]. Use ‘elasticsearch-node repurpose’ tool to clean up at org.elasticsearch.env.NodeEnvironment.ensureNoShardData(NodeEnvironment.java:1065) ~[elasticsearch-7.2.0.jar:7.2.0] at org.elasticsearch.env.NodeEnvironment.(NodeEnvironment.java:324) ~[elasticsearch-7.2.0.jar:7.2.0] Solution…

Read more »
elastic-search-error-max-virtual-memory-areas

Elastic Search Error – max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

Errors [2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] Solution To make it persistent, you can add this line: $ sudo vi /etc/sysctl.conf…

Read more »
elastic-search-error-max-max-file-descriptors

Elastic Search Error – max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]

Elastic Search Error – max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535] Solution Temporary to the current login session To set ulimit value…

Read more »
sample-data-elastic-search

How to create sample data to perform searches using elastic search?

Step 1 – Go to: http://www.json-generator.com/ Step 2 – Download and save as customers_full.json Step 3 – Open customers_full.json in sublimetext Remove the array brackets Find-Replace },{ with }\n{ in…

Read more »
application-x-ndjson-and-application-json

What is difference between application/x-ndjson and application/json?

Lets understand what is json? JSON stands for JavaScript Object Notation JSON is a lightweight format for storing and transporting data JSON is often used when data is sent from…

Read more »
elasticsearch-error-bulk-request

Elastic Search Error – The bulk request must be terminated by a newline

FIX – Add a New line in customers_full.json Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps…

Read more »