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

Deployment randomly stuck when using with KubeVela #197

Open
phantomnat opened this issue Jan 11, 2024 · 0 comments
Open

Deployment randomly stuck when using with KubeVela #197

phantomnat opened this issue Jan 11, 2024 · 0 comments

Comments

@phantomnat
Copy link
Contributor

phantomnat commented Jan 11, 2024

Hi,

I'm running kruise-rollout using multi-batch strategy along with kubevela and found that the deployment was stuck on spec.paused = true sometimes.

The issue:

There is a gap between removeRolloutProgressingAnnotation (to delete rollouts.kruise.io/in-progressing annotation) and batch release Finalize (to remove other annotations and set spec.paused to false). When strategy changed, the Finalize cannot do the cleanup properly.

The steps are like this:

  • rollouts.kruise.io/in-progressing annotation got removed.
  • KubeVela Application reverted back to deployment spec from Recreate to RollingUpdate.
  • then Finalize skipped the cleanup due to strategy changed.

I can only think of skipping the deployment strategy check in the Finalize.

Please kindly suggest me.

Thank you.

Notes:

  • kruise-rollouts: v0.4.x
  • kubevela: v.1.8.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant