Quantcast
Channel: Chaminda's DevOps Journey with MSFT
Browsing all 344 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Resolve C# Connection Issue "StackExchange.Redis.RedisConnectionException: No...

 Using Azure Redis cache with C# throws an error message such as below while accessing the Redis cache via a private endpoint.StackExchange.Redis.RedisConnectionException: No connection is...

View Article


Image may be NSFW.
Clik here to view.

Create K3D Cluster with Local Docker Registry

 K3D is the lightweight wrapper allowing us to run K3S Ranchers minimal Kubernetes deployment easily in local environments. Developers can quickly create a cluster, test the apps in containers with...

View Article


Image may be NSFW.
Clik here to view.

Resolve " Got permission denied while trying to connect to the Docker daemon...

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

Enable Swagger UI with an .NET 6 API having Custom Routing

 In .NET APIs using swagger for API documentation is really useful to perform API testing and to describe API. We may need to set custom API routing, specially when w deploy the APIs as contianers to...

View Article

Image may be NSFW.
Clik here to view.

Listing and Switching Kubernetes Config Contexts

You may be having to work with multiple Kubernetes clusters while development or administering. Once you add credentials to kubeconfig you can work with a single cluster at a time, sing kubectl...

View Article


Image may be NSFW.
Clik here to view.

Enable Application Gateway Ingress Controller (AGIC) for AKS - SImplest Way...

 With AKS you can use Nginx ingress controller as can be done with any Kubernetes cluster. However, you might want to have more integratied exp[erience with Azure cloud services, so that other Azure...

View Article


Image may be NSFW.
Clik here to view.

Path Based Routing to AKS Ingress with Application Gateway Ingress Controller

 We have discussed getting Application Gateway Ingress Controller (AGIC) deployed using AGIC addon method in the post "Enable Application Gateway Ingress Controller (AGIC) for AKS - SImplest Way with a...

View Article

Image may be NSFW.
Clik here to view.

Log All Requests in ASP.NET Core API

Logging all incoming requests and the respose returned data in an API are useful way to diagnose any issues and monitor requests to an API. You can easily enable request logging in AP.NET Core 6 APIs,...

View Article

Image may be NSFW.
Clik here to view.

Kubernetes Pod Logs - View Latest Logs Faster

 We have discussed about enabling detailed request, resposnse logs in ASP.NET Core APIs in the post "Log All Requests in ASP.NET Core API". In a contianerinzed API running in a Kubernetes cluster, say...

View Article

Image may be NSFW.
Clik here to view.

Create Service Connection in Azure DevOps for Azure Container Registry

 To push docker contianer images from Azure Pipelines to Azure Container Registry (ACR) you need to establish a connection between the Azure DevOps Team Project and the Azure Continer Registry in the...

View Article


Image may be NSFW.
Clik here to view.

Create Service Connection in Azure DevOps for Azure Container Registry -...

Adding Azure Container Registry (ACR) service connection to Azure DevOps  is really simple as described in "Create Service Connection in Azure DevOps for Azure Container Registry", when you have the...

View Article

Image may be NSFW.
Clik here to view.

Create Service Connection in Azure DevOps for Azure Container Registry -...

Adding Azure Container Registry (ACR) service connection to Azure DevOps  is really simple as described in "Create Service Connection in Azure DevOps for Azure Container Registry", when you have the...

View Article


Image may be NSFW.
Clik here to view.

Resolve 404 for manifest.webmanifest in Azure App Service

 If you are deploying PWA apps with Node JS/Angular to Azure App Services on Windows, you might encounter "The resource you are looking for has been removed, had its name changed, or is temporarily...

View Article

Image may be NSFW.
Clik here to view.

Show Terraform Plan in Azure Pipeline Summary

You can view the terraform plan details in the Azure pipeline terraform task logs when you are executing terraform plan in Azure pipelines. However, I would be great to view  the plan in the pipeline...

View Article


Image may be NSFW.
Clik here to view.

Manually Push .NET App Docker Image to Azure Container Registry

 You might want to do quick test deploying your containers to AKS or Azure App Services, while development is ongoing. I fyou do not have a pipelines setup yet you may need to manually push your docker...

View Article

Image may be NSFW.
Clik here to view.

Deploying AKS with Kubenet and Application Gateway Ingress Controller (AGIC)...

 We have discussed how to setup AGIC for AKS in the simplest way as an addon to AKS using Azure portal ina previous post. In this post lets look at how we can get a new AKS cluster setup with kubent...

View Article

Image may be NSFW.
Clik here to view.

View More lines in VS Code Integrated Terminal

VS Code might be your favourite development tool to develop in any language in any platform. It has integrated terminals, for PowerShell, comand prompt, Git Bash, WSL  Azure Cloud shell etc. You may...

View Article
Browsing all 344 articles
Browse latest View live