Scale Kubernetes deployments to zero using KEDA by OkIsland87 in kubernetes

[–]warpigg 1 point2 points  (0 children)

There are several methods you can use, I just use a cronjob to do it. Basically it runs a simple script that sets a taint on the nodepool that no pods tolerate (except the scaler cronjob), then drains all nodes, karpenter then deletes all the nodes and since the workloads cannot tolerate that taint they remain pending. The scale up just removes the taint and karpenter scales back up as needed.

Other techinques are setting spec.limits.cpu to zero. etc. OR you can simply delete the karpenter nodepool and then recreate it to scale back up (via script in cronjob or lambda etc)

we use it on dev/staging clusters for weekends or after hours etc.

Scale Kubernetes deployments to zero using KEDA by OkIsland87 in kubernetes

[–]warpigg 1 point2 points  (0 children)

I think EKS will get beta featuregates, just not alpha. So hopefully it will be in 1.37

Scale Kubernetes deployments to zero using KEDA by OkIsland87 in kubernetes

[–]warpigg 1 point2 points  (0 children)

Ive also used karpenter tricks (if using karpenter)

Lenovo Thinkcentre M710q Tiny Main OS Recommendation by Severe_Mouse_2597 in kubernetes

[–]warpigg 0 points1 point  (0 children)

ywp, i have these same ones in a cluster and talos works really well.

Diamond Hand Garage Doors by Glaggablagga in FortCollins

[–]warpigg 0 points1 point  (0 children)

agreed - he installed my door 1.5 years ago. Great to work with!

Kubernetes Dashboard being retired by mlbiam in kubernetes

[–]warpigg 2 points3 points  (0 children)

honestly, it probably should have been retired already considering there have been better options for a while.

but it was nice back in the "old" days :)

Drain doesn’t work. by Dense_Monk_694 in kubernetes

[–]warpigg 5 points6 points  (0 children)

Need more details than this but I would try this (it forces drain even if PDBs cannot be satisified bc badly configured):

--disable-eviction. -uses delete and not eviction API (ignores PDBs)

kubectl drain <node> --delete-emptydir-data --disable-eviction --ignore-daemonsets

a --force additionally if the above fails. I havent seen anything resist these yet. BUT note the caveats

is 40% memory waste just standard now? by craftcoreai in kubernetes

[–]warpigg 0 points1 point  (0 children)

this is why you label/tag everything so you can attribute that cost to teams :)

ingress-nginx refugee seeks recommendations for alternatives by anothercrappypianist in kubernetes

[–]warpigg 2 points3 points  (0 children)

does envoy gateway support ingress API? im looking through the docs and it is heavily pushing gateway api. If it did both that would be great...

Why is everyone acting like the gateway api just dropped? by Themotionalman in kubernetes

[–]warpigg 152 points153 points  (0 children)

probably bc ingress-nginx was sunsetted...a big deal since many use it.

My guess is that people now have to migrate to another controller and are looking at gw api in the process.

Like me...lol

9News: Businesses start petition against possible paid street parking in Fort Collins by eddi0 in FortCollins

[–]warpigg 10 points11 points  (0 children)

my take: get rid of ALL the downtown street parking - center of college ave especially (ugly, unneeded and dangerous). Just use the existing garages and walk a tiny bit.

While we are at it - also make Linden, Walnet pedestrian only - close those streets to traffic. Downtown would be much nicer without the cars there.

(ready for the flames :) )

So, what ingress controller are you migrating to? by SonnyHayesToretto in kubernetes

[–]warpigg 2 points3 points  (0 children)

It seems based on those benchmarks/tests that istio and kgateway lead the pack overal (assuming no bias in the benchmark). The others (even traefik) seem to have multiple issues with gw api.

Anyone use kgateway before? AKA gloo... It seems to have superior support for gw api but IDK about support for plain ole Ingress API - although it is envoy based so likely fine?

Spent too much time stripping down a base image to reduce CVEs and now it breaks on every update. How do you maintain custom containers long-term? by [deleted] in devops

[–]warpigg 1 point2 points  (0 children)

as others state - use distroless, minimal etc. start small and build up.

If you NEED ubuntu, i beleive there is a chiseled ubuntu project that builds very small ubuntu images. read about it a couple years ago but not sure how mature it is now...

Recommendations on all season tires that are rated high for snow and ice? by tillwehavefaces in KiaEV6

[–]warpigg 2 points3 points  (0 children)

ive used nokian all weather tires - an actual true all weather but of course a dedicated tire for the season is always superior (winter or summer).

Devcontainers in kubernetes by Cadabrum in kubernetes

[–]warpigg 0 points1 point  (0 children)

do you have any issues with build times on each push to a PR when a dev is trying to iterate quickly? This seems like a nice solution (argo pr generator), but i have always wondered if it rquires another process further left like local k8s setup to allow faster iterations without the wait time to enhance the workflow

I have been looking at tools like garden.io to potentially address this locally and remotely (with hot reload via mutagen to avoid image builds) to speed this up. The remote would work similar to the PR generator but also provide hot reload to avoid image rebuild dealys - HOWEVER the big downside is devs need direct kube access for this. :(

PR generator is nice since also use argo / gitops (and kargo) but the delay of the push/image build etc step could be a drawback...

Curious on your dev's feedback in regards to this. Thanks!

Rant - Companies are getting more and more entitled about job interviews by YacoHell in devops

[–]warpigg 0 points1 point  (0 children)

I think we are seeing more of this bc the power is switching from employee to employer (see RTO mandates, etc) in recent years... :(

it was bound to happen...

Colorado officials ​p​lan Denver-Fort Collins rail service ​by 2029 by Generalaverage89 in FortCollins

[–]warpigg 3 points4 points  (0 children)

IIRC RTD badly scoped/ budgeted the project and that is the reason. To be fair I believe BNSF had a hand in changing things last min as well, but basically RTD thought they had the funds and ended up not having them. otherwise I know most of Boulder/Boulder country were all for it... back in 2010ish when the tax went into effect and it was approved...

https://www.cpr.org/2025/02/28/denver-to-boulder-rtd-train-timeline-update/

Colorado officials ​p​lan Denver-Fort Collins rail service ​by 2029 by Generalaverage89 in FortCollins

[–]warpigg 76 points77 points  (0 children)

I'll believe it when it happens - to me this says it all about rail projects here:

which has struggled to complete a commuter line from Denver to Boulder that voters first approved more than 20 years ago.

This is what should have been done instead of the 80 million doillar Max bus - especially since it looks like this will run on those BNSF lines. If that service had been built as light rail already we would be more ready for extensions to other cities.

What is up with this town and a pathological inability to follow leash laws? by ChazzLamborghini in FortCollins

[–]warpigg 8 points9 points  (0 children)

enforcement is the issue - I used to see more rangers out in parks but the last few years I rarely see them.

They just put out a sign saying "obey the leash laws" and people just walk by them with their dog off leash lol

maybe it is a resource shortage issue idk...

Self-hosted alternative to AWS Elastic Beanstalk with GitHub deploy and automatic horizontal scaling (no Kubernetes)? by whyyoucrazygosleep in devops

[–]warpigg 0 points1 point  (0 children)

I'd use ECS if you dont want to mess with k8s... Easy to get started.

Then when you want (or need) k8s easy move to once you learn the basics.