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

Add docs about VolumeAttributesClass API (KEP-3751) #43463

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

sunnylovestiramisu
Copy link
Contributor

@sunnylovestiramisu sunnylovestiramisu commented Oct 13, 2023

@k8s-ci-robot k8s-ci-robot added this to the 1.29 milestone Oct 13, 2023
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 13, 2023
@netlify
Copy link

netlify bot commented Oct 13, 2023

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

Name Link
🔨 Latest commit 058e522
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-vnext-staging/deploys/65667ce5e299fe0008a29f84

@k8s-ci-robot k8s-ci-robot added area/blog Issues or PRs related to the Kubernetes Blog subproject language/en Issues or PRs related to English language sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 13, 2023
@sunnylovestiramisu sunnylovestiramisu changed the title Add Placeholder for VolumeAttributesClass KEP-3751 [WIP] Add Placeholder for VolumeAttributesClass KEP-3751 Oct 13, 2023
@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 13, 2023
@sftim
Copy link
Contributor

sftim commented Oct 13, 2023

/retitle [WIP] Add post-release blog article about VolumeAttributesClass KEP-3751
/sig storage

/hold
If this PR is adding a blog article, it should target main and be held until after the release (reviews and approval should happen in the meantime)

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. sig/storage Categorizes an issue or PR as relevant to SIG Storage. labels Oct 13, 2023
@k8s-ci-robot k8s-ci-robot changed the title [WIP] Add Placeholder for VolumeAttributesClass KEP-3751 [WIP] Add post-release blog article about VolumeAttributesClass KEP-3751 Oct 13, 2023
@sunnylovestiramisu
Copy link
Contributor Author

@sftim The instruction link I got says create an PR against dev-1.29, it this not the case anymore? Can you send me the correct documentaion?

@sftim
Copy link
Contributor

sftim commented Oct 16, 2023

The instruction link I got says create an PR against dev-1.29, it this not the case anymore? Can you send me the correct documentaion?

You can turn this into a documentation PR, in which case the branch is right but the path is wrong: change content/en/docs/* not content/en/blog/* (and the PR title). Then force-push.

Right now this has a mismatch because it changes a blog path. PRs that add blog articles never go on release branches.

@sunnylovestiramisu
Copy link
Contributor Author

sunnylovestiramisu commented Oct 16, 2023

@sftim which folder under docs I should post for a new feature? The structure is not clear to me. Does concepts/storage make sense?

@sunnylovestiramisu sunnylovestiramisu changed the title [WIP] Add post-release blog article about VolumeAttributesClass KEP-3751 Add post-release blog article about VolumeAttributesClass KEP-3751 Oct 16, 2023
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 16, 2023
@xing-yang
Copy link
Contributor

@sunnylovestiramisu I think you just need to rename the title of this PR. It says "Add post-release blog article about VolumeAttributesClass KEP-3751". Just change that to "Add doc about VolumeAttributesClass KEP-3751".

@xing-yang
Copy link
Contributor

It looks like "area/blog" label was added by the bot automatically probably because "blog" is in the PR title.

/area blog cancel

@k8s-ci-robot
Copy link
Contributor

@xing-yang: The label(s) area/cancel cannot be applied, because the repository doesn't have them.

In response to this:

It looks like "area/blog" label was added by the bot automatically probably because "blog" is in the PR title.

/area blog cancel

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.

@xing-yang
Copy link
Contributor

/remove-area blog

@k8s-ci-robot k8s-ci-robot removed the area/blog Issues or PRs related to the Kubernetes Blog subproject label Oct 17, 2023
@sftim
Copy link
Contributor

sftim commented Oct 17, 2023

/retitle [WIP] Add docs about VolumeAttributesClass API (KEP-3751)

@k8s-ci-robot k8s-ci-robot changed the title Add post-release blog article about VolumeAttributesClass KEP-3751 [WIP] Add docs about VolumeAttributesClass API (KEP-3751) Oct 17, 2023
@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 17, 2023
@drewhagen
Copy link
Member

/lgtm

@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, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: fd3e6d8eadcff001adcda87c1fd20d30ecd02009

Copy link
Member

@saad-ali saad-ali 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

Thanks @sunnylovestiramisu for the hard work on this!

@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, 2023
@drewhagen
Copy link
Member

/lgtm

@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, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: c00480cfffdfba536a910b64a70bb96cc0de4438

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.

Some more feedback

Comment on lines 27 to 26
If you want to test the feature whilst it's alpha, you need to enable the relevant feature gate
in the kube-controller-manager and the kube-apiserver. Use the --feature-gates command line argument:
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
If you want to test the feature whilst it's alpha, you need to enable the relevant feature gate
in the kube-controller-manager and the kube-apiserver. Use the --feature-gates command line argument:
If you want to test the feature whilst it's alpha, you need to enable the `VolumeAttributesClass`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) for the kube-controller-manager and the kube-apiserver. You use the `--feature-gates` command line argument:

--feature-gates="...,VolumeAttributesClass=true"
```

It also requires the CSI driver has implemented the ModifyVolume API.
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
It also requires the CSI driver has implemented the ModifyVolume API.
You can also only use VolumeAttributesClasses with storage backed by
{{< glossary_tooltip text="Container Storage Interface" term_id="csi" >}}, and only where the
relevant CSI driver implements the `ModifyVolume` API.

@@ -816,6 +817,7 @@ Each feature gate is designed for enabling/disabling a specific feature:
support for CEL validations be used in Admission Control.
- `VolumeCapacityPriority`: Enable support for prioritizing nodes in different
topologies based on available PV capacity.
- `VolumeAttributesClass`: Enable support for VolumeAttributesClass
Copy link
Contributor

Choose a reason for hiding this comment

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

(nit)

Suggested change
- `VolumeAttributesClass`: Enable support for VolumeAttributesClass
- `VolumeAttributesClass`: Enable support for VolumeAttributesClasses.
See [Volume Attributes Classes](/docs/concepts/storage/volume-attributes-classes/)
for more information.

@sftim
Copy link
Contributor

sftim commented Nov 28, 2023

/approve

This PR already exceeds our docs quality expectations for alpha features.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: saad-ali, sftim

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 28, 2023
@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, 2023
@k8s-ci-robot k8s-ci-robot requested a review from sftim November 28, 2023 23:51
@drewhagen
Copy link
Member

/lgtm

@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, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 0f3550578724c8ccacc8d0ed8f8a6451b9a951f4

@k8s-ci-robot k8s-ci-robot merged commit a3351b5 into kubernetes:dev-1.29 Nov 28, 2023
6 checks passed
@drewhagen
Copy link
Member

Great work today!! As a frequent reader of the Kubernetes docs, thank you for your quality contribution 😄

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/storage Categorizes an issue or PR as relevant to SIG Storage. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.