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

Image may be NSFW.
Clik here to view.

Resolve Windows Docker Build "C:\Program...

 Building .NET 6 project with Resource files is running into build issue as shown below, when building with .NET 6 nanoserver build images.C:\Program...

View Article


Image may be NSFW.
Clik here to view.

Docker Alpine (mcr.microsoft.com/dotnet/runtime) - Resolve...

.NET app running with mcr.microsoft.com/dotnet/runtime docker alpine images, might run into issue "Microsoft.WindowsAzure.Storage.StorageException: Only the invariant culture is supported in...

View Article


Image may be NSFW.
Clik here to view.

Workaround Solution for Intermittent CrashLoopBackOff in Windows Containers...

Let's look at a temporary solution to the issue Intermittent CrashLoopBackOff in Windows Containers Running on AKS (.NET 6 Apps with System.Net.Sockets.SocketException 11001 and 10060). Same issue is...

View Article

Image may be NSFW.
Clik here to view.

Restart Count Details of Each Pod and Container for App in Grafana Chart with...

 Pod and container restart counts monitoring are discussed in posts "Pod Restart Counts Grafana Chart with Azure Monitor for AKS" and "Container Restart Counts Grafana Chart with Azure Monitor for...

View Article

Image may be NSFW.
Clik here to view.

Store Azure Service Bus Connection String as a Secret in Azure Key Vault with...

 We can create Azure Service Bus and Azure key vault as resources using Bicpe IaC (Infrastructure as Code). Setting up of Service Bus connection string as a Secret in Azure Key Vault via IaC is...

View Article


Image may be NSFW.
Clik here to view.

Create Key Vault Reference in Azure App Config Service with Bicep IaC

 We have discussed "Store Azure Service Bus Connection String  as a Secret in Azure Key Vault with Bicep IaC" previously. Setting such a secret in Azure App configuration service as a key vault...

View Article

Image may be NSFW.
Clik here to view.

Store Azure SignalR Connection String as a Secret in Azure Key Vault with...

  We can create Azure SignalR and Azure key vault as resources using Bicpe IaC (Infrastructure as Code). Setting up of SignalR connection string as a Secret in Azure Key Vault via IaC is important, so...

View Article

Image may be NSFW.
Clik here to view.

Dynamically Adding Virtual Network Rules to Azure Cognitive Account Using...

 To enable access to various Azure resources via given virtual networks and subnets, we have to setup allowd subnets using virtual network rules in Azure resources. For example Azure Cognitive Account...

View Article


Image may be NSFW.
Clik here to view.

HPA Desired Pod Counts for All Services Summary - Grafana Chart with Azure...

 Monitoring the desired pod count by each horizontal pod autoscaler for your application is useful to get a summarize view, that will help to understand scale out demand of each individual service. We...

View Article


Image may be NSFW.
Clik here to view.

Fix Azure Advisor "Update VNet permission of Application Gateway users" in...

 In last two days there was an alert in the AKS ingress app gateway, recomending to  "Update VNet permission of Application Gateway users". Then starting on 20th June 2023, any newly created  AKS...

View Article

Image may be NSFW.
Clik here to view.

Fix Terraform Azure AD Group Read with "403 Insufficient privileges" in Azure...

 For deploying Azure resources  with Terraform via Azure pipelines we use service principals (SPN) to connect to Azure from Azure DevOps. You might encounter "403 Insufficient privileges" errors while...

View Article

Image may be NSFW.
Clik here to view.

Zero Downtime Blue-Green Deployment for AKS with Terraform - Simulation Using...

In this post we use a resource group to demo a blue green deployment scenario for AKS with Terraform IaC, to understand the steps required for successful pipline implementation. Same pattern can be...

View Article

Image may be NSFW.
Clik here to view.

Generate KVSet json Format Using appsettings json for Updating Azure App...

 To apply Azure App Configurations including key vault secrets reference key values and normal key values, using a single file requires to use KVSet file as described in the Article here.  With Azure...

View Article


Image may be NSFW.
Clik here to view.

Fix Terraform Azure AD App Registration (SPN) Read Permssions Running with...

 Azure DevOps use service principals (SPN or Azure AD app registration) to make a service connection to Azure to be able to run Terraform or other IaC based resource deployments targeting Azure. You...

View Article

Image may be NSFW.
Clik here to view.

Ensure Azure App Config Refresh for Keyvault Secret Updates in Terraform

Keyvault secrets can be used in Azure app conciguratoins and can e setup with terraform. However, if the secret is modified then modified secret reference is not get updated to the app configuration....

View Article


Image may be NSFW.
Clik here to view.

Mapping SQL Database SKU Bicep Specs with Available SKUs in a Region

 How to fnd SKU information for SQL databses is documented here. The command suggested to use is az sql db list-editions -l region -o table . This would provide available list of SQL database SKU...

View Article

Image may be NSFW.
Clik here to view.

Using Object Type Azure DevOps YAML Pipeline Parameter in PowerShell Task

 Using a YAML pipeline paramter in a PowerShell task is straight forward for types such as string. For example, if there is a YAML pipeline parameter named env of type string, we can read it in...

View Article


Image may be NSFW.
Clik here to view.

Importing a Git Repo with LFS to Azure GIt Repos

 Importing a git repo to Azure DevOps Git is straight forward using the Azure DevOps portal. However, if the importing repo has large files with git lfs then the cloning of the repo after import fails...

View Article

Image may be NSFW.
Clik here to view.

Build and Unit Tests for .NET Apps with GitHub Actions

 Executing unit tests and viewing results in unit tests in a build pipeline is essential to keep high quality in an application deployment via any pipeline system. GitHub actions are the way forward to...

View Article

Image may be NSFW.
Clik here to view.

Running Pod Counts for All Services Summary - Grafana Chart with Azure...

Monitoring the actual running pod count, against the desired pod count by each horizontal pod autoscaler, for your application is useful to get a summarize view, that will help to understand ow the...

View Article
Browsing all 340 articles
Browse latest View live