-
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
v1.Extender.HTTPTimeout is a time.Duration #89396
Comments
@alculquicondor WDYT? I can do this update if it is accepted. |
Any updates in here requires a new API version. |
@alculquicondor I can write a KEP for this. |
/cc |
@alculquicondor, not sure if there is a releated issue. I noticed it working on openapi stuff. |
Sorry, I confused you with @damemi who had done some work in 1.18 to make our API compliant. |
@mikedanese should it be a |
(cross-ref to the open issue to improve the extender API: #88634) |
As a config API, this isn't served anywhere, so the only consumer is the go scheduler binary. Other config APIs use metav1.Duration or a plain integer with |
Thanks @liggitt, I've been confused on what the distinction was |
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. |
/close |
@alculquicondor: Closing this issue. In response to this:
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. |
kubernetes/staging/src/k8s.io/kube-scheduler/config/v1/types.go
Lines 210 to 212 in 2ab6357
This requires specification as int64 nanoseconds so a one second timeout would need to be specified as 1000000000. It should be a metav1.Duration like other durations in the API but it's been like this since 1.2. Is anyone actually using this field?
The text was updated successfully, but these errors were encountered: