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, 25 June 2022
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
-
az aks get-credentials is used to get the kubeconfig updated so that we can access AKS clusters from a terminal (You need to first use az ...
-
GitHub Actions are the CI/CD workflow implementation tool built into GitHub repos. While using the GitHub Actions workflows you may want to ...
-
Some times a silly mistake can waste lot of time of a developer. The exception “System.IO.IOException: The response ended prematurely.” whil...
-
Pull Request are the controlled way to bring in the changes to your stable branches in your Azure Git repos, or for that matter all Git prov...
-
Using Azure Redis cache with C# throws an error message such as below while accessing the Redis cache via a private endpoint. StackExchange...