Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade instructions for when Traefik or Dask Gateway's CRDs has changed #553

Closed
consideRatio opened this issue Apr 21, 2022 · 0 comments
Closed

Comments

@consideRatio
Copy link
Collaborator

consideRatio commented Apr 21, 2022

Any Helm chart that provides CRD resources, as we do, should have a clear procedure related to it because they are treated differently than other resources in a Helm chart.

The topic is quite complicated, but here are relevant resources:

I've only skimmed through this currently but can conclude that our chart upgrades are failing because the modern Traefik version we now use in the Helm chart assumes updated CRDs are installed. The CRDs aren't modern though, because helm won't upgrade them as part of upgrading the chart if they are already around.

To not block the release process fully, my plan is to investigate if the instructions Prometheus provides about manually applying the CRDs ahead of time is sufficient for us as well.


The following upgrade instructions has been found to be functional!

# Helm chart users need to run the following when upgrading to 2022.4.0 from 0.9.0
kubectl apply -f https://raw.githubusercontent.com/dask/dask-gateway/2022.4.0/resources/helm/dask-gateway/crds/daskclusters.yaml
kubectl apply -f https://raw.githubusercontent.com/dask/dask-gateway/2022.4.0/resources/helm/dask-gateway/crds/traefik.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant