Preventing Perpetual Diffs with Nested Blocks in Terraform Resources
We may run into a situation where Terraform shows changes on every terraform plan, even though we have not changed our Terraform code. As an example, this can happen with nested service_endpoint...
View ArticleRestore Given Index in Elastic Search to a Diffrent Index Name from a Snapshot
In elastic (cloud or on self hosted in AKS) we can take snapshots of our indices. If we want to restore evrything we can do a full restore for a recovery. However, in a situation where we need to...
View ArticleEnabling Prometheus Data Scraping for Nginx-Gateway Deployed in - AKS Setup...
We have discussed how to setup Nginx-Gateway instead of Nginx ingress controller in AKS in previous posts listed in the bottom of this post. We have also looked at "Setup Managed Prometheus for AKS...
View ArticleDiagnosing Native Errors in .NET Apps Running in the Linux Containers (exit...
We might have to sometimes use native assembiles such Aspose.Slides.NET6.CrossPlatform as for specific needs....
View ArticleSetup Valkey (Open Source Redis) Prerequisites in AKS
Valkey is the open source redis alternative. We have discussed getting AKS instance ready for Valkey in the post "Create AKS Cluster to Setup Valkey Cluster (Open Source Redis)". Let's look at the...
View ArticleIdentifying VM Sizes Available for AKS in a Given Azure Region
We sometimes come across issues such as shown below while trying to deploy AKS clusters. It could be due to diffrent reasons. One such case is the below one where there is no availability for the VM...
View ArticleGet Pod Counts via Kubectl in WSL
It would be usefull to figure out how many pods running in a given AKS cluster sometimes for various diagnostic needs. In this post let's see how we can use kubectl command to get pod count in...
View ArticleCreate AKS Cluster to Host Valkey Cluster (Open Source Redis)
Since bitnami redis images have gone commercial now the best open source redis clsuter setup option is to use Valkey, which is guranteed to be open source forever. The source code repos for Valkey is...
View ArticleMount Per Pod Managed Disk to AKS Pod to Provide Isolated Disk Space for...
In AKS processing files on AKS node disk by application pod is not a recommended approach. It could lead to issues in stability of the AKS node itself. Therefore, we have two options. Either mount an...
View ArticleRabbitMQ KEDA Trigger for AKS Deployed Apps to Scale Out the Apps Accurately
We have discussed "Setting Up RabbitMQ Cluster in AKS Using RabbitMQ Cluster Operator" in a previous post. Baed on rabbitmq messages we may want to setup a trigger to auto scale our apps to handle the...
View ArticleEnable Updating GitHub Environment Variables via GitHub Actions Workflow
To update environment variables defined in GitHub environment, via a GitHub action workflow we cannot use the default GITHUB_TOKEN .✅ GITHUB_TOKEN can interact with repository contents (depending on...
View ArticleEnvironment Deployment Approvals for GitHub Action Workflow
In GitHub actvaions workflows we can use environments to scope varibles and protection rules. Let's compare Azure DevOps pipeline environments to GitHub Actions workflow environments, differences...
View ArticleCode for Creating a Multi Stage Workflow Structure with GitHub Actions -...
In the previous post "Create Multi Stage Pipeline Structure with GitHub Actions - The Layout - Mapping Azure DevOps Multi-Stage Pipelines to GitHub Actions - Part 2" we have dicussed the GitHub action...
View ArticleCreate Multi Stage Workflow Structure with GitHub Actions - The Layout -...
In "Mapping Azure DevOps Multi-Stage Pipelines to GitHub Actions - Part 1" we have discussed the limitation of GitHub action workflows compared to Azure DevOps pipelines. Further, we have compared the...
View ArticleFix Keda Upgrade on AKS with Helm Fail Due to Field Ownership Conflicts
AKS runs an internal mutating component called the admissionsenforcer (part of the AKS-managed "admissions enforcer" / addon-manager). After KEDA's ValidatingWebhookConfiguration (keda-admission) is...
View ArticleMapping Azure DevOps Multi-Stage Pipelines to GitHub Actions - Part 1
Migrating from Azure DevOps to GitHub Actions is mostly about rethinking stages → jobs, and stage dependencies → job dependencies (needs) while keeping environments and deployment isolation intact....
View ArticleMonitor and Profile Memory Usage in a Running .NET Linux Pod in AKS
Sometimes we need to understand what causes high memeory usages or if any memory leaks in our application setup. When we see pod memeory is not reclaimed for longer intervals, analyzing the usage and...
View ArticleUpdate Deployment Resource Allocation in AKS with Kubectl
Sometimes we might have to update resource allocations (memory and CPU) in AKS deployed apps without full redeployment. In such cases we can easly use kubectl to patch the deployment so it increase or...
View ArticleHandle Nginx Gateway Certificate Refresh While Inplace Upgrade in AKS
In the post "High Availability Deployment of Nginx Gateway Fabric Replacing Retired Ingress Nginx in AKS - Part 2 - Deploy Nginx-Gateway-Fabric" we hav discussed how to get nginx gateway setup in AKS....
View ArticleAdding SnippetsFIlter to HTTPRoute in Nginx Gateway to Implement Proxy...
We have discussed "Setup Nginx-Gateway Routes and Create Gateway Policies to Map with Ingress Nginx Annotations" in a previous post. However, we have not setup all that were previously set via...
View Article