🌉 bridged from @weastie@lemmy.world by Tidepool
weastie
@weastie.lemmy.world.ap.tdpl.io
Is it okay to "hold" a parking spot by standing in it for a few minutes?
Curious what the community thinks of this. When I have a friend who's less than 5 minutes away, sometimes I will go out and look for (street) parking spots, and if I find one, I'll just stand in it until they get there. In my opinion this is totally okay to do, given that they'll be there in a few minutes.
But every now and then someone fights me about it. They'll nearly run me over trying to park in it, and I'll say I'm holding it. They'll say you can't do that. Idk man, look I get it if it was like 15+ minutes that's no good, but if a friend is just a few minutes away I think that's totally fine.
I mean we're talking about a public street here. Tell me if you think I'm wrong
How do you handle multi architecture (x86/arm) clusters?
I'm prototyping whether or not making an EKS cluster multi architecture will save money or not. It seems like it obviously will, because AWS charges less for ARM servers, but it also reduces your bin packing efficiency.
The main thing I'm curious about, is for pods that support both x86 and ARM, would you force them to run on ARM, or allow them to run on either and let Kubernetes determine wherever it is best?
Allowing them to be flexible would be cheapest because it would allow the scheduler to place them on whichever node architecture is available. For example, even though ARM is cheaper, if you currently have extra resources available on x86 nodes, it's actually cheaper to place the pod on an available x86 nodes rather than spin up another ARM node.
But then I'm worried about the production safety-ness. Especially if you have multiple pods from the same deployment, some on ARM and some on x86, anytime a problem comes up you'd have to consider whether or not the split architecture is a factor.
Using Karpenter by the way.
Hard to achieve memory efficiency in Kubernetes clusters?
When setting
resourceson Kubernetes pods, I'm finding it very difficult to achieve good memory efficiency. I'm using the "no CPU limits, set memory=limits" philosophy that I hear heavily recommended on the internet. The problem is, that many pods will have random memory spikes. In order for them not to be OOM Killed, you have to set the memory requests for them above their highest spike, which means most of the time they're only using like 25% or so of their memory allocation. I've been trying to optimize this one cluster, and on average I'm only getting 33% of the total memory requested for all the pods in the cluster actually being used. Whenever I try decreasing some pod's memory requests, I eventually get OOMs. I was hoping I could reach closer to 50%, considering that this particular cluster has a stable workload. I'm sure that I could optimize it a bit better, but not by much. Is this a shared experience in Kubernetes? That you ultimately have to sacrifice a lot of memory efficiency.Would you host apps in Kubernetes even if they don't make full use of it, just to use a consistent set of devops tools?
Hi all,
I'm on a team right now that is converting a lot of apps that are running on ec2 over to eks, and we're starting with apps that make the most sense for eks. Apps like LGTM stack which have lots of distributed components, Airflow, etc.
We're setting up flux and renovate which really streamlines maintenance, and I like it so much that I'm wondering about converting apps that aren't particularly well suited for kubernetes over to eks just to use the same toolset.
We have some apps on ec2 that are essentially just a single docker container, they can be run in parallel but they don't have to talk to each other.
Some of these apps don't require many resources, so the $70 / month control plane cost of EKS is significant, which I imagine is the biggest reason we wouldn't convert over.
Just curious what thoughts are on this.
Sixers trade Caleb Martin to Dallas Mavericks for Quentin Grimes and a 2025 second-round pick
What's your opinion on balancing ethicality and salary for a CS job?
I know this is a really vague question, I'm hoping for some open discussion
For some background, I currently have 2.5 years of professional work experience, and I work for a large defense contractor doing devops.
My approach to ethicality so far was basically, I need to start somewhere before I can be picky. I got hired at a large defense contractor out of college, and now that I've hit the 2 year mark for work experience, I have some flexibility in my next job when I decide to do that.
If money wasn't a problem, I'd love to use my degree to do good for the world, or at least work for an industry I don't think is evil. And truthfully, even the lower end of CS jobs still pay better than the higher end of many other degrees.
But right now I'm looking at job offers, and it seems like if I move to a tech, medical, or financial company, I could likely see a salary increase of 30-50%, which would be huge for me as I'm young and have debts to pay off (though much less than others, I'm pretty privileged).
At the same time, if I took a tech job working for my city, I found a position that I am perfectly qualified for but it's a 10% cut from my current salary which I already believe to be a bit too low.
Just curious to see how everyone else has made these decisions. It's very tempting to follow the money and take the highest paying job, but I'd love to work somewhere I'm genuinely proud of.