Kimi450 / ubuntu_server

Setup an ubuntu server with ease.
85 stars 10 forks source link

Move to TrueCharts for helm charts #7

Closed Kimi450 closed 1 year ago

Kimi450 commented 1 year ago

Luckily, TrueCharts was an inital fork of k8s-at-home so the config as I had it works here by default. Only had to change the repo.

NOTE: arm architecture doesnt seem to be supported at the moment

Kimi450 commented 1 year ago

So as I was working on this, I saw that TrueCharts also includes a bunch of other seemingly random manifests including a prometheus operator. This prometheus operator was interferering with the operator from kube-prometheus-stack's install. Found it out because of this post.

Need to maybe see if I can disable these manifests from being installed cause I dont need them

Kimi450 commented 1 year ago

Even after removing the starter manifests install, custom CRDs are installed (no way around this at the moment)

I am still seeing high disk and CPU usage compared to the old setup.

Reproduce

Logs from the helm pods dont show anything interesting

Comparing the helm manifests (with helm get all on both releases, old setup and new) show nothing concerning either. I am confused :)

Kimi450 commented 1 year ago

Todo:

Kimi450 commented 1 year ago

Relevant discord thread

Kimi450 commented 1 year ago

I tried the following (all of em and different combinations as well and saw some coincidental improvements) StatefulSet changes

ingress changes

service changes

But in the end, the high disk usage I saw was being I was being an idiot :)

I had Minikube set to use 2.5GB of RAM and that cause a lot of page swaps I think (or some other related stuff) causing the high disk utilisation leading to relavtively higher CPU usage too. Increasing it to 6 gigs fixed the issue. Not related to the limits in the values of the charts (cause theyre not requests).

Because the RAM usage at the host level showed as <50% util, I didn't even think about minikube not getting enough resources...

Kimi450 commented 1 year ago

Jellyfin doesnt seem to allow hardware acceleration. Looking into it.

Kimi450 commented 1 year ago

The jellyfin hardware accelleration issue was linked to not running the pod as admin, so I will run it was root now. That fixed the issue.