CPU-based HPA is a lagging indicator π
By the time CPU spikes enough to scale, your queue is backed up and latency is blown.
Scale on what users feel: queue depth, request latency, in-flight requests.
CPU follows demand. It never predicts it.
@rakyll The job controller analogy is the sharp part: retries, backoff, and completion semantics are what agent loops lack today.
The hard part is not scheduling, it is identity and budgets: capping what a parent agent can spawn, and paging someone when the loop never converges. βοΈ
3/ Check helm history first
helm history <release> shows the revision you are going back to. Wrong revisions get picked all the time.
4/ Roll forward beats roll back
If the fix is a one-line values change, deploy v3 instead. Rollbacks hide the bug and leave the DB weird.
Helm rollback is not an undo button. π§΅
I watched a team roll back a bad release and take down the DB migration with it. The chart was fine. The rollback plan wasnt.
Before you ever run helm rollback, check these 4 things:
1/ DB migrations dont roll back
helm rollback restores the old chart, not the old schema. If v2 migrated the DB forward, v1 pods crash on the new one.
2/ Secrets get reverted too
Old revision restores old secret values. Rotated creds get un-rotated. Ask me how I know π
4 saved-plan habits that keep Terraform honest πΎ
β’ plan -out=tfplan, apply that exact file
β’ never re-plan after review
β’ store it in CI artifacts, not git
β’ plans embed provider versions and go stale
the plan you reviewed should be the plan you apply
@livingdevops Solid history. The part that gets missed: K8s did not win on containers, it won on the API. Declarative desired state plus control loops became the contract every cloud copied, so AKS, EKS, and GKE all feel the same under the hood.
@_jaydeepkarale Agreed, and the AI era is actually raising the bar for Kubernetes: GPU scheduling, gang scheduling, and dynamic resource allocation are now core skills, not extras. The engineers who win here will be the ones who learn scheduling, not just YAML.
Your VNet isn't private. π§±
Default NSGs allow all outbound internet. Your 'isolated' subnet can reach the world unless you explicitly block it.
I check this on every inherited subscription now, it surprises people every time.
Add an explicit deny rule. π
shadcn/improve is the smartest use of expensive models I have seen in a while: let the strong model audit and plan, let the cheap model execute. Most teams do it backwards and pay top-tier prices for grunt work. π§ πΈ https://t.co/A408E2e50L
@alexxubyte What I like here is how small the request path is once you remove the control plane: Ingress to Service to endpoints to Pod.
Most outages I debug live in that short chain, usually a label mismatch breaking the Service selector. βΈοΈπ
AVM Key Vault v0.13.0 moves the vault, locks, role assignments and diagnostics to AzAPI ποΈ
moved blocks carry state over, so no destroy. But telemetry now uses empty subscription-scope deployments instead of ModTM, so check policies before you bump π
https://t.co/eXq6AnM2bE
@DataChaz The Terraform comparison is the right one, but the killer feature is not the plan, it is drift detection. Infra stays correct because Terraform notices when reality moves. A knowledge graph that does the same would catch stale facts before they poison retrieval. π§ π
Ran terraform plan in CI. The PR comment printed our DB password in plain text π
A module output wasn't marked sensitive. Outputs inherit nothing from the variables feeding them.
One line fixed it: sensitive = true. Then rotate the password π, it's already in the logs.
@mischavdburg The real test is day-2 ops: GPU driver and CUDA version pinning across node upgrades, and how node image rollouts work at GPU scale. Rancher and Talos won on boring reliability. NVIDIA has to match that, not just the launch. πβοΈ
3. Test with a throwaway pod: kubectl run test --image=busybox, then curl the service. Trust the test, not the YAML.
4. Don't forget DNS: egress to kube-dns on UDP 53. It's the #1 thing people miss, then wonder why lookups die.
NetworkPolicies in your cluster but pods still talking to everything? π§΅
Most teams apply a policy, see no error, and assume it works. It probably doesn't.
Here's the checklist I run before trusting any NetworkPolicy:
1. Confirm your CNI actually enforces policies. Azure CNI Overlay and Cilium do, kubenet does not. Wrong CNI and your YAML is just decoration.
2. Check default-deny exists in every namespace. Without it, unlabelled pods talk freely.
Most AKS outages aren't Kubernetes problems. They're identity problems in disguise. π
Pods crashlooping? Check the managed identity token before the scheduler.
ImagePullBackOff at 3am? Usually an expired ACR credential.
Kubernetes gets the pager. Identity did the crime.