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

Decouple the ClusterQueue snapshots queue from the CQ reconciler #1099

Closed
mimowo opened this issue Sep 8, 2023 · 14 comments
Closed

Decouple the ClusterQueue snapshots queue from the CQ reconciler #1099

mimowo opened this issue Sep 8, 2023 · 14 comments
Assignees
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.

Comments

@mimowo
Copy link
Contributor

mimowo commented Sep 8, 2023

This is a follow up for the comment: #1069 (comment)

What would you like to be cleaned:

Decouple the snaphotsQueue from the CQ reconciler.

Why is this needed:

To improve readability by not overloading the reconciler with responsibilities.

@mimowo mimowo added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Sep 8, 2023
@lowang-bh
Copy link
Member

/assign

@mimowo
Copy link
Contributor Author

mimowo commented Sep 19, 2023

@lowang-bh FYI: #1135 makes the coupling somewhat stronger. I'm wondering if this is still feasible.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 28, 2024
@tenzen-y
Copy link
Member

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 30, 2024
@mimowo
Copy link
Contributor Author

mimowo commented Jan 30, 2024

I think it is fair to close it, we probably prefer to have the visibility server anyway, and we could drop the workloads in status entirely in the future releases. It is Alpha level anyway at this point.

@tenzen-y
Copy link
Member

we probably prefer to have the visibility server

I'd also prefer to use the visibility server. However, we can not remove ClusterQueueVisibility without visibility-server since the ClusterQueueVisibility without visibility-server is under the beta stage, and we already expose pending workloads via beta API, ClusterQueue.

So, I think that some refactoring would still be effective.

@mimowo
Copy link
Contributor Author

mimowo commented Jan 30, 2024

Hm, even though the feature itself is Alpha-level:

// alpha: v0.5
?

I would prefer to deprecate it and drop entirely.

@tenzen-y
Copy link
Member

tenzen-y commented Jan 30, 2024

Hm, even though the feature itself is Alpha-level:

// alpha: v0.5

?
I would prefer to deprecate it and drop entirely.

Oh, I see. I thought this is in beta stage due to:

However, I think that we can not change APIs without backward compatibility since the ClusterQueue API is beta.

@mimowo
Copy link
Contributor Author

mimowo commented Jan 30, 2024

Can we just keep dummy API and remove the code to support it, is there any procedure to remove beta apis?

@tenzen-y
Copy link
Member

tenzen-y commented Jan 30, 2024

Can we just keep dummy API and remove the code to support it

I'm not sure that it follows the Kubernetes deprecation policy.
@alculquicondor Let us know what we should do in this case.

is there any procedure to remove beta apis?

You mean that introducing a new API version, v1beta2 or v1?

@mimowo
Copy link
Contributor Author

mimowo commented Jan 30, 2024

You mean that introducing a new API version, v1beta2 or v1?

I meant to remove an API field, possibly going to v1beta2 without the fields.

@tenzen-y
Copy link
Member

I meant to remove an API field

This way has breaking backward compatibility... So I think that we can not take this way.

possibly going to v1beta2 without the fields.

If so, we probably need to provide conversion webhooks.

@alculquicondor
Copy link
Contributor

Yes, we should remove it once we are ready to go to v1beta2 or v1.

Let's close this for now.

/close

@k8s-ci-robot
Copy link
Contributor

@alculquicondor: Closing this issue.

In response to this:

Yes, we should remove it once we are ready to go to v1beta2 or v1.

Let's close this for now.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

No branches or pull requests

6 participants