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

Simplify the user-facing documentation for JobSet in MultiKueue #2318

Merged
merged 3 commits into from
Jun 4, 2024

Conversation

mimowo
Copy link
Contributor

@mimowo mimowo commented May 29, 2024

What type of PR is this?

/kind documentation

What this PR does / why we need it:

Simplify the user-facing documentation. The support in 0.6.0 had limitations which are not worth documenting.
Let's recommend Kueue 0.7.0+ with JobSet 0.5.1+

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

The main issue is that in 0.6.x we didn't support the managedBy mechanism, and for that reason users couldn't install the Jobset controller on management, so the documentation will differ significantly for 0.6 and 0.7.

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/documentation Categorizes issue or PR as related to documentation. labels May 29, 2024
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 29, 2024
Copy link

netlify bot commented May 29, 2024

Deploy Preview for kubernetes-sigs-kueue ready!

Name Link
🔨 Latest commit 5adde02
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/665ecfca5ff4b10008754b68
😎 Deploy Preview https://deploy-preview-2318--kubernetes-sigs-kueue.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mimowo
Copy link
Contributor Author

mimowo commented May 29, 2024

/assign @alculquicondor @tenzen-y

@mimowo mimowo force-pushed the simplify-jobset-docs branch 2 times, most recently from c7ddb9c to ae6cb73 Compare June 3, 2024 10:38
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 3, 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.

Only nit.

site/content/en/docs/tasks/run/jobsets.md Show resolved Hide resolved
As mentioned in the [MultiKueue Overview](/docs/concepts/multikueue/#jobset) section, in the manager cluster only the JobSet CRDs should be installed, you can do this by running:
If you are using Kueue in version 0.7.0 or newer install the JobSet on the
management cluster (see [JobSet Installation](https://jobset.sigs.k8s.io/docs/installation/)
for more details). We recommend using JobSet 0.5.1+ for MultiKueue.
Copy link
Contributor

Choose a reason for hiding this comment

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

Version 0.5.0 is needed , it should not be just a recommendation.

Copy link
Contributor Author

@mimowo mimowo Jun 4, 2024

Choose a reason for hiding this comment

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

Yeah, I understand that the support started from 0.5.0. but it contains some relevant bugs:

Actually, our users already hit the issues, which made the investigations unnecessarily harder. Thus we bumped the version suggested in the JobSet page: kubernetes-sigs/jobset#577.

I would prefer not to mention the old version at all in the docs, because this may increase a chance for some users installing 0.5.0.

Copy link
Contributor

Choose a reason for hiding this comment

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

My problem was with "We recommend to ... ", multikueue is not working with versions lower then 0.5 .

As mentioned in the [MultiKueue Overview](/docs/concepts/multikueue/#jobset) section, in the manager cluster only the JobSet CRDs should be installed, you can do this by running:
If you are using Kueue in version 0.7.0 or newer install the JobSet on the
management cluster (see [JobSet Installation](https://jobset.sigs.k8s.io/docs/installation/)
for more details). We recommend using JobSet 0.5.1+ for MultiKueue.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
for more details). We recommend using JobSet 0.5.1+ for MultiKueue.
for more details). We recommend using JobSet 0.5.1 or newer for MultiKueue.

I'm fine putting it as a requirement, rather a recommendation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I update the "or newer". Regarding the requirement or recommendation. I rephrased to just say please install. WDYT?

Copy link
Contributor

@alculquicondor alculquicondor left a comment

Choose a reason for hiding this comment

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

/approve

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 3, 2024
@alculquicondor
Copy link
Contributor

/hold
for recommendations

@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 Jun 3, 2024
Copy link
Contributor

@alculquicondor alculquicondor left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve
/cherry-pick website

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 4, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: cce0ff40074ad5e01eebeb0557a418f099af41e3

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alculquicondor, 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

@mimowo
Copy link
Contributor Author

mimowo commented Jun 4, 2024

@alculquicondor can we also cancel the hold?

@alculquicondor
Copy link
Contributor

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 4, 2024
@k8s-ci-robot k8s-ci-robot merged commit 85618e7 into kubernetes-sigs:main Jun 4, 2024
6 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.8 milestone Jun 4, 2024
@tenzen-y
Copy link
Member

tenzen-y commented Jun 5, 2024

/cherry-pick website

@k8s-infra-cherrypick-robot
Copy link
Contributor

@tenzen-y: new pull request created: #2356

In response to this:

/cherry-pick website

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.

Fiona-Waters pushed a commit to Fiona-Waters/kueue that referenced this pull request Jun 25, 2024
…rnetes-sigs#2318)

* Simplify the user-facing documentation for JobSet in MultiKueue

* Review remarks

* remarks
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/documentation Categorizes issue or PR as related to documentation. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants