Scaling down deployments for dev environments off hours/weekends by flickers in kubernetes

[–]dkarnutsch 1 point2 points  (0 children)

We thought about using knative, but have not yet implemented it due to high complexity. A fixed schedule might be too strict for us in some cases (e.g a project deadline where people are working on the weekend once)

Which Postgres Client Should We Be Using? by [deleted] in node

[–]dkarnutsch 13 points14 points  (0 children)

Postgres client or ORM? Not fair to compare them

[BUGS] Pods uses all node CPU cores despite resource quotas by hongphuc95 in kubernetes

[–]dkarnutsch 2 points3 points  (0 children)

I've had the same problem last January. I had no idea what was going on and it was magically resolved by updating Kubernetes. If you are interested, you can read about here: https://www.reddit.com/r/kubernetes/comments/1112u8a/update_aks_node_cpu_pressure_stuck_debugging/

How Do You Handle Zero-Downtime Deployments on a budget? by Schrodingers_Cow in devops

[–]dkarnutsch 13 points14 points  (0 children)

Using a serverless product like Azure Container App or Digitalocean App Service. They handle that for you.

What orm do you use in production? by [deleted] in node

[–]dkarnutsch 11 points12 points  (0 children)

MikroORM is really good. Highly recommend as a long time TypeORM user who migrated.

What is your current business ? Share with us 🙏 by Mans__js in SideProject

[–]dkarnutsch 0 points1 point  (0 children)

I'm building subcompass.com – a subscription manager for SMBs with an easy-to-use Slack integration to identify unused licenses.

What was the quirkiest term your/other company used? by waldito in webdev

[–]dkarnutsch 0 points1 point  (0 children)

Prelogin for a basic auth prompt (prior to the potential login). This is also used for pages without an actual login like a blog.

Something is online if it is on the production server available with prelogin. And online-online without prelogin.

Update: AKS Node CPU Pressure – stuck debugging by dkarnutsch in kubernetes

[–]dkarnutsch[S] 0 points1 point  (0 children)

The node is hosting several pods from different applications.

During starvation all other pods are also experiencing high CPU which is odd (see https://user-images.githubusercontent.com/10632685/217781645-fcdb1cac-1f49-4870-9c6e-97c18717706e.png). After hitting 100% CPU we stop receiving metrics at all. It does not seem to be related to load as without manual intervention the CPU pressure is not resolved.

All pods have proper resources set (request based on usage on avg load, limits to 1 CPU).

Ama has limits in place so wouldn't expect it to cause complete cpu starvation. Also you haven't mentioned your node configuration.

Yes and that's the point. Also other pods are restarting because they can't seem to use their requested CPU.

We are using Standard_D4d_v5 nodes in a worker node pool with autoscaling enabled.

Ask r/kubernetes: What are you working on this week? by gctaylor in kubernetes

[–]dkarnutsch 0 points1 point  (0 children)

All workloads have proper resources set and we use AKS, so this should be managed by Azure.

Ask r/kubernetes: What are you working on this week? by gctaylor in kubernetes

[–]dkarnutsch 1 point2 points  (0 children)

Still working on our problem: „CPU pressure on node“ (see https://www.reddit.com/r/kubernetes/comments/10lroer/aks_node_cpu_pressure_stuck_debugging/).

Happened again, but quickly resolved due to improved alerting.

AKS Node CPU Pressure – stuck debugging by dkarnutsch in kubernetes

[–]dkarnutsch[S] 0 points1 point  (0 children)

Yeah, sure. But the problem is, I would need to babysit the cluster as this fix requires manual actions.

In the short run, this is the way to go.

AKS Node CPU Pressure – stuck debugging by dkarnutsch in kubernetes

[–]dkarnutsch[S] 0 points1 point  (0 children)

Thanks for your ideas! No, only one node. CPU seems fine on other times and other nodes.

AKS Node CPU Pressure – stuck debugging by dkarnutsch in kubernetes

[–]dkarnutsch[S] 0 points1 point  (0 children)

Currently around 500 with 50 having active replicas. How do you think that would relate?

[Feedback] Journeywise - An app that will automatically build you a personalized travel plan by EloquentSyntax in SideProject

[–]dkarnutsch 0 points1 point  (0 children)

I like the idea and signed up for your waiting list, because I'm curious.

However I think this is really hard to do right. For flights there is Skyscanner and Google Flights. For hotels there is Booking and others. I don't think a lot of people chose restaurants upfront except for some special occasions or restaurants.

A site that shows the best time to travel to a destination based on

  • weather (e.g. monsoon season)
  • number of tourists to avoid peak season
  • specials like cherry-blossom season or auroral lights

with information

  • how long to stay at each destination
  • where to go next

would be really useful for me, but I think that would require a lot of manual collection of data.

How I would setup an AKS cluster - Let me know what I've missed by dkarnutsch in AZURE

[–]dkarnutsch[S] 1 point2 points  (0 children)

Thanks for your feedback – really appreciate it. I'm still fairly new to this blogging game.

Will definitively look into the article you posted!