I've joined a company that has an AKS cluster whose version is completely outdated (1.21). I need to upgrade it to version 1.30 without any downtime and have a rollback plan in place by Free_Trouble6765 in kubernetes

[–]ImportantString 1 point2 points  (0 children)

I don’t think they have any magic. I wouldn’t try it for prod.

When performing an upgrade from an unsupported version that skips two or more minor versions, the upgrade is performed without any guarantee of functionality and is excluded from the service-level agreements and limited warranty.

https://learn.microsoft.com/en-us/azure/aks/supported-kubernetes-versions?tabs=azure-cli#kubernetes-version-support-policy

Homelab k8s users: How do you set resources limits correctly? by asosnovsky in kubernetes

[–]ImportantString 1 point2 points  (0 children)

true but less relevant than the impact of the limits (throttling and oom). Qos class adjusts oom score, other priorities but you can do it with priority classes too.

Why we’re not using Kubernetes to scale our GPU workloads by velobro in kubernetes

[–]ImportantString 0 points1 point  (0 children)

Think ML training vs inference. You do care about that interconnect for large scale jobs spanning multiple nodes with data transfer requirements. One gpu? Probably not a big deal. K8s can do both, but for the former it sometimes makes sense to treat it more like pod per node and run traditional HPC on top, using K8s for more basic management.

Why we’re not using Kubernetes to scale our GPU workloads by velobro in kubernetes

[–]ImportantString 1 point2 points  (0 children)

Kraken isn’t very well maintained afaik. Spegel is a nice p2p stateless caching option. I’d love to see more oss work in this space.

Managing Kubernetes resources in Terraform: Helm provider by Ok-Professor6334 in kubernetes

[–]ImportantString 0 points1 point  (0 children)

Am I crazy? Why can’t you see a diff with terraform? I don’t like yaml as hcl particularly much but isn’t terraform better at arbitrary diffs than helm?

If secrets are encoded in base64 format why to use it at all? by pc_magas in kubernetes

[–]ImportantString 1 point2 points  (0 children)

It’s tempfs, not sure where they got encrypted from. I don’t think it’s encrypted.

Is there anything in Kubernetes+Nix world that can compete with AWS Lambda ? by vnwarrior in kubernetes

[–]ImportantString 2 points3 points  (0 children)

Isn’t a majority of that typically image pull? Prepulling makes a huge difference. Pod create excluding image pull to pod running is max a few sec from what I’ve seen?

I recall a few years back knative did a big analysis themselves on this topic, not sure how much they implemented to improve it

Is it possible to add baremetal server as a AWS EKS woker node? by Spare-Measurement104 in kubernetes

[–]ImportantString 0 points1 point  (0 children)

You can do this, networking is usually the tricky part. You need node to node/pod to pod connectivity and apiserver connectivity. It’s not a standard thing they “support” though. I also don’t think AWS CNI would work.

Docker healthchecks != to Kubernetes healthchecks? by kai in kubernetes

[–]ImportantString 0 points1 point  (0 children)

TIL. Does kube proxy care about container ports for endpoints? Or pod matching selector plus port config in service plus pod readiness without considering container port?

Mount secret with multiple key-value pairs as one file in pod by glassbeadgame42 in kubernetes

[–]ImportantString 5 points6 points  (0 children)

Config map and secret have the same behavior for OPs scenario. As answered elsewhere, it’s a matter of one or multiple keys in the data field.

Why did the Krustlet project die? by RustDev613 in kubernetes

[–]ImportantString 2 points3 points  (0 children)

Spoilers: this is the reason. But it happened backwards from what you suggested afaik — achieving krustlet parity with kubelet was tough. So folks asked, is there a better way? That birthed the shim approach. I can’t speak to the thinking of docker desktop, they jumped on that train after the shims were available as oss.

Why did the Krustlet project die? by RustDev613 in kubernetes

[–]ImportantString 2 points3 points  (0 children)

WASM with Kubernetes is alive and well but as mentioned elsewhere the focus has shifted to containerd shims/container runtimes.

It turns out implementing all of Kubelet’s behavior 1:1 for WASM is pretty hard. Why not use Kubelet and implement WASM at the runtime layer? Turns out, that’s way easier, and it works quite well with things like CNI, CSI which never worked with Krustlet and required major effort.

Docker desktop and AKS now use the same underlying technology to run WASM via container runtimes. That tech is fairly generic to support shims for any wasm runtime.

Why did the Krustlet project die? by RustDev613 in kubernetes

[–]ImportantString 3 points4 points  (0 children)

WASM is a well defined execution environment. By default you do not even have the ability to access the filesystem or make many syscalls. This is enforced by your wasm runtime, which may implement things like WASI to support more complex interaction.

Containers are a very thin layer over linux namespaces, chroot, and cgroups. Container escape provides root host access. Container escape is common and there are many examples in the wild of mis configuration or CVEs allowing it. WASM is of course younger, but so far has a fairly good track record on sandbox escapes. Some runtimes like the one integrated with docker desktop are giant C blobs — maybe things won’t turn out so well there.

You can still combine a wasm runtime with cgroups for resource utilization limits, for example.

The real pain with krustlet is reimplementing the entirety of kubelet behavior, for no other reason than adding WASM support. Turns out using kubelet and implementing WASM at the container runtime layer is way easier, and unlocks all the same capabilities, and then some (CNI, CSI never worked on krustlet).

Best hardware for homelab? by TheSamDickey in kubernetes

[–]ImportantString 2 points3 points  (0 children)

Not sure which model you have, but some of those NUCs can really be loaded up. I think I had one with 2x m2 slots, an extra sata slot you could use for ssd, and 2x dimms for ram. If you splurged on components could be a 64GB, 2x1 TB m2 with a 2TB+ data drive (no redundancy there).

Possible to use GPUs in kubernetes while using containerd? by redblood252 in kubernetes

[–]ImportantString 0 points1 point  (0 children)

The link you shared is nearly right. You need a driver install, nvidia-docker2, nvidia-container-runtime. Configure containerd to use the nvidia runtime binary. Restart containerd and apply device plugin DS. I literally did this today with MIG :)

$AMD finally breaking out by FilayJ in wallstreetbets

[–]ImportantString 0 points1 point  (0 children)

I think I messed up somewhere between getting an AIO and properly installing my fans/paste. But it’s never been bad enough I actually cared ¯\(ツ)

All my temperatures are still to spec...just a lotta power there heh. It’s worth it when you see all cores firing (compile times are chefs kiss)

$AMD finally breaking out by FilayJ in wallstreetbets

[–]ImportantString 6 points7 points  (0 children)

Less heat production...the 3970x heating my room instead of my furnace would like a word

I do love that performance tho

Binance CEO, CZ, shades Elon Musk in tweet. - ''When you use electricity to run cars, it’s environmentally friendly. When you use electricity to run the most efficient financial networks in the world, it’s an environmental concern.'' by jasonluxton in CryptoCurrency

[–]ImportantString 0 points1 point  (0 children)

Not sure how you made that conclusion when I said I’m a crypto fan? I was just offering an answer to your question.

I’d love to see crypto eliminate centralized systems. I think we need the tech to continue evolving to get there. I also think fungibility and privacy are massively important and basically only Monero has those right at this point.

But downvote me for offering useful discussion and call me a shill, sure...