-
Notifications
You must be signed in to change notification settings - Fork 719
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
Beat might not be able to start after update #3485
Comments
I think I'd be +1 for adding a cloud-on-k8s/pkg/apis/beat/v1beta1/beat_types.go Lines 78 to 81 in 096607c
|
Would you not rather want to change the |
Wouldn't that cause all Pods to be deleted before any new ones appear? It seems we lose a lot of rollout safety with that approach - if the config is bad, user is left with no Beats until correct config is supplied (vs the current behavior where only a single Beat is affected). But when I think about it, this seems to be the only way to guarantee avoiding the issue - even with |
Any chance we can also have an option to remove/override the host mount? Deployments are not bound to nodes, so storing state in a host mount doesn't always make sense. What if multiple replicas are scheduled on the same node? |
@anders-cognite you already have full control over the |
I tried overriding I guess it would be nice to be able to also override the |
When:
new Beat will keep crashing with the below.
(We want the new Pod to use the same path to preserve Beat identity.)
What could be a solution is to allow modifying
maxUnavailable
for deployment update strategy, but we don't expose that currently. Right now, the paths to unblock would be:beat-data
volume (Beat won't preserve its identity):The text was updated successfully, but these errors were encountered: