Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "Devops"

Using MetalLB as LoadBalancer service to Kubernetes bare metal

The intent of this Load balancer is to spread the workload among different servers or applications. It can be set up on both physical and virtual infrastructures. The load balancer traces the accessibility and availability of pods with the Kubernetes Endpoints API. When it gets an app request for a …

Read more

Terraform module clone VMware vSphere Linux and Windows virtual machine

After writing initial Terraform code to clone VMware Virtual Machine template Using terraform to clone a virtual machine on VMware vSphere infrastructure, There was a requirement to clone Linux and Windows Virtual Machines using the single TF file and it must create multiple VMs from map hash table …

Read more

Terraform VMware vSphere Virtual Machine cloning Operating system not found

After cloning VMWare Virtual Machine using Terraform code, I waited for a long time but terraform apply command was not getting completed and was in the creation state of indefinitely. The VM was cloned on the vCenter server and it was powered on. But when I checked on the VM VMware web remote conso…

Read more

Setup HAProxy for Ingress Controller Kubernetes Cluster

In earlier article I configured Setup and deploy Ingress controller for Kubernetes on Bare Metal servers. To get the web url working in the browser I had used local hosts file to add DNS host entries under directory /etc, but everytime I try the dns url in the browser it was taking me to the fir…

Read more

Setup and deploy Ingress controller for Kubernetes on Bare Metal servers

After install, setup and configuration of Kubernetes Cluster in my bare metal servers, I wanted to do the POC (proof of concept) of Ingress resource for one of the production environment. 

Kubernetes Ingress is an API entity that lets entry to your Kubernetes services from outside network. It p…

Read more

Kubernetes kubeadm join could not find a jws signature in the cluster-info ConfigMap for token ID

While configuring Kubernetes cluster using kubeadm tool and joining Worker nodes into the cluster I receiving below error.

kubeadm join token discovery token ca cert hash preflight kubernetes cluster api server jws signature cluster-info configmap control-plane k8s master node worker node.jpg

Another error: Kubernetes kubeadm join couldn't validate the identity of the API server connection refused

Complete articles:
Configure Nginx Load Balancer for the …

Read more

Kubernetes kubeadm join couldn't validate the identity of the API server connection refused

While configuring new worker node in Kubernetes cluster using kubeadm tool I was receiving below error. Basically I was trying to join worker node in the Kubernetes cluster control-plane using kubeadm join command, but it was failing because of multiple reasons.

Kuberenetes error kubeadm join error preflight error execution phase preflight couldn't validate the indentity of the api server connect connection refused init 6443 dial tcp.jpg

Complete articles series on i…

Read more

Install and configure Kubernetes cluster worker nodes using kubeadm - Part 3

In this third part of configuration of Kubernetes cluster I have completed earlier part of a blog Install and configure Kubernetes cluster master nodes using kubeadm - Part 2. I have three Ubuntu server nodes installed in my lab for Worker nodes to add in Kubernetes cluster using kubeadm tool. Be…

Read more

Install and configure Kubernetes cluster master nodes using kubeadm - Part 2

After preparing NGINX load balancer for Kubernetes API Server in Configure Nginx Load Balancer for the Kubernetes API Server - Part 1. It is time to use this LB in Kubernetes cluster. I will setup 3 master nodes in control-plane. Before deploying master nodes using kubeadm, I am preparing servers …

Read more

Configure Nginx Load Balancer for the Kubernetes API Server - Part 1

Although I have written two articles for installation and configuration Kubernetes cluster, it was built with very basic configuration and tried to keep it simple. Here in this article I am configuring full fledged Kubernetes cluster requiring intermediate skills on linux.

Check my articles on …

Read more

How to install kubernetes worker node on ubuntu Part 2

This is a second part of How to install kubernetes master control-plane on ubuntu. In the Part 1 I made my master node ready. If you are following the article, after executing kubeadm init command you will receive kubeadm join command which you need to use on K8S prepared worker node. Below is the…

Read more

How to install kubernetes master control-plane on ubuntu Part 1

If you’re using containers, there’s a great possibility you’ve heard of Kubernetes, or K8s (in short). In straightforward language, Kubernetes is an open-source system for orchestrating, automating deployment, scaling, and management of containerized applications. Kubernetes is a tool intended to ge…

Read more

Ansible authenticate to Microsoft Azure using credential profiles Part 1

My earlier article Quickstart How to authenticate Ansible with Microsoft Azure was for basic and foundation for authentication to azure using Ansible. But I have scenarios with multiple subscriptions to automate multiple azure clouds using Ansible, in that case I will make use of multiple credentia…

Read more

Conditionally create resources in Terraform

I had scenario with Terraform to deploy resources based on the value given in variables. This is also an example of count and if condition. When you use count inside the resource block and if value is mentioned 0 that resource will not be deployed. Now I am giving the count number programmatically …

Read more

Get Started: Configure Ansible for Azure Cloud Infrastructure

This is second part of How to install and configure Ansible on Ubuntu, where I will be installing and configuring Microsoft Azure modules to use it with ansible for Microsoft Azure cloud infrastructure automation. I have python-pip3 is already installed, The next instructions is to install ansible[…

Read more

How to install and configure Ansible on Ubuntu

This is a step by step installation and configuration procedure of ansible on Ubuntu. Ansible is an open source IT automation mechanism that programs provisioning, configuration management, application deployment, orchestration, and many other IT processes. I have my Ubuntu server already setup and…

Read more

Importing already created module Infrastructure into Terraform and update state file

This is a second part of Importing existing resources into Terraform - Step by Step, in earlier article I imported resource mentioned in tf file, here in this article I will be importing existing module resources and update tfstate file. Below are the module structure of my resources in the terrafo…

Read more

Importing existing resources into Terraform - Step by Step

When working on already created existing Azure from portal or other scripting tool then managing it using terraform tool can be little bit tedious. I encountered in a situation while working on one of my client's Azure infrastructure, I needed to modify/update existing resources. Here is the view of…

Read more

Terraform for_each loop on resource example

In this article I will be using for_each loop to deploy same resources multiple time. This is a third part of earlier series of Terraform for_each loop on map example. Using the for_each loop I will deploy multiple Subnet resources inside Azure Virtual Network (VNET). Using loop I can keep my terra…

Read more

Ansible AWX Tower Github inventory integration | Github inventory source

After working on Step by Step guide to configure first Project Job Template on Ansible AWX Tower. The most crucial part was configuring Inventory. I wanted a dynamic inventory which can be modified or automatically updated easily. Although there is a dynamic inventory option available on Ansible AW…

Read more

20 blog posts

Blog Search

Page Views

8559713

Follow me on Blogarama