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

[zh-cn] resync policy-resources/limit-range-v1.md #34779

Merged
merged 1 commit into from
Jul 4, 2022

Conversation

windsonsea
Copy link
Member

Listed in #34733.

606 content/en/docs/reference/kubernetes-api/policy-resources/limit-range-v1.md

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jul 3, 2022
@k8s-ci-robot k8s-ci-robot requested a review from chenxuc July 3, 2022 01:25
@k8s-ci-robot k8s-ci-robot added the language/zh Issues or PRs related to Chinese language label Jul 3, 2022
@k8s-ci-robot k8s-ci-robot added the sig/docs Categorizes an issue or PR as relevant to SIG Docs. label Jul 3, 2022
@netlify
Copy link

netlify bot commented Jul 3, 2022

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 190fad3
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/62c14081f88c100009c4608c
😎 Deploy Preview https://deploy-preview-34779--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 settings.

import: "k8s.io/api/core/v1"
kind: "LimitRange"
content_type: "api_reference"
description: "LimitRange 设置名字空间中每个资源类别的资源使用限制。"
Copy link
Contributor

Choose a reason for hiding this comment

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

resource usage -> 资源用量


- **spec** (<a href="{{< ref "../policy-resources/limit-range-v1#LimitRangeSpec" >}}">LimitRangeSpec</a>)

Spec 定义强制执行的限制。更多信息:
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
Spec 定义强制执行的限制。更多信息:
spec 定义强制执行的限制。更多信息:

-->
- **limits.maxLimitRequestRatio** (map[string]<a href="{{< ref "../common-definitions/quantity#Quantity" >}}">Quantity</a>)

如果指定 maxLimitRequestRatio,则命名的资源必须有一个非零的请求和限制,
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
如果指定 maxLimitRequestRatio,则命名的资源必须有一个非零的请求和限制
如果指定 maxLimitRequestRatio,则所指定的资源必须设置非零的请求和限制值

- **limits.maxLimitRequestRatio** (map[string]<a href="{{< ref "../common-definitions/quantity#Quantity" >}}">Quantity</a>)

如果指定 maxLimitRequestRatio,则命名的资源必须有一个非零的请求和限制,
且限制除以请求小于或等于枚举值;这表示该命名资源的最大突发。
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
且限制除以请求小于或等于枚举值;这表示该命名资源的最大突发
且限制除以请求小于或等于这里列举的值;此属性用来表示所指定资源的最大突发用量


- **limits.min** (map[string]<a href="{{< ref "../common-definitions/quantity#Quantity" >}}">Quantity</a>)

按资源名称针对这种类别的最小使用约束。
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
按资源名称针对这种类别的最小使用约束
按资源名称区分的,针对这种类别对象的最小用量约束

@tengqm
Copy link
Contributor

tengqm commented Jul 3, 2022

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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 Jul 3, 2022
Copy link
Member

@Sea-n Sea-n 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 4, 2022
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 72baaa8ef4704830597db93912348937afde2427

@k8s-ci-robot k8s-ci-robot merged commit cd8f3ed into kubernetes:main Jul 4, 2022
@windsonsea windsonsea deleted the limit branch July 8, 2022 03:37
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/zh Issues or PRs related to Chinese 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. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants