Saturday 25 June 2022

Deploying Nginx Ingress to AKS Using a Makefile in a Custom Namespace

 Nginx is a popular ingress controller used in Kubernetes. We can use the yaml file here to deploy Nginx ingress controller to Azure Kubernetes Services. By default the namespace ingress-nginx will be used to deploy the Nginx controller. Let's see the usage of a Makefile to deploy Nginx ingress controller to AKS in a custom namespace utilizing the yaml file here.

Saturday 18 June 2022

Set Environment Variable for .NET Core Running in WSL2 Ubuntu 20.04 Distro

Testing .NET Core applications with environment varaibles as dependency, on Linux using WSL2 and Ubuntu distro, requires you to set environemnt varaibles in WSL2 distro. For settiing up environement variable in your WSL2 distro you can use the ~/.profile file.

Friday 10 June 2022

Get WSL 2 Distro /etc/hosts File Updated via Windows hosts file

 The hosts file in /etc/hosts is allowing the WSL distros to map IP addresses to domain names before going to domain name servers, similar to the Windows hosts file available in C:\Windows\System32\drivers\etc\hosts. You can maintain WSL host file sperately from your Windows host file or let your WSL host file to be generated automatically (the default behavoir) by using contents in your Windows hosts file. 

Saturday 4 June 2022

Resolve " Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json": dial unix /var/run/docker.sock: connect: permission denied"

While setting up docker on Ubuntu 20.04 you might run into below issue permission denied error is shown while trying to execute any docker command.

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json": dial unix /var/run/docker.sock: connect: permission denied

Popular Posts