SwissDataScienceCenter / amalthea

A kubernetes operator for spawning and exposing interactive user session servers.
Apache License 2.0
14 stars 4 forks source link

Amalthea-scheduler image guessing fails on EKS #699

Open aledegano opened 2 months ago

aledegano commented 2 months ago

The guessing mechanism for the version of the Amalthea scheduler fails on EKS because when it queries Kubernetes for the version gets something like: 1.29.6-eks-db838b0 and then tries to launch the image registry.k8s.io/kube-scheduler:v1.29.6-eks-db838b0 which obviously does not exist.

It would probably be enough to check the returned string from the query and remove anything past the last digit.

olevski commented 2 months ago

This is in the helm chart templates, right @aledegano ?

aledegano commented 2 months ago

Yes, I believe so. I might give it a try, but I wanted to open the issue to not forget of the problem.