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

Expose available ResourceFlavors from the ClusterQueue in the LocalQueue status. #3143

Conversation

mbobrovskyi
Copy link
Contributor

@mbobrovskyi mbobrovskyi commented Sep 26, 2024

What type of PR is this?

/kind feature

What this PR does / why we need it:

Expose available ResourceFlavors from the ClusterQueue in the LocalQueue status.

Which issue(s) this PR fixes:

Fixes #3122

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Exposed available ResourceFlavors from the ClusterQueue in the LocalQueue status.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. labels Sep 26, 2024
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 26, 2024
Copy link

netlify bot commented Sep 26, 2024

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit 216aba1
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/671273cdf36750000885aa6c

@mbobrovskyi
Copy link
Contributor Author

/cc @alculquicondor

pkg/cache/cache.go Outdated Show resolved Hide resolved
@mbobrovskyi
Copy link
Contributor Author

/retest pull-kueue-test-integration-main

@k8s-ci-robot
Copy link
Contributor

@mbobrovskyi: The /retest command does not accept any targets.
The following commands are available to trigger required jobs:

  • /test pull-kueue-build-image-main
  • /test pull-kueue-test-e2e-main-1-28
  • /test pull-kueue-test-e2e-main-1-29
  • /test pull-kueue-test-e2e-main-1-30
  • /test pull-kueue-test-e2e-main-1-31
  • /test pull-kueue-test-integration-main
  • /test pull-kueue-test-kjobctl
  • /test pull-kueue-test-multikueue-e2e-main
  • /test pull-kueue-test-scheduling-perf-main
  • /test pull-kueue-test-unit-main
  • /test pull-kueue-verify-main

Use /test all to run the following jobs that were automatically triggered:

  • pull-kueue-build-image-main
  • pull-kueue-test-e2e-main-1-28
  • pull-kueue-test-e2e-main-1-29
  • pull-kueue-test-e2e-main-1-30
  • pull-kueue-test-e2e-main-1-31
  • pull-kueue-test-integration-main
  • pull-kueue-test-multikueue-e2e-main
  • pull-kueue-test-scheduling-perf-main
  • pull-kueue-test-unit-main
  • pull-kueue-verify-main

In response to this:

/retest pull-kueue-test-integration-main

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-sigs/prow repository.

@mbobrovskyi
Copy link
Contributor Author

mbobrovskyi commented Sep 26, 2024

/test pull-kueue-test-integration-main

Due to #3144.

@mbobrovskyi mbobrovskyi force-pushed the feature/expose-flavors-in-local-queue-status branch from c9a0f42 to 61629ef Compare September 26, 2024 13:40
@tenzen-y
Copy link
Member

Is there any decision to implement this API in the LocalQueue level?

@alculquicondor
Copy link
Contributor

I don't see any high-level concerns. Do you have any?

@mbobrovskyi mbobrovskyi force-pushed the feature/expose-flavors-in-local-queue-status branch from 61629ef to eba6ab5 Compare September 26, 2024 23:55
@mbobrovskyi mbobrovskyi changed the title Expose available ResourceFlavors in LocalQueue Status. Expose available ResourceFlavors from the ClusterQueue in the LocalQueue status. Sep 27, 2024
@mimowo
Copy link
Contributor

mimowo commented Oct 1, 2024

I don't have any high-level concerns about the approach. However, from the process perspective it might be better to include a small one-pager KEP for it? WDYT @alculquicondor @tenzen-y ?

@alculquicondor
Copy link
Contributor

Yeah, it doesn't hurt

@tenzen-y
Copy link
Member

tenzen-y commented Oct 1, 2024

I don't have any high-level concerns about the approach. However, from the process perspective it might be better to include a small one-pager KEP for it? WDYT @alculquicondor @tenzen-y ?

Basically, I agree with this enhancement.
But, I would like to seek the possibility of API since we may want to expose other information related to ResourceFlavor something like topology or nodeSelector.

@tenzen-y
Copy link
Member

tenzen-y commented Oct 1, 2024

I don't have any high-level concerns about the approach. However, from the process perspective it might be better to include a small one-pager KEP for it? WDYT @alculquicondor @tenzen-y ?

Basically, I agree with this enhancement. But, I would like to seek the possibility of API since we may want to expose other information related to ResourceFlavor something like topology or nodeSelector.

I did not indicate that we should expose that information. But, evaluations would be worth it.

@mbobrovskyi
Copy link
Contributor Author

I don't have any high-level concerns about the approach. However, from the process perspective it might be better to include a small one-pager KEP for it? WDYT @alculquicondor @tenzen-y ?

Created #3181.

@mbobrovskyi
Copy link
Contributor Author

/hold for #3181

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 6, 2024
@mbobrovskyi mbobrovskyi force-pushed the feature/expose-flavors-in-local-queue-status branch from d63f561 to fd0ed8b Compare October 7, 2024 06:28
@mbobrovskyi mbobrovskyi marked this pull request as draft October 14, 2024 13:35
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 14, 2024
@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 17, 2024
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 17, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 40d0a6fd0c55999a398b2f1b1e14e38d04b6e4fc

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mbobrovskyi, mimowo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 17, 2024
pkg/cache/cache.go Outdated Show resolved Hide resolved
pkg/cache/cache.go Outdated Show resolved Hide resolved
pkg/cache/cache.go Outdated Show resolved Hide resolved
pkg/cache/cache.go Outdated Show resolved Hide resolved
pkg/cache/cache.go Outdated Show resolved Hide resolved
pkg/cache/cache.go Outdated Show resolved Hide resolved
@mbobrovskyi mbobrovskyi force-pushed the feature/expose-flavors-in-local-queue-status branch from bb5673e to 045b4f1 Compare October 18, 2024 00:20
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 18, 2024
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Oct 18, 2024
Copy link
Contributor

@mimowo mimowo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comment would be good to address. Other than that LGTM

@mbobrovskyi mbobrovskyi force-pushed the feature/expose-flavors-in-local-queue-status branch from 06e74f0 to 216aba1 Compare October 18, 2024 14:42
@mimowo
Copy link
Contributor

mimowo commented Oct 18, 2024

I believe all comments are addressed, so ready to go
/lgtm
/hold cancel

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Oct 18, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 13974c483c80f16db679b619367f153e80c9724b

@k8s-ci-robot k8s-ci-robot merged commit e676313 into kubernetes-sigs:main Oct 18, 2024
16 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.9 milestone Oct 18, 2024
Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing my comments!
/lgtm

@mbobrovskyi mbobrovskyi deleted the feature/expose-flavors-in-local-queue-status branch October 19, 2024 02:57
PBundyra pushed a commit to PBundyra/kueue that referenced this pull request Nov 5, 2024
…eue status. (kubernetes-sigs#3143)

* Expose Flavors in LocalQueue Status.

* Initialize flavors after check that feature enabled.

* Sort flavors list.

* Propagate gomega to eventually.

* Get sorted list on Resources slice.

* Sort flavor list by flavor order.
kannon92 pushed a commit to openshift-kannon92/kubernetes-sigs-kueue that referenced this pull request Nov 19, 2024
…eue status. (kubernetes-sigs#3143)

* Expose Flavors in LocalQueue Status.

* Initialize flavors after check that feature enabled.

* Sort flavors list.

* Propagate gomega to eventually.

* Get sorted list on Resources slice.

* Sort flavor list by flavor order.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose Flavors in LocalQueue Status
7 participants