Menu

Virtual Geek

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

Blog posts : "Devops"

Terraform one module deploy null or multiple resources based on input (nested for loop)

This article is about little bit advanced structure in the terraform module, Here I using terraform functions to create a module where multiple resources will be created from given map or object input. If map or object is null (not mentioned) there shouldn't be error and it should skip making those …

Read more

Hashicorp Terraform map and object inside module and variable example

This is example of map and object functions used in variable and Terraform module. Here is my tree view of module folders and tf files.

terraform hashicorp hcl tree module map and object example microsoft azure cloud resource group storage account.png

In the module variable I am using two terraform functions object and map to define data. To use object, provide information in key value pair and dictionar…

Read more

DevOps Part 1.1 SCM Git - Create Resource Group in Microsoft Azure

This will be multipart article series on DevOps. In this part I am going to configure SCM git (Source control) and push my code to centralized repository on Github.com. For this first I need a system where I will complete all my DevOps Labs configuration and use it as a workstation. I will create a …

Read more

Part 3: Using HashiCorp Packer to build a Windows Server VM template for VMware vSphere

HashiCorp Packer.exe is an open source tool for building identical Virtual machine golden images for various platforms from a single source configuration. Packer is lightweight, runs on every major operating system, and is highly efficient, creating Master/Base machine images for several platforms i…

Read more

Access credential parameters stored in Ansible Tower within a playbook

This article is helpful in below operations.

  • How to access credential (secret vault values) parameters stored in Ansible Tower within a playbook? (For example: Secrets, username, password, etc)
  • How to use these variables when delegating to another host in the same playbook?

Resolution

Read more

Git clone or push Missing or invalid credentials fatal authentication failed

While working with Git clone I was receiving fatal: Authentication failed and Missing or invalid credentials error. This happens due to missing password or it is not mentioned.

Git Visual studio clone fatal authentication ansible awx fatal variable pass connection error vscode missing or invalid credentials scm.png

[vjanvi@ansiblwcentos variablepass]$ git clone http://[email protected]/Bonobo.Git.Server/ansibleawx.git
Clonin…

Read more

How to install Ansible AWX on Ubuntu using Kubernetes K8S

This is step by step in the detailed installation guide of Ansible AWX operator (Automation controller Tower). On this channel earlier I had written 2 articles on how to install Ansible AWX operator but they are no longer valid as the installation instruction has been changed. For any new changes yo…

Read more

Can not execute kustomize build issue installing Ansible AWX Operator

While installing Ansible AWX operator tower (Automation Controller) for the development team, I was receiving the below error. I was following the official installation guide given from https://github.com/ansible/awx-operator.

kustomize kustomization.yaml yml kubernetes manifest configuration vmware vsphere ansible awx operator azure ansible platform automation controller tower setup sevalsymlink git.jpg

ubuntu@AnsibleAWX:~$
ubuntu@AnsibleAWX:~$ kustomize build . …

Read more

Rancher k3s.yaml permission denied when using kubectl - Kubernetes

While working with Install and Setup your own Kubernetes Cluster with K3s, I installed K3s as a non sudo root user. After complete installation when running any kubectl command I was receiving the below error.

ubuntu@AnsibleAWX:~$
ubuntu@AnsibleAWX:~$ kubectl get nodes
WARN[0000] Unable to…

Read more

Install and Setup your own Kubernetes Cluster with K3s

K3s is a trivial, lightweight, easy to install, implement, and operate version of standard Kubernetes (K8s). The main part is it is not a fork of Kubernetes. K3s is a certified Kubernetes lightweight distribution. It can be used to run production workload as well. I found it is easier to install K3S…

Read more

MINIKUBE Unable to start VM - This computer doesn't have VT-X AMD-v enabled

While setting up and starting minikube in my lab How to Install Minikube on Ubuntu - Step by Step, I was receiving two errors. First error was related to not running minikube start as root privileges. Which was resolved after existing from the root account and running minikube as a normal user.

Read more

How to Install Minikube on Ubuntu - Step by Step

This is a step by step guide to install Minikube on the Ubuntu Linux system. Minikube is a lightweight Kubernetes implementation that creates a VM on your local machine and deploys a simple cluster containing only one node. Minikube is available for Linux, macOS, and Windows systems. Minikube is ve…

Read more

Using Ansible to Manage Windows Servers initial setup – Step by Step

In this article I will be configuring and connecting Ansible server and Windows host for Microsoft Windows system configuration management. First prepare Ansible host by installing ansible.windows collection with ansible-galaxy command. Next install pywinrm and python3-winrm Python packages with …

Read more

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

20 blog posts

Blog Search

Page Views

11717884

Follow me on Blogarama