vanvalenlab / kiosk-console

DeepCell Kiosk Distribution for Kubernetes on GKE and AWS
https://deepcell-kiosk.readthedocs.io
Other
35 stars 6 forks source link

chore: update to Kubernetes 1.22 #461

Closed willgraf closed 2 years ago

willgraf commented 2 years ago

Kubernetes 1.21 will reach EOL soon on GKE. To upgrade to 1.22, there are a number of deprecated beta APIs that are currently in use:

Each of our helm charts that uses the above APIs has been updated to use the stable v1 version. The redis-consumer chart was also simplified by removing a service in the chart that was never used. (kiosk-autoscaler and kiosk-redis-janitor were both updated to use the 22.x kubernetes client).

There are also a number of 3rd party helm charts in-use that use the deprecated APIs. Several of them have been deprecated since the migration away from the stable/helm repository. This PR updates the following 3rd party helm charts to the latest supported version:

Unchanged

Things that were NOT changed:

Testing

I ran a test Mesmer job to make sure things work as expected. Using the LoadBalancer API, I was able to successfully submit a job and get valid results. The GPU was then spun down. I validated the custom metrics were working in the Grafana visualizer (and tested OpenVPN in doing so). This screenshot shows a Mesmer job ratio metric change as it has a new job and processes it:

Screen Shot 2022-06-29 at 5 44 40 PM