-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Deprecate AlgorithmSource from scheduler ComponentConfig #87526
Comments
If agreed, we can do this as part of https://github.com/kubernetes/enhancements/blob/master/keps/sig-scheduling/20200114-multi-scheduling-profiles.md, which is adding v1alpha2 Ref #85737 |
+1 on adding this as part of v1alpha2. And in the KEP, we should point out that if a deprecated option (--algorithm-provider) is provided, how we'd honor the precedence. This is needed as the deprecated option is documented in the [official doc].(https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/) |
Our current behavior is that when using component config, command line flags are ignored, except for |
/assign |
/unassign |
We can proceed with the 2nd part of this after #89298 lands |
Actually, we still need to support the command line flag, don't we? |
/cc |
Bumping this, do we want to go forward with deprecating AlgorithmSource? Policy config is gone in v1alpha2 (and v1alpha1 is gone now too, right?) So the only thing AlgorithmSource still configures is the provider (which is only default or autoscaler kubernetes/pkg/scheduler/algorithmprovider/registry.go Lines 60 to 62 in eb34058
So we could still support the |
I assume you meant removing it from I'm fine with removing it as long as we can still support the flags in a reasonable way. But that code would go away once we graduate component config to GA in 2 releases. So I'm not sure if it's worth the refactoring effort. |
I'm fine waiting for this then, just wanted to check in on this issue since it hasn't had activity in some time to clarify where we are |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/remove-lifecycle stale AlgorithmSource was removed from component config external API, but still exist in the internal type to support the legacy policy API. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
I think we can close this, removing the internal field will be part of policy API deprecation. |
AlgorithmSource was meant to be a bridge to allow specifying a Policy file in ComponentConfig. Now that all Policy configuration is available through ComponentConfig directly, AlgorithmSource is not needed. This is the first step towards deprecating scheduler Policy file.
/assign @alculquicondor
/cc @ravisantoshgudimetla @Huang-Wei @damemi
/sig scheduling
The text was updated successfully, but these errors were encountered: