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

Promote ephemeral storage quota to beta(1.31) #46967

Merged

Conversation

PannagaRao
Copy link
Contributor

Promote LocalStorageCapacityIsolationFSQuotaMonitoring to beta
KEP reference: kubernetes/enhancements#4679

@k8s-ci-robot k8s-ci-robot added this to the 1.31 milestone Jun 25, 2024
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 25, 2024
Copy link

netlify bot commented Jun 25, 2024

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

Name Link
🔨 Latest commit 97899e0
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-vnext-staging/deploys/66a7d7687925ad0008ca448b

Copy link

netlify bot commented Jun 25, 2024

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 97899e0
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/66a7d7685e13c10008ed94ef
😎 Deploy Preview https://deploy-preview-46967--kubernetes-io-main-staging.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.

@dipesh-rawat
Copy link
Member

/sig node

@k8s-ci-robot k8s-ci-robot added the sig/node Categorizes an issue or PR as relevant to SIG Node. label Jun 25, 2024
@Ritikaa96
Copy link
Contributor

Is this a work in progress? if yes, please add the label do-not-merge/work-in-progress' as i don't see any change here.

@k8s-ci-robot
Copy link
Contributor

@PannagaRao: The label(s) /label work-in-progress cannot be applied. These labels are supported: api-review, tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash, team/katacoda, refactor. Is this label configured under labels -> additional_labels or labels -> restricted_labels in plugin.yaml?

In response to this:

/label work-in-progress

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.

@k8s-ci-robot
Copy link
Contributor

@PannagaRao: The label(s) /label do-not-merge cannot be applied. These labels are supported: api-review, tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash, team/katacoda, refactor. Is this label configured under labels -> additional_labels or labels -> restricted_labels in plugin.yaml?

In response to this:

/label do-not-merge

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.

@PannagaRao PannagaRao marked this pull request as draft June 25, 2024 17:15
@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 Jun 25, 2024
@PannagaRao PannagaRao changed the title Promote ephemeral storage quota to beta(1.31) [WIP] Promote ephemeral storage quota to beta(1.31) Jun 25, 2024
@hacktivist123
Copy link
Contributor

Hi @RobertKrawitz @pacoxu @PannagaRao, 👋 please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before Tuesday, July 16th, 2024 18:00 PST. Thank you!

@Princesso
Copy link
Contributor

Hi @PannagaRao, a gentle reminder that tomorrow is the deadline for having your Docs PR ready for review. Please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before tomorrow, Tuesday, July 16th, 2024 18:00 PST.

@PannagaRao PannagaRao force-pushed the promote-xfsQuota-to-beta branch from ddab1f3 to 9fce41c Compare July 17, 2024 19:39
@k8s-ci-robot k8s-ci-robot added area/blog Issues or PRs related to the Kubernetes Blog subproject area/localization General issues or PRs related to localization language/bn Issues or PRs related to Bengali language language/en Issues or PRs related to English language language/es Issues or PRs related to Spanish language language/ja Issues or PRs related to Japanese language language/pl Issues or PRs related to Polish language language/zh Issues or PRs related to Chinese language sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 17, 2024
@PannagaRao PannagaRao closed this Jul 17, 2024
@PannagaRao PannagaRao force-pushed the promote-xfsQuota-to-beta branch from 9fce41c to 6786d24 Compare July 17, 2024 19:42
@PannagaRao PannagaRao force-pushed the promote-xfsQuota-to-beta branch 2 times, most recently from 9ecd168 to c70c19e Compare July 23, 2024 16:48
[local ephemeral storage](/docs/concepts/configuration/manage-resources-containers/),
the backing filesystem for [emptyDir volumes](/docs/concepts/storage/volumes/#emptydir) supports project quotas,
and `UserNamespacesSupport` is enabled,
project quotas are used to monitor [emptyDir volume](/docs/concepts/storage/volumes/#emptydir) storage consumption rather than using filesystem walk, ensuring better performance and accuracy.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: wrap the long line, and remove the extra hyperlink.

Suggested change
project quotas are used to monitor [emptyDir volume](/docs/concepts/storage/volumes/#emptydir) storage consumption rather than using filesystem walk, ensuring better performance and accuracy.
project quotas are used to monitor emptyDir volume storage consumption rather than
using filesystem walk, ensuring better performance and accuracy.

@@ -463,7 +463,7 @@ that file but the kubelet does not categorize the space as in use.
{{% /tab %}}
{{% tab name="Filesystem project quota" %}}

{{< feature-state for_k8s_version="v1.15" state="alpha" >}}
{{< feature-state for_k8s_version="v1.31" state="beta" >}}
Copy link
Member

Choose a reason for hiding this comment

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

Consider using the "feature_gate_name" option for feature-state shortcode. This will make it more data-driven by pulling from the feature gate description file.

Suggested change
{{< feature-state for_k8s_version="v1.31" state="beta" >}}
{{< feature-state feature_gate_name="LocalStorageCapacityIsolationFSQuotaMonitoring" >}}

Copy link
Member

@pacoxu pacoxu left a comment

Choose a reason for hiding this comment

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

/lgtm

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

/assign sftim

Copy link
Contributor

Choose a reason for hiding this comment

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

BTW we'd typically write emptyDir inside backticks.

@sftim
Copy link
Contributor

sftim commented Jul 25, 2024

For beta, I'd like the advice about enabling it tweaked (so that people can see it's on by default).

See #46967 (comment)
/lgtm cancel

Tech LGTM noted.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 25, 2024
@k8s-ci-robot k8s-ci-robot requested review from pacoxu and sftim July 25, 2024 11:56
@PannagaRao PannagaRao force-pushed the promote-xfsQuota-to-beta branch from 12deced to c9c0e2b Compare July 25, 2024 14:40
@@ -9,11 +9,14 @@ stages:
- stage: alpha
defaultValue: false
fromVersion: "1.15"
toVersion: "1.30"
- stage: beta
defaultValue: true
Copy link
Contributor

Choose a reason for hiding this comment

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

is the default still "true"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed the defaultValue to false

@Princesso
Copy link
Contributor

Hello @PannagaRao,

v1.31 Doc Lead here. This PR has been marked as at risk for Doc Freeze.

The Doc Reviewers have given feedback on it, however, an update is yet to be made on it, based on feedback.

Please note that the Doc freeze deadline is tomorrow, and if the PR is not merged by tomorrow, you will need to file an exception or this enhancement will be removed from this release. Thank you!

@PannagaRao PannagaRao force-pushed the promote-xfsQuota-to-beta branch from f1f5618 to 8b62420 Compare July 29, 2024 15:31
Comment on lines 526 to 530
* Disable the `LocalStorageCapacityIsolationFSQuotaMonitoring`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
using the `featureGates` field in the
[kubelet configuration](/docs/reference/config-api/kubelet-config.v1beta1/)
or the `--feature-gates` command line flag.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this right?

BTW I think --feature-gates is deprecated, and (nit) it's a command line argument not a flag.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed this line. Please take a look.

@PannagaRao PannagaRao force-pushed the promote-xfsQuota-to-beta branch from 8c7fb3a to b3aa376 Compare July 29, 2024 17:33
Signed-off-by: PannagaRamamanohara <pbhojara@redhat.com>
@PannagaRao PannagaRao force-pushed the promote-xfsQuota-to-beta branch from 48837e5 to 97899e0 Compare July 29, 2024 17:54
@Princesso
Copy link
Contributor

Princesso commented Jul 30, 2024

/assign @sftim

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.

Thanks
/lgtm
/approve

Comment on lines +526 to +528
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
using the `featureGates` field in the
[kubelet configuration](/docs/reference/config-api/kubelet-config.v1beta1/).
Copy link
Contributor

Choose a reason for hiding this comment

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

Could write:

Suggested change
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
using the `featureGates` field in the
[kubelet configuration](/docs/reference/config-api/kubelet-config.v1beta1/).
Disable the `LocalStorageCapacityIsolationFSQuotaMonitoring`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
using the `featureGates` field in the
[kubelet configuration](/docs/reference/config-api/kubelet-config.v1beta1/).
(`LocalStorageCapacityIsolationFSQuotaMonitoring` is disabled by default).

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

LGTM label has been added.

Git tree hash: edb7a1dc5672d1eb1782ef3477b3b3a83a24ca85

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pacoxu, 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 Jul 30, 2024
@ffromani
Copy link
Contributor

LGTM for sig-node content, but non-binding because my very limited experience in the area

@k8s-ci-robot k8s-ci-robot merged commit d879656 into kubernetes:dev-1.31 Jul 30, 2024
6 checks passed
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/node Categorizes an issue or PR as relevant to SIG Node. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
Development

Successfully merging this pull request may close these issues.