Nginx-Ingress controller doesn't working after Kubernetes 1.24+ upgrade in Azure AKS
My customer require that we have supported versions of software installed, and I'm forced to upgrade Kubernetes as well according to the support policy of Kubernetes releases in Azure.
Last Kubernetes 1.24+ upgrade was not very clean - Nginx-ingress controller failed, and all our applications stopped responding.
- Hits: 2412
Mount local folder to a container as a volume in Helm
Some time ago I switched to another project, that is working completely in Kubernetes on Azure AKS. Honestly, I tried to use Azure Monitor for monitoring of infrastructure and application, but I didn't succeed.
So I've decided to return to my deeply loved Zabbix, run it in Kubernetes, send e-mails and notifications to Microsoft Teams and show graphs and panels in Grafana.
Of course, a question appeared, how to deploy it to Kubernetes, how to configure, how to upload my custom scripts?
- Hits: 1026
Query pods logs of Azure Kubernetes from Log Analytics
When you create Azure Kubernetes Service cluster (AKS), you can specify Log Analytics resource for logging and monitoring of Kubernetes resources: pods, services, configmaps, etc. This thing is actually installing Log Analytics agent inside your cluster (there will be several pods and related resources like configmaps), which then will send stdout and stderr outputs from pods to Log Analytics.
Unfortunately, the schema of these logs inside Log Analytics is quite complex, mostly because that the log record is coming from container, but not the pod, so they have multiple tables, which we must connect to get human-readable logging data.
- Hits: 1241
Error "ModuleNotFoundError: No module named 'pkg_resources'" after upgrading 'py3-setuptools' package in Alpine Linux container
I'm using 'boky/postfix' docker image for emails sending from my Kubernetes-cluster. Recently security scanning system started alerting me about vulnerability in the 'py3-setuptools' package (Alpine Linux), which I can mitigate by upgrading that package to the latest version.
As usually, I'm going to my custom Dockerfile and updating string for explicit package upgrade...
- Hits: 312
How to check Alpine Linux version inside container
While working with many applications in containers, especially if you're not building them yourself, it's not always clear, what type of base operating system you're using.
There are two commands below to quickly check Alpine Linux version (will work for most distributives, actually) from the console:
- Hits: 553
Free-up Azure AKS disk space
If your Kubernetes Azure AKS cluster is old enough, especially in development environments, it will definitely run out of disk space, because AKS will store all container images (and in DEV environments they're changing quite often) on the disk.
I wasn't able to find, how often AKS engine is executing some clean operation (but it does, absolutely). However, in my case, space usage reached those already critical 80% and continued to grow. Here's how can run cleaning manually.
- Hits: 377
Azure resources automated scaling as configuration
While Azure Cloud is a great solution for your application and stuff, there's still lack of essential features for building cost-efficient environments. What I mean here?
In software development process, you will need at least two non-production environments:
Those will not be used so frequently as production tier, mostly by development\QA teams. And it's obvious you can save some money for your company by scaling Azure resources down or turning them off completely during night or weekend.
- Hits: 26624
More Articles …
Page 1 of 13