-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
[helm] strategy.type=Recreate
not fully supported by all deployments
#35227
Comments
It is because it has a default value right there:
Your error message says that
Please, can you add this? Or something like that.
Thanks in advance. |
Thanks for the advice! I did see that by default Trying with I also tried However, I think it would be nice to have consistent configuration defaults for
|
I'm also concerned that using It looks like Helm has a bug with default key deletion for subcharts:
I will try to create a reproduction of the issue with Airflow as a subchart, when I have time. |
Yes, I think so. |
Official Helm Chart version
1.11.0 (latest released)
Apache Airflow version
v2.7.1
Kubernetes Version
v1.27.4 (minikube v1.31.2)
Helm Chart configuration
This causes errors:
But this works:
Docker Image customizations
Using Helm chart defaults.
What happened
When installing the Helm chart with
workers.strategy.type=Recreate
and persistence disabled, the installation fails.Helm raises the error:
This also applies for
triggerer
anddagProcessor
.However, the
scheduler
andwebserver
are able to install withRecreate
.What you think should happen instead
Setting
strategy.type=Recreate
should behave the same for all AirflowDeployment
s.The final spec should show something like:
How to reproduce
Run an installation on a new cluster/namespace (will error):
However, this doesn't cause errors:
Anything else
Setting the strategy to this achieves the same functionality as
Recreate
:But a consistent fix would be ideal - either not supporting
Recreate
or allowing it for all deployments.Edit: using Helm's default key deletion works as well (may not work if using Airflow as a subchart - see below)
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: