-
Notifications
You must be signed in to change notification settings - Fork 194
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
Pods restart every time the chart is deployed #121
Pods restart every time the chart is deployed #121
Comments
@doug-papenthien-by How are you redeploying every time in the CI? If the chart already exists and is redeployed, then the helm revision # changes every time. Since helm revision # is used as a label in all the daemonsets, k8s detects changes in the daemonset metadata and restarts all the pods.
|
We're using Is there a reason those labels are included in the daemonsets? If I do a |
@doug-papenthien-by I went through the helm best practices too and you are right. The |
Tracker issue - kubernetes-sigs/secrets-store-csi-driver#226 |
Any news on when version 0.0.13 of secrets-store-csi-driver is going to be released, and subsequently, when the secrets-store-csi-driver-provider-azure chart will bump its dependency on it? |
@danquah The release was postponed to this week because of test issues. We're planning to release the new driver and helm charts this week. |
Sounds great 😃 |
What steps did you take and what happened:
As part of integrating this module with our CI/CD pipeline, we're configuring it to do a helm deployment of the CSI driver chart every time the pipeline is run. However, I've noticed that the pods restart every single time this is done even when nothing about the configuration changes.
Is there a good reason for this? At least one of the pods can take several minutes to terminate and restart.
What did you expect to happen:
Pods should only restart if changes are required to the deployment.
Which access mode did you use to access the Azure Key Vault instance:
Service Principal
Environment:
The text was updated successfully, but these errors were encountered: