Skip to content

Conversation

@pwschuurman
Copy link
Contributor

Add documentation for StatefulSetSlice feature targeting Kubernetes alpha in 1.26

@k8s-ci-robot k8s-ci-robot added this to the 1.26 milestone Oct 8, 2022
@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 8, 2022
@netlify
Copy link

netlify bot commented Oct 8, 2022

👷 Deploy Preview for kubernetes-io-vnext-staging processing.

Name Link
🔨 Latest commit 6474d77
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-vnext-staging/deploys/6384a29235494100099bb35e

@k8s-ci-robot
Copy link
Contributor

Welcome @pwschuurman!

It looks like this is your first PR to kubernetes/website 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/website has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. area/blog Issues or PRs related to the Kubernetes Blog subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. area/release-eng Issues or PRs related to the Release Engineering subproject language/de Issues or PRs related to German language language/en Issues or PRs related to English language language/es Issues or PRs related to Spanish language language/fr Issues or PRs related to French language language/hi Issues or PRs related to Hindi language language/id Issues or PRs related to Indonesian language language/ja Issues or PRs related to Japanese language language/ko Issues or PRs related to Korean language language/pl Issues or PRs related to Polish language language/pt Issues or PRs related to Portuguese language labels Oct 8, 2022
@k8s-ci-robot k8s-ci-robot requested review from ahg-g and ahmetb October 8, 2022 21:21
@k8s-ci-robot k8s-ci-robot added language/vi Issues or PRs related to Vietnamese language language/zh Issues or PRs related to Chinese language sig/docs Categorizes an issue or PR as relevant to SIG Docs. sig/release Categorizes an issue or PR as relevant to SIG Release. labels Oct 8, 2022
@pwschuurman pwschuurman force-pushed the kep-3335-documentation branch from 9b5fd5a to 138007e Compare October 8, 2022 21:24
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Oct 8, 2022
@sftim
Copy link
Contributor

sftim commented Oct 8, 2022

/retitle Add initial documentation for StatefulSetSlice feature

@k8s-ci-robot k8s-ci-robot changed the title KEP-3335 Documentation Add initial documentation for StatefulSetSlice feature Oct 8, 2022
@k8s-ci-robot k8s-ci-robot requested review from enisoc and kow3ns November 9, 2022 18:19
Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/lgtm
from tech pov

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

LGTM label has been added.

Git tree hash: 91dfb7bc888d93632cfa36c50e88eff615b5efaa

- `StatefulSetMinReadySeconds`: Allows `minReadySeconds` to be respected by
the StatefulSet controller.
- `StatefulSetStartOrdinal`: Allow StatefulSet to control start replica ordinal
numbering.
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
numbering.
numbering. Check [StatefulSet ordinals](/[docs/concepts/workloads/controllers/statefulset/#ordinals) for details.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added suggestion to link to #ordinal-index

Comment on lines 134 to 137
#### Custom replica numbering

Note: To customize the replica numbering of pods in a StatefulSet, see
[Ordinals](docs/tutorials/stateful-application/basic-stateful-set/#ordinals).
Copy link
Contributor

Choose a reason for hiding this comment

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

We usually avoid H4 in the document. Maybe render this as a note shortcode would be better?

Suggested change
#### Custom replica numbering
Note: To customize the replica numbering of pods in a StatefulSet, see
[Ordinals](docs/tutorials/stateful-application/basic-stateful-set/#ordinals).
{{< note >}}
To customize the replica numbering of pods in a StatefulSet, see
[Ordinals](/docs/concepts/workloads/controllers/statefulset/#ordinals).
{{< /note >}}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, updated to render as a note.

@krol3
Copy link
Contributor

krol3 commented Nov 28, 2022

Hi @pwschuurman! This PR needs a doc review by Mon Nov 28th to get this into the release. Please reach out to required SIGs to get their review. Thank you!

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 28, 2022
@k8s-ci-robot k8s-ci-robot requested a review from soltysh November 28, 2022 02:08
@pwschuurman
Copy link
Contributor Author

@soltysh @sftim @tengqm Thanks for the reviews so far. Can you take another quick look before the docs freeze? Thanks!

Copy link
Contributor

@sftim sftim left a comment

Choose a reason for hiding this comment

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

/lgtm

but I'd rather see Markdown and a hyperlink for the new heading, rather than HTML with no fragment identifier.

will be assigned an integer ordinal, that is unique over the Set. By default,
pods will be assigned ordinals from 0 up through N-1.

<b>Start Ordinal</b>
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
<b>Start Ordinal</b>
### Start ordinal

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated this to a h3 heading, and updated the other files to link to the new fragment.

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

LGTM label has been added.

Git tree hash: ff1e683551ee085d4c4f4df45a0b3fbb6828a883

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 28, 2022
@k8s-ci-robot k8s-ci-robot requested a review from sftim November 28, 2022 11:59
@pwschuurman
Copy link
Contributor Author

@sftim Thanks. Updated the formatting of the new section

@pwschuurman
Copy link
Contributor Author

@sftim @soltysh Can you take another quick look before the docs freeze? Thanks!

Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/lgtm
from tech pov

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

LGTM label has been added.

Git tree hash: f0530b84c66143b3232f485c34bfd47e513ab1ac

@tengqm
Copy link
Contributor

tengqm commented Nov 29, 2022

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: soltysh, tengqm

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 Nov 29, 2022
@k8s-ci-robot k8s-ci-robot merged commit 6143904 into kubernetes:dev-1.26 Nov 29, 2022
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. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. sig/release Categorizes an issue or PR as relevant to SIG Release. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants