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

Question about ResumeProfile #54

Closed
Tycale opened this issue Jun 11, 2024 · 1 comment
Closed

Question about ResumeProfile #54

Tycale opened this issue Jun 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Tycale
Copy link
Contributor

Tycale commented Jun 11, 2024

Describe the bug

I expected that declaring a ResumeProfile would allow me to specify pods that should always remain active, even when the namespace is suspended. However, this does not seem to be the case.

To Reproduce

Steps to reproduce the behavior:

  1. Define a ResumeProfile targeting specific pods.
  2. Set the annotation k8s-pause/suspend to "true" on the namespace.
  3. Observe that all pods in the namespace are paused, including those specified in the ResumeProfile.
  4. Set the annotation k8s-pause/suspend to "false".
  5. Observe that only the targeted pods in the ResumeProfile are resumed, while the others remain paused.

Expected behavior

I expected that the pods specified in the ResumeProfile would always remain up and running, regardless of the namespace suspension state. Specifically:

  • When k8s-pause/suspend is set to "true", the pods defined in the ResumeProfile should continue running, while all other pods are paused.
  • When k8s-pause/suspend is set to "false", all pods should resume, but the pods in the ResumeProfile should not have been paused in the first place.

Is this a bug or is it intentional behaviour? How can I create an exception such that a set of pods never pauses?

Thank you for looking into this issue.

@Tycale Tycale added the bug Something isn't working label Jun 11, 2024
@Tycale
Copy link
Contributor Author

Tycale commented Jun 11, 2024

I submitted a proposal to achieve what I’m looking for: #55
Therefore, I will close this question.

@Tycale Tycale closed this as completed Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant