diff --git a/.github/workflows/netlify-periodic-build.yml b/.github/workflows/netlify-periodic-build.yml
new file mode 100644
index 0000000000..29fef807b6
--- /dev/null
+++ b/.github/workflows/netlify-periodic-build.yml
@@ -0,0 +1,15 @@
+---
+name: Scheduled Netlify site build
+on:
+ schedule: # Build twice daily: shortly after midnight and noon (UTC)
+ # Offset is to be nice to the build service
+ - cron: '4 0,12 * * *'
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Trigger build on Netlify
+ env:
+ TOKEN: ${{ secrets.NETLIFY_BUILD_HOOK_KEY }}
+ run: >-
+ curl -s -H "Accept: application/json" -H "Content-Type: application/json" -X POST -d "{}" "https://api.netlify.com/build_hooks/${TOKEN}"
diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES
index 3d1ae50afa..61228e592e 100644
--- a/OWNERS_ALIASES
+++ b/OWNERS_ALIASES
@@ -7,12 +7,9 @@ aliases:
- mrbobbytables
sig-docs-blog-reviewers: # Reviewers for blog content
- castrojo
- - cody-clark
- kbarnard10
- mrbobbytables
- onlydole
- - parispittman
- - vonguard
sig-docs-de-owners: # Admins for German content
- bene2k1
- mkorbi
@@ -215,3 +212,12 @@ aliases:
- idvoretskyi
- MaxymVlasov
- Potapy4
+ # authoritative source: git.k8s.io/community/OWNERS_ALIASES
+ committee-steering: # provide PR approvals for announcements
+ - cblecker
+ - derekwaynecarr
+ - dims
+ - liggitt
+ - mrbobbytables
+ - nikhita
+ - parispittman
diff --git a/README.md b/README.md
index 31e5fb65d0..291106d09c 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,9 @@
This repository contains the assets required to build the [Kubernetes website and documentation](https://kubernetes.io/). We're glad that you want to contribute!
++ [Contributing to the docs](#contributing-to-the-docs)
++ [Localization ReadMes](#localization-readmemds)
+
# Using this repository
You can run the website locally using Hugo (Extended version), or you can run it in a container runtime. We strongly recommend using the container runtime, as it gives deployment consistency with the live website.
diff --git a/assets/scss/_custom.scss b/assets/scss/_custom.scss
index 5eb26c2e54..568a258a1c 100644
--- a/assets/scss/_custom.scss
+++ b/assets/scss/_custom.scss
@@ -578,3 +578,64 @@ body.td-documentation {
color: black;
text-decoration: none !important;
}
+
+@media print {
+ /* Do not print announcements */
+ #announcement, section#announcement, #fp-announcement, section#fp-announcement {
+ display: none;
+ }
+}
+
+#announcement, #fp-announcement {
+ > * {
+ color: inherit;
+ background: inherit;
+ }
+
+ a {
+ color: inherit;
+ border-bottom: 1px solid #fff;
+ }
+
+ a:hover {
+ color: inherit;
+ border-bottom: none;
+ }
+}
+
+#announcement {
+ padding-top: 105px;
+ padding-bottom: 25px;
+}
+
+.header-hero {
+ padding-top: 40px;
+}
+
+/* Extra announcement height only for landscape viewports */
+@media (min-aspect-ratio: 8/9) {
+ #fp-announcement {
+ min-height: 25vh;
+ }
+}
+
+#fp-announcement aside {
+ padding-top: 115px;
+ padding-bottom: 25px;
+}
+
+.announcement {
+ .content {
+ margin-bottom: 0px;
+ }
+
+
+ > p {
+ .gridPage #announcement .content p,
+ .announcement > h4,
+ .announcement > h3 {
+ color: #ffffff;
+ }
+ }
+}
+
diff --git a/config.toml b/config.toml
index c0fdb72acf..d77c315331 100644
--- a/config.toml
+++ b/config.toml
@@ -13,7 +13,7 @@ disableBrowserError = true
disableKinds = ["taxonomy", "taxonomyTerm"]
-ignoreFiles = [ "^OWNERS$", "README[-]+[a-z]*\\.md", "^node_modules$", "content/en/docs/doc-contributor-tools" ]
+ignoreFiles = [ "(?:^|/)OWNERS$", "README[-]+[a-z]*\\.md", "^node_modules$", "content/en/docs/doc-contributor-tools" ]
timeout = 3000
@@ -154,11 +154,6 @@ githubWebsiteRaw = "raw.githubusercontent.com/kubernetes/website"
# GitHub repository link for editing a page and opening issues.
github_repo = "https://github.com/kubernetes/website"
-# param for displaying an announcement block on every page.
-# See /i18n/en.toml for message text and title.
-announcement = true
-announcement_bg = "#000000" #choose a dark color – text is white
-
#Searching
k8s_search = true
diff --git a/content/en/blog/_posts/2020-12-02-dockershim-faq.md b/content/en/blog/_posts/2020-12-02-dockershim-faq.md
index b9676fc742..f8dbe7f7c7 100644
--- a/content/en/blog/_posts/2020-12-02-dockershim-faq.md
+++ b/content/en/blog/_posts/2020-12-02-dockershim-faq.md
@@ -55,7 +55,7 @@ All your existing images will still work exactly the same.
### What about private images?
-Also yes. All CRI runtimes support the same pull secrets configuration used in
+Yes. All CRI runtimes support the same pull secrets configuration used in
Kubernetes, either via the PodSpec or ServiceAccount.
@@ -82,7 +82,7 @@ usability of other container runtimes. As an example, OpenShift 4.x has been
using the [CRI-O] runtime in production since June 2019.
For other examples and references you can look at the adopters of containerd and
-cri-o, two container runtimes under the Cloud Native Computing Foundation ([CNCF]).
+CRI-O, two container runtimes under the Cloud Native Computing Foundation ([CNCF]).
- [containerd](https://github.com/containerd/containerd/blob/master/ADOPTERS.md)
- [CRI-O](https://github.com/cri-o/cri-o/blob/master/ADOPTERS.md)
@@ -110,7 +110,7 @@ provide an end-to-end standard for managing containers.
That’s a complex question and it depends on a lot of factors. If Docker is
working for you, moving to containerd should be a relatively easy swap and
-has have strictly better performance and less overhead. However we encourage you
+will have strictly better performance and less overhead. However, we encourage you
to explore all the options from the [CNCF landscape] in case another would be an
even better fit for your environment.
@@ -129,7 +129,7 @@ common things to consider when migrating are:
- Kubectl plugins that require docker CLI or the control socket
- Kubernetes tools that require direct access to Docker (e.g. kube-imagepuller)
- Configuration of functionality like `registry-mirrors` and insecure registries
-- Other support scripts or daemons that expect docker to be available and are run
+- Other support scripts or daemons that expect Docker to be available and are run
outside of Kubernetes (e.g. monitoring or security agents)
- GPUs or special hardware and how they integrate with your runtime and Kubernetes
diff --git a/content/en/blog/_posts/2020-12-02-dont-panic-kubernetes-and-docker.md b/content/en/blog/_posts/2020-12-02-dont-panic-kubernetes-and-docker.md
index e6df8971a6..944704967b 100644
--- a/content/en/blog/_posts/2020-12-02-dont-panic-kubernetes-and-docker.md
+++ b/content/en/blog/_posts/2020-12-02-dont-panic-kubernetes-and-docker.md
@@ -13,8 +13,8 @@ as a container runtime after v1.20.
**You do not need to panic. It’s not as dramatic as it sounds.**
-tl;dr Docker as an underlying runtime is being deprecated in favor of runtimes
-that use the [Container Runtime Interface(CRI)](https://kubernetes.io/blog/2016/12/container-runtime-interface-cri-in-kubernetes/)
+TL;DR Docker as an underlying runtime is being deprecated in favor of runtimes
+that use the [Container Runtime Interface (CRI)](https://kubernetes.io/blog/2016/12/container-runtime-interface-cri-in-kubernetes/)
created for Kubernetes. Docker-produced images will continue to work in your
cluster with all runtimes, as they always have.
@@ -48,7 +48,7 @@ is a popular choice for that runtime (other common options include containerd
and CRI-O), but Docker was not designed to be embedded inside Kubernetes, and
that causes a problem.
-You see, the thing we call “Docker” isn’t actually one thing -- it’s an entire
+You see, the thing we call “Docker” isn’t actually one thing—it’s an entire
tech stack, and one part of it is a thing called “containerd,” which is a
high-level container runtime by itself. Docker is cool and useful because it has
a lot of UX enhancements that make it really easy for humans to interact with
@@ -66,11 +66,11 @@ does Kubernetes need the Dockershim?
Docker isn’t compliant with CRI, the [Container Runtime Interface](https://kubernetes.io/blog/2016/12/container-runtime-interface-cri-in-kubernetes/).
If it were, we wouldn’t need the shim, and this wouldn’t be a thing. But it’s
-not the end of the world, and you don’t need to panic -- you just need to change
+not the end of the world, and you don’t need to panic—you just need to change
your container runtime from Docker to another supported container runtime.
One thing to note: If you are relying on the underlying docker socket
-(/var/run/docker.sock) as part of a workflow within your cluster today, moving
+(`/var/run/docker.sock`) as part of a workflow within your cluster today, moving
to a different runtime will break your ability to use it. This pattern is often
called Docker in Docker. There are lots of options out there for this specific
use case including things like
@@ -82,10 +82,10 @@ use case including things like
This change addresses a different environment than most folks use to interact
with Docker. The Docker installation you’re using in development is unrelated to
-the Docker runtime inside your Kubernetes cluster. It’s confusing, I know. As a
-developer, Docker is still useful to you in all the ways it was before this
+the Docker runtime inside your Kubernetes cluster. It’s confusing, we understand.
+As a developer, Docker is still useful to you in all the ways it was before this
change was announced. The image that Docker produces isn’t really a
-Docker-specific image -- it’s an OCI ([Open Container Initiative](https://opencontainers.org/)) image.
+Docker-specific image—it’s an OCI ([Open Container Initiative](https://opencontainers.org/)) image.
Any OCI-compliant image, regardless of the tool you use to build it, will look
the same to Kubernetes. Both [containerd](https://containerd.io/) and
[CRI-O](https://cri-o.io/) know how to pull those images and run them. This is
@@ -95,10 +95,10 @@ So, this change is coming. It’s going to cause issues for some, but it isn’t
catastrophic, and generally it’s a good thing. Depending on how you interact
with Kubernetes, this could mean nothing to you, or it could mean a bit of work.
In the long run, it’s going to make things easier. If this is still confusing
-for you, that’s okay -- there’s a lot going on here, Kubernetes has a lot of
+for you, that’s okay—there’s a lot going on here; Kubernetes has a lot of
moving parts, and nobody is an expert in 100% of it. We encourage any and all
questions regardless of experience level or complexity! Our goal is to make sure
-everyone is educated as much as possible on the upcoming changes. `<3` We hope
-this has answered most of your questions and soothed some anxieties!
+everyone is educated as much as possible on the upcoming changes. We hope
+this has answered most of your questions and soothed some anxieties! ❤️
Looking for more answers? Check out our accompanying [Dockershim Deprecation FAQ](/blog/2020/12/02/dockershim-faq/).
diff --git a/content/en/docs/concepts/architecture/nodes.md b/content/en/docs/concepts/architecture/nodes.md
index a9abf48856..7bd4b355b6 100644
--- a/content/en/docs/concepts/architecture/nodes.md
+++ b/content/en/docs/concepts/architecture/nodes.md
@@ -242,7 +242,7 @@ checks the state of each node every `--node-monitor-period` seconds.
Heartbeats, sent by Kubernetes nodes, help determine the availability of a node.
There are two forms of heartbeats: updates of `NodeStatus` and the
-[Lease object](/docs/reference/generated/kubernetes-api/{{< latest-version >}}/#lease-v1-coordination-k8s-io).
+[Lease object](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#lease-v1-coordination-k8s-io).
Each Node has an associated Lease object in the `kube-node-lease`
{{< glossary_tooltip term_id="namespace" text="namespace">}}.
Lease is a lightweight resource, which improves the performance
diff --git a/content/en/docs/concepts/cluster-administration/flow-control.md b/content/en/docs/concepts/cluster-administration/flow-control.md
index 9c1bcb817a..6cb4c386d3 100644
--- a/content/en/docs/concepts/cluster-administration/flow-control.md
+++ b/content/en/docs/concepts/cluster-administration/flow-control.md
@@ -527,5 +527,5 @@ When you enable the API Priority and Fairness feature, the kube-apiserver serves
For background information on design details for API priority and fairness, see
the [enhancement proposal](https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/20190228-priority-and-fairness.md).
-You can make suggestions and feature requests via [SIG API
-Machinery](https://github.com/kubernetes/community/tree/master/sig-api-machinery).
+You can make suggestions and feature requests via [SIG API Machinery](https://github.com/kubernetes/community/tree/master/sig-api-machinery)
+or the feature's [slack channel](http://kubernetes.slack.com/messages/api-priority-and-fairness).
diff --git a/content/en/docs/concepts/configuration/overview.md b/content/en/docs/concepts/configuration/overview.md
index 5882ce95dc..2239fe08ac 100644
--- a/content/en/docs/concepts/configuration/overview.md
+++ b/content/en/docs/concepts/configuration/overview.md
@@ -69,6 +69,8 @@ A Service can be made to span multiple Deployments by omitting release-specific
A desired state of an object is described by a Deployment, and if changes to that spec are _applied_, the deployment controller changes the actual state to the desired state at a controlled rate.
+- Use the [Kubernetes common labels](/docs/concepts/overview/working-with-objects/common-labels/) for common use cases. These standardized labels enrich the metadata in a way that allows tools, including `kubectl` and [dashboard](/docs/tasks/access-application-cluster/web-ui-dashboard), to work in an interoperable way.
+
- You can manipulate labels for debugging. Because Kubernetes controllers (such as ReplicaSet) and Services match to Pods using selector labels, removing the relevant labels from a Pod will stop it from being considered by a controller or from being served traffic by a Service. If you remove the labels of an existing Pod, its controller will create a new Pod to take its place. This is a useful way to debug a previously "live" Pod in a "quarantine" environment. To interactively remove or add labels, use [`kubectl label`](/docs/reference/generated/kubectl/kubectl-commands#label).
## Container Images
diff --git a/content/en/docs/concepts/configuration/secret.md b/content/en/docs/concepts/configuration/secret.md
index 3674c3ce4c..fbaf0c1a29 100644
--- a/content/en/docs/concepts/configuration/secret.md
+++ b/content/en/docs/concepts/configuration/secret.md
@@ -776,7 +776,7 @@ these pods.
The `imagePullSecrets` field is a list of references to secrets in the same namespace.
You can use an `imagePullSecrets` to pass a secret that contains a Docker (or other) image registry
password to the kubelet. The kubelet uses this information to pull a private image on behalf of your Pod.
-See the [PodSpec API](/docs/reference/generated/kubernetes-api/{{< latest-version >}}/#podspec-v1-core) for more information about the `imagePullSecrets` field.
+See the [PodSpec API](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#podspec-v1-core) for more information about the `imagePullSecrets` field.
#### Manually specifying an imagePullSecret
diff --git a/content/en/docs/concepts/containers/runtime-class.md b/content/en/docs/concepts/containers/runtime-class.md
index 1ba631e350..ace905c657 100644
--- a/content/en/docs/concepts/containers/runtime-class.md
+++ b/content/en/docs/concepts/containers/runtime-class.md
@@ -37,10 +37,10 @@ but with different settings.
Ensure the RuntimeClass feature gate is enabled (it is by default). See [Feature
Gates](/docs/reference/command-line-tools-reference/feature-gates/) for an explanation of enabling
-feature gates. The `RuntimeClass` feature gate must be enabled on apiservers _and_ kubelets.
+feature gates. The `RuntimeClass` feature gate must be enabled on API server _and_ kubelets.
-1. Configure the CRI implementation on nodes (runtime dependent)
-2. Create the corresponding RuntimeClass resources
+1. Configure the CRI implementation on nodes (runtime dependent).
+2. Create the corresponding RuntimeClass resources.
### 1. Configure the CRI implementation on nodes
@@ -51,7 +51,7 @@ CRI implementation for how to configure.
{{< note >}}
RuntimeClass assumes a homogeneous node configuration across the cluster by default (which means
that all nodes are configured the same way with respect to container runtimes). To support
-heterogenous node configurations, see [Scheduling](#scheduling) below.
+heterogeneous node configurations, see [Scheduling](#scheduling) below.
{{< /note >}}
The configurations have a corresponding `handler` name, referenced by the RuntimeClass. The
@@ -98,7 +98,7 @@ spec:
# ...
```
-This will instruct the Kubelet to use the named RuntimeClass to run this pod. If the named
+This will instruct the kubelet to use the named RuntimeClass to run this pod. If the named
RuntimeClass does not exist, or the CRI cannot run the corresponding handler, the pod will enter the
`Failed` terminal [phase](/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase). Look for a
corresponding [event](/docs/tasks/debug-application-cluster/debug-application-introspection/) for an
@@ -144,7 +144,7 @@ See CRI-O's [config documentation](https://raw.githubusercontent.com/cri-o/cri-o
{{< feature-state for_k8s_version="v1.16" state="beta" >}}
-As of Kubernetes v1.16, RuntimeClass includes support for heterogenous clusters through its
+As of Kubernetes v1.16, RuntimeClass includes support for heterogeneous clusters through its
`scheduling` fields. Through the use of these fields, you can ensure that pods running with this
RuntimeClass are scheduled to nodes that support it. To use the scheduling support, you must have
the [RuntimeClass admission controller](/docs/reference/access-authn-authz/admission-controllers/#runtimeclass)
diff --git a/content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md b/content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md
index e2b7ab1f34..8b1747b857 100644
--- a/content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md
+++ b/content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md
@@ -201,7 +201,7 @@ Monitoring agents for device plugin resources can be deployed as a daemon, or as
The canonical directory `/var/lib/kubelet/pod-resources` requires privileged access, so monitoring
agents must run in a privileged security context. If a device monitoring agent is running as a
DaemonSet, `/var/lib/kubelet/pod-resources` must be mounted as a
-{{< glossary_tooltip term_id="volume" >}} in the plugin's
+{{< glossary_tooltip term_id="volume" >}} in the device monitoring agent's
[PodSpec](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#podspec-v1-core).
Support for the "PodResources service" requires `KubeletPodResources` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) to be enabled.
diff --git a/content/en/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins.md b/content/en/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins.md
index 0384754e35..7b53fa326f 100644
--- a/content/en/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins.md
+++ b/content/en/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins.md
@@ -159,7 +159,7 @@ This option is provided to the network-plugin; currently **only kubenet supports
## Usage Summary
* `--network-plugin=cni` specifies that we use the `cni` network plugin with actual CNI plugin binaries located in `--cni-bin-dir` (default `/opt/cni/bin`) and CNI plugin configuration located in `--cni-conf-dir` (default `/etc/cni/net.d`).
-* `--network-plugin=kubenet` specifies that we use the `kubenet` network plugin with CNI `bridge` and `host-local` plugins placed in `/opt/cni/bin` or `cni-bin-dir`.
+* `--network-plugin=kubenet` specifies that we use the `kubenet` network plugin with CNI `bridge`, `lo` and `host-local` plugins placed in `/opt/cni/bin` or `cni-bin-dir`.
* `--network-plugin-mtu=9001` specifies the MTU to use, currently only used by the `kubenet` network plugin.
## {{% heading "whatsnext" %}}
diff --git a/content/en/docs/concepts/scheduling-eviction/assign-pod-node.md b/content/en/docs/concepts/scheduling-eviction/assign-pod-node.md
index e684b6ea60..abe4f4b9eb 100644
--- a/content/en/docs/concepts/scheduling-eviction/assign-pod-node.md
+++ b/content/en/docs/concepts/scheduling-eviction/assign-pod-node.md
@@ -246,7 +246,7 @@ as at least one already-running pod that has a label with key "security" and val
on node N if node N has a label with key `topology.kubernetes.io/zone` and some value V
such that there is at least one node in the cluster with key `topology.kubernetes.io/zone` and
value V that is running a pod that has a label with key "security" and value "S1".) The pod anti-affinity
-rule says that the pod cannot be scheduled onto a node if that node is in the same zone as a pod with
+rule says that the pod should not be scheduled onto a node if that node is in the same zone as a pod with
label having key "security" and value "S2". See the
[design doc](https://git.k8s.io/community/contributors/design-proposals/scheduling/podaffinity.md)
for many more examples of pod affinity and anti-affinity, both the `requiredDuringSchedulingIgnoredDuringExecution`
diff --git a/content/en/docs/concepts/scheduling-eviction/pod-overhead.md b/content/en/docs/concepts/scheduling-eviction/pod-overhead.md
index cb3ad94241..15992126f9 100644
--- a/content/en/docs/concepts/scheduling-eviction/pod-overhead.md
+++ b/content/en/docs/concepts/scheduling-eviction/pod-overhead.md
@@ -194,4 +194,4 @@ from source in the meantime.
* [RuntimeClass](/docs/concepts/containers/runtime-class/)
-* [PodOverhead Design](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/20190226-pod-overhead.md)
+* [PodOverhead Design](https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/688-pod-overhead)
diff --git a/content/en/docs/concepts/scheduling-eviction/resource-bin-packing.md b/content/en/docs/concepts/scheduling-eviction/resource-bin-packing.md
index 0679e1fd8b..a327f1de24 100644
--- a/content/en/docs/concepts/scheduling-eviction/resource-bin-packing.md
+++ b/content/en/docs/concepts/scheduling-eviction/resource-bin-packing.md
@@ -82,7 +82,7 @@ requested the score value must be reversed as follows.
```yaml
shape:
- utilization: 0
- score: 100
+ score: 10
- utilization: 100
score: 0
```
diff --git a/content/en/docs/concepts/services-networking/ingress-controllers.md b/content/en/docs/concepts/services-networking/ingress-controllers.md
index df0e3ffd22..3f04bfa009 100644
--- a/content/en/docs/concepts/services-networking/ingress-controllers.md
+++ b/content/en/docs/concepts/services-networking/ingress-controllers.md
@@ -26,6 +26,7 @@ Kubernetes as a project supports and maintains [AWS](https://github.com/kubernet
* [AKS Application Gateway Ingress Controller](https://azure.github.io/application-gateway-kubernetes-ingress/) is an ingress controller that configures the [Azure Application Gateway](https://docs.microsoft.com/azure/application-gateway/overview).
* [Ambassador](https://www.getambassador.io/) API Gateway is an [Envoy](https://www.envoyproxy.io)-based ingress
controller.
+* [Avi Kubernetes Operator](https://github.com/vmware/load-balancer-and-ingress-services-for-kubernetes) provides L4-L7 load-balancing using [VMware NSX Advanced Load Balancer](https://avinetworks.com/).
* The [Citrix ingress controller](https://github.com/citrix/citrix-k8s-ingress-controller#readme) works with
Citrix Application Delivery Controller.
* [Contour](https://projectcontour.io/) is an [Envoy](https://www.envoyproxy.io/) based ingress controller.
diff --git a/content/en/docs/concepts/services-networking/network-policies.md b/content/en/docs/concepts/services-networking/network-policies.md
index 7d417e4df1..2000d838b4 100644
--- a/content/en/docs/concepts/services-networking/network-policies.md
+++ b/content/en/docs/concepts/services-networking/network-policies.md
@@ -35,6 +35,8 @@ Pods become isolated by having a NetworkPolicy that selects them. Once there is
Network policies do not conflict; they are additive. If any policy or policies select a pod, the pod is restricted to what is allowed by the union of those policies' ingress/egress rules. Thus, order of evaluation does not affect the policy result.
+For a network flow between two pods to be allowed, both the egress policy on the source pod and the ingress policy on the destination pod need to allow the traffic. If either the egress policy on the source, or the ingress policy on the destination denies the traffic, the traffic will be denied.
+
## The NetworkPolicy resource {#networkpolicy-resource}
See the [NetworkPolicy](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#networkpolicy-v1-networking-k8s-io) reference for a full definition of the resource.
diff --git a/content/en/docs/concepts/storage/persistent-volumes.md b/content/en/docs/concepts/storage/persistent-volumes.md
index 2d1064ed7c..5cf08f7ffc 100644
--- a/content/en/docs/concepts/storage/persistent-volumes.md
+++ b/content/en/docs/concepts/storage/persistent-volumes.md
@@ -311,7 +311,7 @@ If expanding underlying storage fails, the cluster administrator can manually re
PersistentVolume types are implemented as plugins. Kubernetes currently supports the following plugins:
* [`awsElasticBlockStore`](/docs/concepts/storage/volumes/#awselasticblockstore) - AWS Elastic Block Store (EBS)
-* [`azureDisk`](/docs/concepts/sotrage/volumes/#azuredisk) - Azure Disk
+* [`azureDisk`](/docs/concepts/storage/volumes/#azuredisk) - Azure Disk
* [`azureFile`](/docs/concepts/storage/volumes/#azurefile) - Azure File
* [`cephfs`](/docs/concepts/storage/volumes/#cephfs) - CephFS volume
* [`cinder`](/docs/concepts/storage/volumes/#cinder) - Cinder (OpenStack block storage)
diff --git a/content/en/docs/concepts/storage/volume-snapshot-classes.md b/content/en/docs/concepts/storage/volume-snapshot-classes.md
index 06382e5fba..ee781d665f 100644
--- a/content/en/docs/concepts/storage/volume-snapshot-classes.md
+++ b/content/en/docs/concepts/storage/volume-snapshot-classes.md
@@ -72,7 +72,7 @@ used for provisioning VolumeSnapshots. This field must be specified.
### DeletionPolicy
-Volume snapshot classes have a deletionPolicy. It enables you to configure what happens to a VolumeSnapshotContent when the VolumeSnapshot object it is bound to is to be deleted. The deletionPolicy of a volume snapshot can either be `Retain` or `Delete`. This field must be specified.
+Volume snapshot classes have a deletionPolicy. It enables you to configure what happens to a VolumeSnapshotContent when the VolumeSnapshot object it is bound to is to be deleted. The deletionPolicy of a volume snapshot class can either be `Retain` or `Delete`. This field must be specified.
If the deletionPolicy is `Delete`, then the underlying storage snapshot will be deleted along with the VolumeSnapshotContent object. If the deletionPolicy is `Retain`, then both the underlying snapshot and VolumeSnapshotContent remain.
diff --git a/content/en/docs/concepts/workloads/controllers/garbage-collection.md b/content/en/docs/concepts/workloads/controllers/garbage-collection.md
index 0e9b4f746a..1b1de5d0a4 100644
--- a/content/en/docs/concepts/workloads/controllers/garbage-collection.md
+++ b/content/en/docs/concepts/workloads/controllers/garbage-collection.md
@@ -150,14 +150,17 @@ curl -X DELETE localhost:8080/apis/apps/v1/namespaces/default/replicasets/my-rep
```
kubectl also supports cascading deletion.
-To delete dependents automatically using kubectl, set `--cascade` to true. To
-orphan dependents, set `--cascade` to false. The default value for `--cascade`
-is true.
+
+To delete dependents in the foreground using kubectl, set `--cascade=foreground`. To
+orphan dependents, set `--cascade=orphan`.
+
+The default behavior is to delete the dependents in the background which is the
+behavior when `--cascade` is omitted or explicitly set to `background`.
Here's an example that orphans the dependents of a ReplicaSet:
```shell
-kubectl delete replicaset my-repset --cascade=false
+kubectl delete replicaset my-repset --cascade=orphan
```
### Additional note on Deployments
diff --git a/content/en/docs/concepts/workloads/controllers/replicaset.md b/content/en/docs/concepts/workloads/controllers/replicaset.md
index ba0270b573..e45d20c8f7 100644
--- a/content/en/docs/concepts/workloads/controllers/replicaset.md
+++ b/content/en/docs/concepts/workloads/controllers/replicaset.md
@@ -283,7 +283,7 @@ curl -X DELETE 'localhost:8080/apis/apps/v1/namespaces/default/replicasets/fron
### Deleting just a ReplicaSet
-You can delete a ReplicaSet without affecting any of its Pods using [`kubectl delete`](/docs/reference/generated/kubectl/kubectl-commands#delete) with the `--cascade=false` option.
+You can delete a ReplicaSet without affecting any of its Pods using [`kubectl delete`](/docs/reference/generated/kubectl/kubectl-commands#delete) with the `--cascade=orphan` option.
When using the REST API or the `client-go` library, you must set `propagationPolicy` to `Orphan`.
For example:
```shell
diff --git a/content/en/docs/concepts/workloads/pods/_index.md b/content/en/docs/concepts/workloads/pods/_index.md
index af548a79cb..5dd6bac9de 100644
--- a/content/en/docs/concepts/workloads/pods/_index.md
+++ b/content/en/docs/concepts/workloads/pods/_index.md
@@ -15,8 +15,7 @@ card:
_Pods_ are the smallest deployable units of computing that you can create and manage in Kubernetes.
A _Pod_ (as in a pod of whales or pea pod) is a group of one or more
-{{< glossary_tooltip text="containers" term_id="container" >}}, with shared storage/network resources, and a specification
-for how to run the containers. A Pod's contents are always co-located and
+{{< glossary_tooltip text="containers" term_id="container" >}}, with shared storage and network resources, and a specification for how to run the containers. A Pod's contents are always co-located and
co-scheduled, and run in a shared context. A Pod models an
application-specific "logical host": it contains one or more application
containers which are relatively tightly coupled.
@@ -295,9 +294,10 @@ but cannot be controlled from there.
object definition describes the object in detail.
* [The Distributed System Toolkit: Patterns for Composite Containers](https://kubernetes.io/blog/2015/06/the-distributed-system-toolkit-patterns) explains common layouts for Pods with more than one container.
-To understand the context for why Kubernetes wraps a common Pod API in other resources (such as {{< glossary_tooltip text="StatefulSets" term_id="statefulset" >}} or {{< glossary_tooltip text="Deployments" term_id="deployment" >}}, you can read about the prior art, including:
- * [Aurora](https://aurora.apache.org/documentation/latest/reference/configuration/#job-schema)
- * [Borg](https://research.google.com/pubs/pub43438.html)
- * [Marathon](https://mesosphere.github.io/marathon/docs/rest-api.html)
- * [Omega](https://research.google/pubs/pub41684/)
- * [Tupperware](https://engineering.fb.com/data-center-engineering/tupperware/).
+To understand the context for why Kubernetes wraps a common Pod API in other resources (such as {{< glossary_tooltip text="StatefulSets" term_id="statefulset" >}} or {{< glossary_tooltip text="Deployments" term_id="deployment" >}}), you can read about the prior art, including:
+
+* [Aurora](https://aurora.apache.org/documentation/latest/reference/configuration/#job-schema)
+* [Borg](https://research.google.com/pubs/pub43438.html)
+* [Marathon](https://mesosphere.github.io/marathon/docs/rest-api.html)
+* [Omega](https://research.google/pubs/pub41684/)
+* [Tupperware](https://engineering.fb.com/data-center-engineering/tupperware/).
diff --git a/content/en/docs/concepts/workloads/pods/disruptions.md b/content/en/docs/concepts/workloads/pods/disruptions.md
index 78e8b39a47..3d4248443d 100644
--- a/content/en/docs/concepts/workloads/pods/disruptions.md
+++ b/content/en/docs/concepts/workloads/pods/disruptions.md
@@ -49,7 +49,7 @@ Cluster administrator actions include:
- [Draining a node](/docs/tasks/administer-cluster/safely-drain-node/) for repair or upgrade.
- Draining a node from a cluster to scale the cluster down (learn about
-[Cluster Autoscaling](/docs/tasks/administer-cluster/cluster-management/#cluster-autoscaler)
+[Cluster Autoscaling](https://github.com/kubernetes/autoscaler/#readme)
).
- Removing a pod from a node to permit something else to fit on that node.
diff --git a/content/en/docs/concepts/workloads/pods/init-containers.md b/content/en/docs/concepts/workloads/pods/init-containers.md
index 869ba66f66..363c38a39b 100644
--- a/content/en/docs/concepts/workloads/pods/init-containers.md
+++ b/content/en/docs/concepts/workloads/pods/init-containers.md
@@ -133,6 +133,7 @@ You can start this Pod by running:
```shell
kubectl apply -f myapp.yaml
```
+The output is similar to this:
```
pod/myapp-pod created
```
@@ -141,6 +142,7 @@ And check on its status with:
```shell
kubectl get -f myapp.yaml
```
+The output is similar to this:
```
NAME READY STATUS RESTARTS AGE
myapp-pod 0/1 Init:0/2 0 6m
@@ -150,6 +152,7 @@ or for more details:
```shell
kubectl describe -f myapp.yaml
```
+The output is similar to this:
```
Name: myapp-pod
Namespace: default
@@ -224,6 +227,7 @@ To create the `mydb` and `myservice` services:
```shell
kubectl apply -f services.yaml
```
+The output is similar to this:
```
service/myservice created
service/mydb created
@@ -235,6 +239,7 @@ Pod moves into the Running state:
```shell
kubectl get -f myapp.yaml
```
+The output is similar to this:
```
NAME READY STATUS RESTARTS AGE
myapp-pod 1/1 Running 0 9m
@@ -319,11 +324,9 @@ reasons:
-
## {{% heading "whatsnext" %}}
* Read about [creating a Pod that has an init container](/docs/tasks/configure-pod-container/configure-pod-initialization/#create-a-pod-that-has-an-init-container)
* Learn how to [debug init containers](/docs/tasks/debug-application-cluster/debug-init-containers/)
-
diff --git a/content/en/docs/concepts/workloads/pods/pod-lifecycle.md b/content/en/docs/concepts/workloads/pods/pod-lifecycle.md
index 81822a7f17..df83f7c5f3 100644
--- a/content/en/docs/concepts/workloads/pods/pod-lifecycle.md
+++ b/content/en/docs/concepts/workloads/pods/pod-lifecycle.md
@@ -85,6 +85,13 @@ Value | Description
`Failed` | All containers in the Pod have terminated, and at least one container has terminated in failure. That is, the container either exited with non-zero status or was terminated by the system.
`Unknown` | For some reason the state of the Pod could not be obtained. This phase typically occurs due to an error in communicating with the node where the Pod should be running.
+{{< note >}}
+When a Pod is being deleted, it is shown as `Terminating` by some kubectl commands.
+This `Terminating` status is not one of the Pod phases.
+A Pod is granted a term to terminate gracefully, which defaults to 30 seconds.
+You can use the flag `--force` to [terminate a Pod by force](/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination-forced).
+{{< /note >}}
+
If a node dies or is disconnected from the rest of the cluster, Kubernetes
applies a policy for setting the `phase` of all Pods on the lost node to Failed.
@@ -325,7 +332,7 @@ a time longer than the liveness interval would allow.
If your container usually starts in more than
`initialDelaySeconds + failureThreshold × periodSeconds`, you should specify a
startup probe that checks the same endpoint as the liveness probe. The default for
-`periodSeconds` is 30s. You should then set its `failureThreshold` high enough to
+`periodSeconds` is 10s. You should then set its `failureThreshold` high enough to
allow the container to start, without changing the default values of the liveness
probe. This helps to protect against deadlocks.
diff --git a/content/en/docs/contribute/style/hugo-shortcodes/example1.md b/content/en/docs/contribute/style/hugo-shortcodes/example1.md
index fbe21a1457..9e9f45b0a6 100644
--- a/content/en/docs/contribute/style/hugo-shortcodes/example1.md
+++ b/content/en/docs/contribute/style/hugo-shortcodes/example1.md
@@ -6,4 +6,4 @@ This is an **example** content file inside the **includes** leaf bundle.
{{< note >}}
Included content files can also contain shortcodes.
-{{< /note >}}
\ No newline at end of file
+{{< /note >}}
diff --git a/content/en/docs/contribute/style/hugo-shortcodes/index.md b/content/en/docs/contribute/style/hugo-shortcodes/index.md
index dd9ed06c31..fa25966e45 100644
--- a/content/en/docs/contribute/style/hugo-shortcodes/index.md
+++ b/content/en/docs/contribute/style/hugo-shortcodes/index.md
@@ -1,33 +1,30 @@
---
-approvers:
-- chenopis
title: Custom Hugo Shortcodes
content_type: concept
---
-This page explains the custom Hugo shortcodes that can be used in Kubernetes markdown documentation.
+This page explains the custom Hugo shortcodes that can be used in Kubernetes Markdown documentation.
Read more about shortcodes in the [Hugo documentation](https://gohugo.io/content-management/shortcodes).
-
## Feature state
-In a markdown page (`.md` file) on this site, you can add a shortcode to display version and state of the documented feature.
+In a Markdown page (`.md` file) on this site, you can add a shortcode to display version and state of the documented feature.
### Feature state demo
-Below is a demo of the feature state snippet, which displays the feature as stable in Kubernetes version 1.10.
+Below is a demo of the feature state snippet, which displays the feature as stable in the latest Kubernetes version.
```
-{{* feature-state for_k8s_version="v1.10" state="stable" */>}}
+{{* feature-state state="stable" */>}}
```
Renders to:
-{{< feature-state for_k8s_version="v1.10" state="stable" >}}
+{{< feature-state state="stable" >}}
The valid values for `state` are:
@@ -38,62 +35,22 @@ The valid values for `state` are:
### Feature state code
-The displayed Kubernetes version defaults to that of the page or the site. This can be changed by passing the for_k8s_version
shortcode parameter.
+The displayed Kubernetes version defaults to that of the page or the site. You can change the
+feature state version by passing the `for_k8s_version` shortcode parameter. For example:
```
-{{* feature-state for_k8s_version="v1.10" state="stable" */>}}
+{{* feature-state for_k8s_version="v1.10" state="beta" */>}}
```
Renders to:
-{{< feature-state for_k8s_version="v1.10" state="stable" >}}
-
-#### Alpha feature
-
-```
-{{* feature-state state="alpha" */>}}
-```
-
-Renders to:
-
-{{< feature-state state="alpha" >}}
-
-#### Beta feature
-
-```
-{{* feature-state state="beta" */>}}
-```
-
-Renders to:
-
-{{< feature-state state="beta" >}}
-
-#### Stable feature
-
-```
-{{* feature-state state="stable" */>}}
-```
-
-Renders to:
-
-{{< feature-state state="stable" >}}
-
-#### Deprecated feature
-
-```
-{{* feature-state state="deprecated" */>}}
-```
-
-Renders to:
-
-{{< feature-state state="deprecated" >}}
+{{< feature-state for_k8s_version="v1.10" state="beta" >}}
## Glossary
-There are two glossary tooltips.
+There are two glossary shortcodes: `glossary_tooltip` and `glossary_definition`.
-You can reference glossary terms with an inclusion that automatically updates and replaces content with the relevant links from [our glossary](/docs/reference/glossary/). When the term is moused-over by someone
-using the online documentation, the glossary entry displays a tooltip.
+You can reference glossary terms with an inclusion that automatically updates and replaces content with the relevant links from [our glossary](/docs/reference/glossary/). When the glossary term is moused-over, the glossary entry displays a tooltip. The glossary term also displays as a link.
As well as inclusions with tooltips, you can reuse the definitions from the glossary in
page content.
@@ -102,7 +59,7 @@ The raw data for glossary terms is stored at [https://github.com/kubernetes/webs
### Glossary demo
-For example, the following include within the markdown renders to {{< glossary_tooltip text="cluster" term_id="cluster" >}} with a tooltip:
+For example, the following include within the Markdown renders to {{< glossary_tooltip text="cluster" term_id="cluster" >}} with a tooltip:
```
{{* glossary_tooltip text="cluster" term_id="cluster" */>}}
@@ -113,13 +70,16 @@ Here's a short glossary definition:
```
{{* glossary_definition prepend="A cluster is" term_id="cluster" length="short" */>}}
```
+
which renders as:
{{< glossary_definition prepend="A cluster is" term_id="cluster" length="short" >}}
You can also include a full definition:
+
```
{{* glossary_definition term_id="cluster" length="all" */>}}
```
+
which renders as:
{{< glossary_definition term_id="cluster" length="all" >}}
@@ -255,7 +215,63 @@ Renders to:
{{< tab name="JSON File" include="podtemplate.json" />}}
{{< /tabs >}}
+## Version strings
+To generate a version string for inclusion in the documentation, you can choose from
+several version shortcodes. Each version shortcode displays a version string derived from
+the value of a version parameter found in the site configuration file, `config.toml`.
+The two most commonly used version parameters are `latest` and `version`.
+
+### `{{* param "version" */>}}`
+
+The `{{* param "version" */>}}` shortcode generates the value of the current version of
+the Kubernetes documentation from the `version` site parameter. The `param` shortcode accepts the name of one site parameter, in this case: `version`.
+
+{{< note >}}
+In previously released documentation, `latest` and `version` parameter values are not equivalent.
+After a new version is released, `latest` is incremented and the value of `version` for the documentation set remains unchanged. For example, a previously released version of the documentation displays `version` as
+`v1.19` and `latest` as `v1.20`.
+{{< /note >}}
+
+Renders to:
+
+{{< param "version" >}}
+
+### `{{* latest-version */>}}`
+
+The `{{* latest-version */>}}` shortcode returns the value of the `latest` site parameter.
+The `latest` site parameter is updated when a new version of the documentation is released.
+This parameter does not always match the value of `version` in a documentation set.
+
+Renders to:
+
+{{< latest-version >}}
+
+### `{{* latest-semver */>}}`
+
+The `{{* latest-semver */>}}` shortcode generates the value of `latest` without the "v" prefix.
+
+Renders to:
+
+{{< latest-semver >}}
+
+### `{{* version-check */>}}`
+
+The `{{* version-check */>}}` shortcode checks if the `min-kubernetes-server-version`
+page parameter is present and then uses this value to compare to `version`.
+
+Renders to:
+
+{{< version-check >}}
+
+### `{{* latest-release-notes */>}}`
+
+The `{{* latest-release-notes */>}}` shortcode generates a version string from `latest` and removes
+the "v" prefix. The shortcode prints a new URL for the release note CHANGELOG page with the modified version string.
+
+Renders to:
+
+{{< latest-release-notes >}}
## {{% heading "whatsnext" %}}
@@ -264,4 +280,3 @@ Renders to:
* Learn about [page content types](/docs/contribute/style/page-content-types/).
* Learn about [opening a pull request](/docs/contribute/new-content/open-a-pr/).
* Learn about [advanced contributing](/docs/contribute/advanced/).
-
diff --git a/content/en/docs/reference/access-authn-authz/admission-controllers.md b/content/en/docs/reference/access-authn-authz/admission-controllers.md
index e57813ec12..8d01b1d20c 100644
--- a/content/en/docs/reference/access-authn-authz/admission-controllers.md
+++ b/content/en/docs/reference/access-authn-authz/admission-controllers.md
@@ -792,25 +792,8 @@ versions 1.9 and later).
## Is there a recommended set of admission controllers to use?
-Yes. For Kubernetes version 1.10 and later, the recommended admission controllers are enabled by default (shown [here](/docs/reference/command-line-tools-reference/kube-apiserver/#options)), so you do not need to explicitly specify them. You can enable additional admission controllers beyond the default set using the `--enable-admission-plugins` flag (**order doesn't matter**).
+Yes. The recommended admission controllers are enabled by default (shown [here](/docs/reference/command-line-tools-reference/kube-apiserver/#options)), so you do not need to explicitly specify them. You can enable additional admission controllers beyond the default set using the `--enable-admission-plugins` flag (**order doesn't matter**).
{{< note >}}
`--admission-control` was deprecated in 1.10 and replaced with `--enable-admission-plugins`.
{{< /note >}}
-
-For Kubernetes 1.9 and earlier, we recommend running the following set of admission controllers using the `--admission-control` flag (**order matters**).
-
-* v1.9
-
- ```shell
- --admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota
- ```
-
- * It's worth reiterating that in 1.9, these happen in a mutating phase
-and a validating phase, and that for example `ResourceQuota` runs in the validating
-phase, and therefore is the last admission controller to run.
-`MutatingAdmissionWebhook` appears before it in this list, because it runs
-in the mutating phase.
-
- For earlier versions, there was no concept of validating versus mutating and the
-admission controllers ran in the exact order specified.
diff --git a/content/en/docs/reference/access-authn-authz/rbac.md b/content/en/docs/reference/access-authn-authz/rbac.md
index d3e6dc118e..783f25621f 100644
--- a/content/en/docs/reference/access-authn-authz/rbac.md
+++ b/content/en/docs/reference/access-authn-authz/rbac.md
@@ -87,7 +87,7 @@ Because ClusterRoles are cluster-scoped, you can also use them to grant access t
* non-resource endpoints (like `/healthz`)
* namespaced resources (like Pods), across all namespaces
For example: you can use a ClusterRole to allow a particular user to run
- `kubectl get pods --all-namespaces`.
+ `kubectl get pods --all-namespaces`
Here is an example of a ClusterRole that can be used to grant read access to
{{< glossary_tooltip text="secrets" term_id="secret" >}} in any particular namespace,
diff --git a/content/en/docs/reference/command-line-tools-reference/feature-gates.md b/content/en/docs/reference/command-line-tools-reference/feature-gates.md
index 4f4d0fda94..ed18f36c77 100644
--- a/content/en/docs/reference/command-line-tools-reference/feature-gates.md
+++ b/content/en/docs/reference/command-line-tools-reference/feature-gates.md
@@ -166,7 +166,8 @@ different Kubernetes components.
| `StorageVersionHash` | `true` | Beta | 1.15 | |
| `Sysctls` | `true` | Beta | 1.11 | |
| `TTLAfterFinished` | `false` | Alpha | 1.12 | |
-| `TopologyManager` | `false` | Alpha | 1.16 | |
+| `TopologyManager` | `false` | Alpha | 1.16 | 1.17 |
+| `TopologyManager` | `true` | Beta | 1.18 | |
| `ValidateProxyRedirects` | `false` | Alpha | 1.12 | 1.13 |
| `ValidateProxyRedirects` | `true` | Beta | 1.14 | |
| `WindowsEndpointSliceProxying` | `false` | Alpha | 1.19 | |
diff --git a/content/en/docs/reference/command-line-tools-reference/kubelet.md b/content/en/docs/reference/command-line-tools-reference/kubelet.md
index e56e84bc57..b569177dda 100644
--- a/content/en/docs/reference/command-line-tools-reference/kubelet.md
+++ b/content/en/docs/reference/command-line-tools-reference/kubelet.md
@@ -351,7 +351,7 @@ kubelet [flags]
@@ -63,19 +65,21 @@ kubelet [flags]
-设置为 true 表示添加文件目录到 header 中
+设置为 true 表示将文件目录添加到日志消息的头部
---address 0.0.0.0 |
+--address ip 默认值:0.0.0.0 |
|
-kubelet 的服务 IP 地址(所有 IPv4 接口设置为 0.0.0.0 ,所有 IPv6 接口设置为 “::”)(默认值为 0.0.0.0)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+kubelet 用来提供服务的 IP 地址(设置为0.0.0.0 表示使用所有 IPv4 接口,
+设置为 :: 表示使用所有 IPv6 接口)。已弃用:应在 --config 所给的
+配置文件中进行设置。(进一步了解)
|
@@ -85,9 +89,11 @@ kubelet 的服务 IP 地址(所有 IPv4 接口设置为 0.0.0.0 ,所有 IPv6
|
-设置允许的非安全 sysctls 或 sysctl 模式(以 * 结尾) 白名单。使用此参数,风险自担。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+用逗号分隔的字符串序列设置允许使用的非安全的 sysctls 或 sysctl 模式(以 * 结尾) 。
+使用此参数时风险自担。已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解).
|
@@ -104,26 +110,17 @@ log to standard error as well as files
---anonymous-auth |
+--anonymous-auth 默认值:true |
|
-设置为 true 表示 kubelet 服务器可以接受匿名请求。未被任何认证组件拒绝的请求将被视为匿名请求。匿名请求的用户名为 system:anonymous,用户组为 system:unauthenticated。(默认值为 true)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
- |
-
-
-
---application-metrics-count-limit int |
-
-
- |
-
-设置每个容器应用性能度量值存储的个数上限。(默认值为 100)。(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
+设置为 true 表示 kubelet 服务器可以接受匿名请求。未被任何认证组件拒绝的请求将被视为匿名请求。
+匿名请求的用户名为 system:anonymous ,用户组为 system:unauthenticated。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -135,19 +132,23 @@ Max number of application metrics to store (per container) (default 100) (DEPREC
-使用 TokenReview API 对持有者令牌进行身份认证。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+使用 TokenReview
API 对持有者令牌进行身份认证。
+已弃用:应在 --config
所给的配置文件中进行设置。
+(进一步了解)
---authentication-token-webhook-cache-ttl duration |
+--authentication-token-webhook-cache-ttl duration 默认值:2m0s |
|
-webhook 令牌认证器返回的响应的缓存时间。(默认值为 2m0s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+对 Webhook 令牌认证组件所返回的响应的缓存时间。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -157,33 +158,42 @@ webhook 令牌认证器返回的响应的缓存时间。(默认值为 2m0s)
|
-kubelet 服务器的鉴权模式。可选值包括:AlwaysAllow、Webhook。Webhook 模式使用 SubjectAccessReview API 鉴权。(默认值:“AlwaysAllow”)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+kubelet 服务器的鉴权模式。可选值包括:AlwaysAllow 、Webhook 。Webhook 模式使用 SubjectAccessReview API 鉴权。
+当 --config 参数未被设置时,默认值为 AlwaysAllow ,当使用了
+--config 时,默认值为 Webhook 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---authorization-webhook-cache-authorized-ttl duration |
+--authorization-webhook-cache-authorized-ttl duration 默认值:5m0s |
|
-webhook 认证器所返回的 “己授权” 应答的缓存时间。(默认值为 5m0s)(默认值为 “AlwaysAllow”)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+对 Webhook 认证组件所返回的 “Authorized(已授权)” 应答的缓存时间。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---authorization-webhook-cache-unauthorized-ttl duration |
+--authorization-webhook-cache-unauthorized-ttl duration 默认值:30s |
|
-webhook 认证器所返回的 “未授权” 应答的缓存时间。(默认值为 30s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+对 Webhook 认证组件所返回的 “Unauthorized(未授权)” 应答的缓存时间。
+--config 时,默认值为 Webhook 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -195,31 +205,7 @@ webhook 认证器所返回的 “未授权” 应答的缓存时间。(默认
-Azure 云上镜像库的配置文件路径。
-
-
-
-
---boot-id-file string |
-
-
- |
-
-以逗号分隔的文件列表,用于检查引导 id(boot-id)。使用第 1 个存在 boot-id 的文件。(默认值为“/proc/sys/kernel/random/boot_id”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---bootstrap-checkpoint-path string |
-
-
- |
-
-<警告:alpha 功能> 存储检查点的目录的路径
+包含 Azure 容器镜像库配置信息的文件的路径。
|
@@ -229,57 +215,70 @@ Comma-separated list of files to check for boot-id. Use the first one that exist
|
-kubeconfig 文件的路径,该文件将用于获取 kubelet 的客户端证书。如果 --kubeconfig 指定的文件不存在,则使用引导 kubeconfig 从 API 服务器请求客户端证书。成功后,将引用生成的客户端证书和密钥的 kubeconfig 文件写入 --kubeconfig 所指定的路径。客户端证书和密钥文件将存储在 --cert-dir 指向的目录中。
+某 kubeconfig 文件的路径,该文件将用于获取 kubelet 的客户端证书。
+如果 --kubeconfig 所指定的文件不存在,则使用引导所用 kubeconfig
+从 API 服务器请求客户端证书。成功后,将引用生成的客户端证书和密钥的 kubeconfig
+写入 --kubeconfig 所指定的路径。客户端证书和密钥文件将存储在 --cert-dir
+所指的目录。
|
---cert-dir string |
+--cert-dir string 默认值:/var/lib/kubelet/pki |
|
-TLS 证书所在的目录。如果设置了 --tls-cert-file 和 --tls-private-key-file,则该设置将被忽略。(默认值为 “/var/lib/kubelet/pki”)
+TLS 证书所在的目录。如果设置了 --tls-cert-file 和 --tls-private-key-file ,
+则此标志将被忽略。
|
---cgroup-driver string |
+--cgroup-driver string 默认值:cgroupfs |
|
-kubelet 操作本机 cgroup 时使用的驱动程序。支持的选项包括 cgroupfs 或者 systemd(默认值为 cgroupfs)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+kubelet 用来操作本机 cgroup 时使用的驱动程序。支持的选项包括 cgroupfs
+和 systemd 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
/td>
|
---cgroup-root string |
+--cgroup-root string 默认值:"" |
|
-为 pod 设置可选的根 cgroup。容器运行时会尽力而为。默认值:‘’,意味着将使用容器运行时的默认设置。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+可选的选项,为 Pod 设置根 cgroup。容器运行时会尽可能使用此配置。
+默认值 "" 意味着将使用容器运行时的默认设置。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---cgroups-per-qos |
+--cgroups-per-qos 默认值:true |
|
-启用创建 QoS cgroup 层次结构。此值为 true 时创建顶级的 QoS 和 Pod cgroup。(默认值为 true)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+启用创建 QoS cgroup 层次结构。此值为 true 时 kubelet 为 QoS 和 Pod 创建顶级的 cgroup。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -289,9 +288,10 @@ Enable creation of QoS cgroup hierarchy, if true top level QoS and pod cgroups a
|
-如果大于 0.0,则引入随机客户端错误和延迟。用于测试。
+如果此值大于 0.0,则引入随机客户端错误和延迟。用于测试。
+已启用:将在未来版本中移除。
|
@@ -303,7 +303,10 @@ If > 0.0, introduce random client errors and latency. Intended for testing.
-如果已设置客户端 CA 证书文件,则使用与客户端证书的 CommonName 对应的身份对任何携带 client-ca 文件中的授权机构之一签名的客户端证书的请求进行身份验证。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+如果设置了此参数,则使用对应文件中机构之一检查请求中所携带的客户端证书。
+若客户端证书通过身份认证,则其对应身份为其证书中所设置的 CommonName。
+已弃用:应在 --config
所给的配置文件中进行设置。
+(进一步了解)
@@ -313,9 +316,10 @@ If set, any request presenting a client certificate signed by one of the authori
|
-云服务商的配置文件路径。
+云驱动配置文件的路径。空字符串表示没有配置文件。
+已弃用:将在 1.23 版本中移除,以便于从 kubelet 中去除云驱动代码。
|
@@ -325,9 +329,11 @@ The path to the cloud provider configuration file.
|
-云服务商。设置为空字符串表示在没有云服务商的情况下运行。如果已设置云服务商,则云服务商将确定节点的名称(查阅云提供商文档以确定是否以及如何使用主机名)。
+云服务的提供者。设置为空字符串表示在没有云驱动的情况下运行。
+如果设置了此标志,则云驱动负责确定节点的名称(参考云提供商文档以确定是否以及如何使用主机名)。
+已弃用:将在 1.23 版本中移除,以便于从 kubelet 中去除云驱动代码。
|
@@ -337,9 +343,15 @@ The provider for cloud services. Specify empty string for running with no cloud
|
-集群内 DNS 服务的 IP 地址,以逗号分隔。仅当 Pod 设置了 “dnsPolicy=ClusterFirst” 属性时可用。注意:列表中出现的所有 DNS 服务器必须包含相同的记录组,否则集群中的名称解析可能无法正常工作。无法保证名称解析过程中会牵涉到哪些 DNS 服务器。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+DNS 服务器的 IP 地址,以逗号分隔。此标志值用于 Pod 中设置了 “dnsPolicy=ClusterFirst ”
+时为容器提供 DNS 服务。注意:列表中出现的所有 DNS 服务器必须包含相同的记录组,
+否则集群中的名称解析可能无法正常工作。至于名称解析过程中会牵涉到哪些 DNS 服务器,
+这一点无法保证。
+--config 时,默认值为 Webhook 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -349,45 +361,53 @@ Comma-separated list of DNS server IP address. This value is used for container
|
-集群的域名。如果设置了此值,除了主机的搜索域外,kubelet 还将配置所有容器以搜索所指定的域名(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/)。
+集群的域名。如果设置了此值,kubelet 除了将主机的搜索域配置到所有容器之外,还会为其
+配置所搜这里指定的域名。
+--config 时,默认值为 Webhook 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---cni-bin-dir string |
+--cni-bin-dir string 默认值:/opt/cni/bin |
|
-<警告:alpha 功能> 以逗号分隔的目录的完整路径列表,kubelet 将在其中搜索 CNI 插件可执行文件。仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。(默认为 “/opt/cni/bin”)
+<警告:alpha 特性> 此值为以逗号分隔的完整路径列表。
+kubelet 将在所指定路径中搜索 CNI 插件的可执行文件。
+仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。
|
---cni-cache-dir string |
+--cni-cache-dir string 默认值:/var/lib/cni/cache |
|
-<警告:alpha 功能> CNI 用于缓存文件的目录的完整路径。仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。(默认为 “/var/lib/cni/cache”)
+<警告:alpha 特性> 此值为一个目录的全路径名。CNI 将在其中缓存文件。
+仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。
|
---cni-conf-dir string |
+--cni-conf-dir string 默认值:/etc/cni/net.d |
|
-<警告:alpha 功能> 用来搜索 CNI 配置文件的目录的完整路径。仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。(默认为 “/etc/cni/net.d”)
+<警告:alpha 特性> 此值为某目录的全路径名。kubelet 将在其中搜索 CNI 配置文件。
+仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。
|
@@ -399,79 +419,67 @@ Domain for this cluster. If set, kubelet will configure all containers to searc
-kubelet 将从该文件加载其初始配置。该路径可以是绝对路径,也可以是相对路径。相对路径从 kubelet 的当前工作目录开始。省略此参数则使用内置的默认配置值。命令行参数会覆盖此文件中的配置。
+kubelet 将从此标志所指的文件中加载其初始配置。此路径可以是绝对路径,也可以是相对路径。
+相对路径按 kubelet 的当前工作目录起计。省略此参数时 kubelet 会使用内置的默认配置值。
+命令行参数会覆盖此文件中的配置。
---container-hints string |
+--container-log-max-files int32 默认值:5 |
|
-容器提示(hints)文件的位置。(默认值为 “/etc/cadvisor/container_hints.json”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---container-log-max-files int32 |
-
-
- |
-
-<警告:beta 功能> 设置容器可以存在的容器日志文件个数上限。此值必须不小于 2。此参数只能与 --container-runtime=remote 参数一起使用。(默认值为 5)。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+<警告:beta 特性> 设置容器的日志文件个数上限。此值必须不小于 2。
+此标志只能与 --container-runtime=remote 标志一起使用。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---container-log-max-size string |
+--container-log-max-size string 默认值:10Mi |
|
-<警告:beta 功能> 设置容器日志文件在轮转生成新文件时之前的最大值。此参数只能与 --container-runtime=remote 参数一起使用。(默认值为 “10Mi”)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+<警告:beta 特性> 设置容器日志文件在轮换生成新文件时之前的最大值
+(例如,10Mi )。
+此标志只能与 --container-runtime=remote 标志一起使用。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---container-runtime string |
+--container-runtime string 默认值:docker |
|
-要使用的容器运行时。目前支持 ‘docker’、‘remote’、‘rkt(已弃用)’。(默认值为 ‘docker’)。
+要使用的容器运行时。目前支持 docker、 remote 。
|
---container-runtime-endpoint string |
+--container-runtime-endpoint string 默认值:unix:///var/run/dockershim.sock |
|
-[实验性特性] 容器运行时的远程服务端点。目前支持的类型包括 Linux 系统上的 UNIX 套接字、Windows 系统上支持的 npipe 和 TCP 端点。例如:‘unix:///var/run/dockershim.sock’、‘npipe:////./pipe/dockershim’。(默认值为 “unix:///var/run/dockershim.sock”)
- |
-
-
-
---containerd string |
-
-
- |
-
-设置 containerd 的端点(默认值为 “/run/containerd/containerd.sock”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
+[实验性特性] 远程运行时服务的端点。目前支持 Linux 系统上的 UNIX 套接字和
+Windows 系统上的 npipe 和 TCP 端点。例如:
+unix:///var/run/dockershim.sock 、
+npipe:////./pipe/dockershim 。
|
@@ -483,163 +491,79 @@ containerd endpoint (default "/run/containerd/containerd.sock") (DEPRECATED: Thi
-当启用了性能分析时,启用锁竞争分析(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+当启用了性能分析时,启用锁竞争分析。
+已弃用:应在 --config
所给的配置文件中进行设置。
+(进一步了解)
---cpu-cfs-quota |
+--cpu-cfs-quota 默认值:true |
|
-设置为 true 表示启用 CPU CFS 配额,用于设置容器的 CPU 限制(默认值为 true)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+为设置了 CPU 限制的容器启用 CPU CFS 配额保障。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---cpu-cfs-quota-period duration |
+--cpu-cfs-quota-period duration 默认值:100ms |
|
-设置 CPU CFS 配额周期,cpu.cfs_period_us。默认使用 Linux 内核所设置的默认值 (默认值为 100ms)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置 CPU CFS 配额周期 cpu.cfs_period_us 。默认使用 Linux 内核所设置的默认值 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---cpu-manager-policy string |
+--cpu-manager-policy string 默认值:none |
|
-设置 CPU 管理器策略。可选值包括:‘none’ 和 ‘static’。默认值:“none”。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+要使用的 CPU 管理器策略。可选值包括:none 和 static 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---cpu-manager-reconcile-period NodeStatusUpdateFrequency |
+--cpu-manager-reconcile-period duration 默认值:10s |
|
-<警告:alpha 功能> 设置 CPU 管理器的调和时间。例如:‘10s’ 或者 ‘1m’。如果未设置,默认使用 NodeStatusUpdateFrequency 取值(默认值为 10s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+<警告:alpha 特性> 设置 CPU 管理器的调和时间。例如:10s 或者 1m 。
+如果未设置,默认使用节点状态更新频率。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---docker string |
+--docker-endpoint string 默认值:unix:///var/run/docker.sock |
|
-docker 服务的端点地址(默认值为 “unix:///var/run/docker.sock”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---docker-endpoint string |
-
-
- |
-
-docker 端点使用该参数值进行通信。仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。(默认为 “unix:///var/run/docker.sock”)
- |
-
-
-
---docker-env-metadata-whitelist string |
-
-
- |
-
-docker 容器需要使用的以逗号分隔的环境变量键名列表(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---docker-only |
-
-
- |
-
-设置为 true 表示除了根统计信息外,仅报告 Docker 容器的统计信息(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---docker-root string |
-
-
- |
-
-已弃用:docker 根目录的路径(备用,默认值:/var/lib/docker)(默认值为 “/var/lib/docker”)
- |
-
-
-
---docker-tls |
-
-
- |
-
-使用 TLS 连接 docker。(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---docker-tls-ca string |
-
-
- |
-
-可信 CA 的路径(默认值为 “ca.pem”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---docker-tls-cert string |
-
-
- |
-
-客户端证书的路径(默认值为 “cert.pem”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---docker-tls-key string |
-
-
- |
-
-私钥文件路径(默认值为 “key.pem”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
+使用这里的端点与 docker 端点通信。
+仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。
|
@@ -649,141 +573,130 @@ path to private key (default "key.pem") (DEPRECATED: This is a cadvisor flag tha
|
-设置 kubelet 使用此目录来保存所下载的配置和跟踪配置运行状况。如果目录不存在,则创建该目录。该路径可以是绝对路径,也可以是相对路径。相对路径从 kubelet 的当前工作目录开始。设置此参数将启用动态 kubelet 配置。必须启用 DynamicKubeletConfig 特性开关才能传递此参数;由于该功能为 beta,此特性开关当前默认为 true。
+kubelet 使用此目录来保存所下载的配置,跟踪配置运行状况。
+如果目录不存在,则 kubelet 创建该目录。此路径可以是绝对路径,也可以是相对路径。
+相对路径从 kubelet 的当前工作目录计算。
+设置此参数将启用动态 kubelet 配置。必须启用 DynamicKubeletConfig
+特性门控之后才能设置此标志;由于此特性为 beta 阶段,对应的特性门控当前默认为
+true 。
|
---enable-cadvisor-json-endpoints |
+--enable-cadvisor-json-endpoints Default: `false` |
|
-启用 cAdvisor JSON 数据的 /spec 和 /stats/* 端点。(默认值为 false)(已弃用:未来版本将会移除该参数)
+启用 cAdvisor JSON 数据的 /spec 和 /stats/* 端点。
+已弃用:未来版本将会移除此标志。
|
---enable-controller-attach-detach |
+--enable-controller-attach-detach 默认值:true |
|
-设置为 true 表示启用 Attach/Detach 控制器进行来挂接和摘除调度到该节点的卷,同时禁用 kubelet 执行挂接和摘除操作(默认值为 true)
+启用 Attach/Detach 控制器来挂接和摘除调度到该节点的卷,同时禁用 kubelet 执行挂接和摘除操作。
|
---enable-debugging-handlers |
+--enable-debugging-handlers Default: `true` |
|
-设置为 true 表示启用服务器端点进行日志收集和在本地运行容器和命令(默认值为 true)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+启用服务器上用于日志收集和在本地运行容器和命令的端点。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---enable-load-reader |
+--enable-server |
|
-设置为 true 表示启用读取 CPU 负载(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
+启用 kubelet 服务器。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---enable-server |
+--enforce-node-allocatable strings Default: `pods` |
|
-启动 kubelet 服务器(默认值为 true)
+用逗号分隔的列表,包含由 kubelet 强制执行的节点可分配资源级别。
+可选配置为:none 、pods 、system-reserved 和 kube-reserved 。
+在设置 system-reserved 和 kube-reserved 这两个值时,同时要求设置
+--system-reserved-cgroup 和 --kube-reserved-cgroup 这两个参数。
+如果设置为 none ,则不需要设置其他参数。
+参考相关文档。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---enforce-node-allocatable stringSlice |
+--event-burst int32 默认值:10 |
|
-用逗号分隔的列表,包含由 kubelet 强制执行的节点可分配资源级别。可选配置为:‘none’、‘pods’、‘system-reserved’ 和 ‘kube-reserved’。在设置 ‘system-reserved’ 和 ‘kube-reserved’ 这两个值时,同时要求设置 ‘--system-reserved-cgroup’ 和 ‘--kube-reserved-cgroup’ 这两个参数。如果设置为 ‘none’,则不需要设置其他参数。更多信息请参考 https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/。(默认值为 pods)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+事件记录的个数的突发峰值上限,在遵从 --event-qps 阈值约束的前提下
+临时允许事件记录达到此数目。仅在 --event-qps 大于 0 时使用。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---event-burst int32 |
+--event-qps int32 Default: 5 |
|
-突发事件记录的个数上限,在遵从 event-qps 阈值约束的前提下临时允许事件记录达到此数目。仅在 --event-qps 大于 0 时使用(默认值为 10)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置大于 0 的值表示限制每秒可生成的事件数量。设置为 0 表示不限制。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---event-qps int32 |
+--eviction-hard string 默认值:imagefs.available<15%,memory.available<100Mi,nodefs.available<10% |
|
-设置大于 0 的值表示限制每秒可生成的事件数量。设置为 0 表示不限制。(默认值为 5)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
- |
-
-
-
---event-storage-age-limit string |
-
-
- |
-
-不同类型事件的最长保存时间。取值是键值对(key=value)的逗号分隔列表,其中键名是事件类型(例如:creation、oom)或者 “default”,键值是持续时间(duration)。所有未指定的事件类型都使用默认值(默认值为 “default=0”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---event-storage-event-limit string |
-
-
- |
-
-每种事件类型的最大保存数量。取值是键值对(key=value)的逗号分隔列表,其中键名是事件类型(例如:creation、oom)或者 “default”,键值是一个整数(integer)。所有未指定的事件类型都使用默认值(默认值为 “default=0”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---eviction-hard mapStringString |
-
-
- |
-
-触发 Pod 驱逐操作的一组硬性门限(例如:memory.available < 1Gi(内存可用值小于 1 G))设置。(默认值为 imagefs.available<15%,memory.available<100Mi,nodefs.available<10%,nodefs.inodesFree<5%)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+触发 Pod 驱逐操作的一组硬性门限(例如:memory.available<1Gi
+(内存可用值小于 1 G))设置。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -793,9 +706,12 @@ A set of eviction thresholds (e.g. memory.available<1Gi) that if met would trigg
|
-响应满足软驱逐阈值(soft eviction threshold)而终止 Pod 时使用的最长宽限期(以秒为单位)。如果设置为负数,则遵循 Pod 的指定值。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+响应满足软性驱逐阈值(Soft Eviction Threshold)而终止 Pod 时使用的最长宽限期(以秒为单位)。
+如果设置为负数,则遵循 Pod 的指定值。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -805,21 +721,26 @@ Maximum allowed grace period (in seconds) to use when terminating pods in respon
|
-当本节点压力过大时,kubelet 执行软性驱逐操作。此参数设置软性驱逐操作需要回收的资源的最小数量(例如:imagefs.available=2Gi)。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+当某资源压力过大时,kubelet 将执行 Pod 驱逐操作。
+此参数设置软性驱逐操作需要回收的资源的最小数量(例如:imagefs.available=2Gi )。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---eviction-pressure-transition-period duration |
+--eviction-pressure-transition-period duration 默认值:5m0s |
|
-kubelet 在触发软性 Pod 驱逐操作之前的最长等待时间。(默认值为 5m0s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+kubelet 在驱逐压力状况解除之前的最长等待时间。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -829,9 +750,12 @@ kubelet 在触发软性 Pod 驱逐操作之前的最长等待时间。(默认
|
-设置一组驱逐阈值(例如:memory.available<1.5Gi)。如果在相应的宽限期内达到该阈值,则会触发软性 Pod 驱逐操作。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置一组驱逐阈值(例如:memory.available<1.5Gi )。
+如果在相应的宽限期内达到该阈值,则会触发 Pod 驱逐操作。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -841,9 +765,12 @@ A set of eviction thresholds (e.g. memory.available<1.5Gi) that if met over a co
|
-设置一组驱逐宽限期,对应于触发软性 Pod 驱逐操作之前软性驱逐阈值所需持续的时间长短。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置一组驱逐宽限期(例如,memory.available=1m30s ),对应于触发软性 Pod
+驱逐操作之前软性驱逐阈值所需持续的时间长短。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -860,14 +787,17 @@ Whether kubelet should exit upon lock-file contention.
---experimental-allocatable-ignore-eviction |
+--experimental-allocatable-ignore-eviction 默认值:false |
|
-设置为 true 表示在计算节点可分配资源数量时忽略硬性逐出阈值设置。请参考 https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/。(默认值为 false)。
+设置为 true 表示在计算节点可分配资源数量时忽略硬性逐出阈值设置。
+参考
+相关文档。
+已启用:将在 1.23 版本中移除。
|
@@ -879,7 +809,7 @@ When set to 'true', Hard Eviction Thresholds will be ignored while calculating N
-(已弃用:使用 --bootstrap-kubeconfig 参数)
+已弃用:应使用 --bootstrap-kubeconfig
标志
@@ -889,9 +819,11 @@ When set to 'true', Hard Eviction Thresholds will be ignored while calculating N
|
-[实验性特性] 设置为 true 表示 kubelet 在进行挂载卷操作之前对本节点上所需的组件(如可执行文件等)进行检查
+[实验性特性] 设置为 true 表示 kubelet 在进行挂载卷操作之前要
+在本节点上检查所需的组件(如可执行文件等)是否存在。
+已弃用:将在 1.23 版本中移除,以便使用 CSI。
|
@@ -901,33 +833,55 @@ When set to 'true', Hard Eviction Thresholds will be ignored while calculating N
|
-设置为 true 表示 kubelet 将会集成内核的 memcg 通知机制而不是使用轮询机制来判断是否达到了内存驱逐阈值。
+设置为 true 表示 kubelet 将会集成内核的 memcg 通知机制而不是使用轮询机制来
+判断是否达到了内存驱逐阈值。
+此标志将在 1.23 版本移除。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---experimental-mounter-path string |
+--experimental-log-sanitization |
|
-[实验性特性] 卷挂载器(mounter)可执行文件的路径。设置为空表示使用默认挂载器 mount。
+[试验性功能] 启用此标志之后,kubelet 会避免将标记为敏感的字段(密码、密钥、令牌等)
+写入日志中。运行时的日志清理可能会带来相当的计算开销,因此不应该在
+产品环境中启用。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
+ |
+
+
+--experimental-mounter-path string 默认值:mount |
+
+
+ |
+
+[实验性特性] 卷挂载器(mounter)的可执行文件的路径。设置为空表示使用默认挂载器 mount 。
+已弃用:将在 1.23 版本移除以支持 CSI。
|
---fail-swap-on |
+--fail-swap-on 默认值:true |
|
-设置为 true 表示如果主机启用了交换分区,kubelet 将无法使用。(默认值为 true)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置为 true 表示如果主机启用了交换分区,kubelet 将直接失败。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -937,71 +891,249 @@ Makes the Kubelet fail to start if swap is enabled on the node. (default true)
|
-用于 alpha 实验性质的特性开关组,每个开关以 key=value 形式表示。当前可用开关包括: APIListChunking=true|false (BETA - 默认值=true) APIResponseCompression=true|false (BETA - 默认值=true) AllAlpha=true|false (ALPHA - 默认值=false) AppArmor=true|false (BETA - 默认值=true) AttachVolumeLimit=true|false (BETA - 默认值=true) BalanceAttachedNodeVolumes=true|false (ALPHA - 默认值=false) BlockVolume=true|false (BETA - 默认值=true) BoundServiceAccountTokenVolume=true|false (ALPHA - 默认值=false) CPUManager=true|false (BETA - 默认值=true) CRIContainerLogRotation=true|false (BETA - 默认值=true)
- CSIBlockVolume=true|false (BETA - 默认值=true) CSIDriverRegistry=true|false (BETA - 默认值=true) CSIInlineVolume=true|false (BETA - 默认值=true) CSIMigration=true|false (ALPHA - 默认值=false) CSIMigrationAWS=true|false (ALPHA - 默认值=false) CSIMigrationAzureDisk=true|false (ALPHA - 默认值=false) CSIMigrationAzureFile=true|false (ALPHA - 默认值=false) CSIMigrationGCE=true|false (ALPHA - 默认值=false) CSIMigrationOpenStack=true|false (ALPHA - 默认值=false) CSINodeInfo=true|false (BETA - 默认值=true) CustomCPUCFSQuotaPeriod=true|false (ALPHA - 默认值=false) CustomResourceDefaulting=true|false (BETA - 默认值=true) DevicePlugins=true|false (BETA - 默认值=true) DryRun=true|false (BETA - 默认值=true) DynamicAuditing=true|false (ALPHA - 默认值=false) DynamicKubeletConfig=true|false (BETA - 默认值=true) EndpointSlice=true|false (ALPHA - 默认值=false) EphemeralContainers=true|false (ALPHA - 默认值=false) EvenPodsSpread=true|false (ALPHA - 默认值=false) ExpandCSIVolumes=true|false (BETA - 默认值=true) ExpandInUsePersistentVolumes=true|false (BETA - 默认值=true) ExpandPersistentVolumes=true|false (BETA - 默认值=true) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - 默认值=false) HPAScaleToZero=true|false (ALPHA - 默认值=false) HyperVContainer=true|false (ALPHA - 默认值=false) IPv6DualStack=true|false (ALPHA - 默认值=false) KubeletPodResources=true|false (BETA - 默认值=true) LegacyNodeRoleBehavior=true|false (ALPHA - 默认值=true) LocalStorageCapacityIsolation=true|false (BETA - 默认值=true) LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - 默认值=false) MountContainers=true|false (ALPHA - 默认值=false) NodeDisruptionExclusion=true|false (ALPHA - 默认值=false) NodeLease=true|false (BETA - 默认值=true) NonPreemptingPriority=true|false (ALPHA - 默认值=false) PodOverhead=true|false (ALPHA - 默认值=false) PodShareProcessNamespace=true|false (BETA - 默认值=true) ProcMountType=true|false (ALPHA - 默认值=false)br/>QOSReserved=true|false (ALPHA - 默认值=false) RemainingItemCount=true|false (BETA - 默认值=true) RemoveSelfLink=true|false (ALPHA - 默认值=false) RequestManagement=true|false (ALPHA - 默认值=false) ResourceLimitsPriorityFunction=true|false (ALPHA - 默认值=false) ResourceQuotaScopeSelectors=true|false (BETA - 默认值=true) RotateKubeletClientCertificate=true|false (BETA - 默认值=true) RotateKubeletServerCertificate=true|false (BETA - 默认值=true) RunAsGroup=true|false (BETA - 默认值=true) RuntimeClass=true|false (BETA - 默认值=true) SCTPSupport=true|false (ALPHA - 默认值=false) ScheduleDaemonSetPods=true|false (BETA - 默认值=true) ServerSideApply=true|false (BETA - 默认值=true) ServiceLoadBalancerFinalizer=true|false (BETA - 默认值=true) ServiceNodeExclusion=true|false (ALPHA - 默认值=false) StartupProbe=true|false (BETA - 默认值=true) StorageVersionHash=true|false (BETA - 默认值=true) StreamingProxyRedirects=true|false (BETA - 默认值=true) SupportNodePidsLimit=true|false (BETA - 默认值=true) SupportPodPidsLimit=true|false (BETA - 默认值=true) Sysctls=true|false (BETA - 默认值=true) TTLAfterFinished=true|false (ALPHA - 默认值=false) TaintBasedEvictions=true|false (BETA - 默认值=true) TaintNodesByCondition=true|false (BETA - 默认值=true) TokenRequest=true|false (BETA - 默认值=true) TokenRequestProjection=true|false (BETA - 默认值=true) TopologyManager=true|false (ALPHA - 默认值=false) ValidateProxyRedirects=true|false (BETA - 默认值=true) VolumePVCDataSource=true|false (BETA - 默认值=true) VolumeSnapshotDataSource=true|false (ALPHA - 默认值=false) VolumeSubpathEnvExpansion=true|false (BETA - 默认值=true) WatchBookmark=true|false (BETA - 默认值=true) WinDSR=true|false (ALPHA - 默认值=false) WinOverlay=true|false (ALPHA - 默认值=false) WindowsGMSA=true|false (BETA - 默认值=true) WindowsRunAsUserName=true|false (ALPHA - 默认值=false)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+用于 alpha 实验性质的特性开关组,每个开关以 key=value 形式表示。当前可用开关包括:
+APIListChunking=true|false (BETA - 默认值为 true)
+APIPriorityAndFairness=true|false (BETA - 默认值为 true)
+APIResponseCompression=true|false (BETA - 默认值为 true)
+APIServerIdentity=true|false (ALPHA - 默认值为 false)
+AllAlpha=true|false (ALPHA - 默认值为 false)
+AllBeta=true|false (BETA - 默认值为 false)
+AllowInsecureBackendProxy=true|false (BETA - 默认值为 true)
+AnyVolumeDataSource=true|false (ALPHA - 默认值为 false)
+AppArmor=true|false (BETA - 默认值为 true)
+BalanceAttachedNodeVolumes=true|false (ALPHA - 默认值为 false)
+BoundServiceAccountTokenVolume=true|false (ALPHA - 默认值为 false)
+CPUManager=true|false (BETA - 默认值为 true)
+CRIContainerLogRotation=true|false (BETA - 默认值为 true)
+CSIInlineVolume=true|false (BETA - 默认值为 true)
+CSIMigration=true|false (BETA - 默认值为 true)
+CSIMigrationAWS=true|false (BETA - 默认值为 false)
+CSIMigrationAWSComplete=true|false (ALPHA - 默认值为 false)
+CSIMigrationAzureDisk=true|false (BETA - 默认值为 false)
+CSIMigrationAzureDiskComplete=true|false (ALPHA - 默认值为 false)
+CSIMigrationAzureFile=true|false (ALPHA - 默认值为 false)
+CSIMigrationAzureFileComplete=true|false (ALPHA - 默认值为 false)
+CSIMigrationGCE=true|false (BETA - 默认值为 false)
+CSIMigrationGCEComplete=true|false (ALPHA - 默认值为 false)
+CSIMigrationOpenStack=true|false (BETA - 默认值为 false)
+CSIMigrationOpenStackComplete=true|false (ALPHA - 默认值为 false)
+CSIMigrationvSphere=true|false (BETA - 默认值为 false)
+CSIMigrationvSphereComplete=true|false (BETA - 默认值为 false)
+CSIServiceAccountToken=true|false (ALPHA - 默认值为 false)
+CSIStorageCapacity=true|false (ALPHA - 默认值为 false)
+CSIVolumeFSGroupPolicy=true|false (BETA - 默认值为 true)
+ConfigurableFSGroupPolicy=true|false (BETA - 默认值为 true)
+CronJobControllerV2=true|false (ALPHA - 默认值为 false)
+CustomCPUCFSQuotaPeriod=true|false (ALPHA - 默认值为 false)
+DefaultPodTopologySpread=true|false (BETA - 默认值为 true)
+DevicePlugins=true|false (BETA - 默认值为 true)
+DisableAcceleratorUsageMetrics=true|false (BETA - 默认值为 true)
+DownwardAPIHugePages=true|false (ALPHA - 默认值为 false)
+DynamicKubeletConfig=true|false (BETA - 默认值为 true)
+EfficientWatchResumption=true|false (ALPHA - 默认值为 false)
+EndpointSlice=true|false (BETA - 默认值为 true)
+EndpointSliceNodeName=true|false (ALPHA - 默认值为 false)
+EndpointSliceProxying=true|false (BETA - 默认值为 true)
+EndpointSliceTerminatingCondition=true|false (ALPHA - 默认值为 false)
+EphemeralContainers=true|false (ALPHA - 默认值为 false)
+ExpandCSIVolumes=true|false (BETA - 默认值为 true)
+ExpandInUsePersistentVolumes=true|false (BETA - 默认值为 true)
+ExpandPersistentVolumes=true|false (BETA - 默认值为 true)
+ExperimentalHostUserNamespaceDefaulting=true|false (BETA - 默认值为 false)
+GenericEphemeralVolume=true|false (ALPHA - 默认值为 false)
+GracefulNodeShutdown=true|false (ALPHA - 默认值为 false)
+HPAContainerMetrics=true|false (ALPHA - 默认值为 false)
+HPAScaleToZero=true|false (ALPHA - 默认值为 false)
+HugePageStorageMediumSize=true|false (BETA - 默认值为 true)
+IPv6DualStack=true|false (ALPHA - 默认值为 false)
+ImmutableEphemeralVolumes=true|false (BETA - 默认值为 true)
+KubeletCredentialProviders=true|false (ALPHA - 默认值为 false)
+KubeletPodResources=true|false (BETA - 默认值为 true)
+LegacyNodeRoleBehavior=true|false (BETA - 默认值为 true)
+LocalStorageCapacityIsolation=true|false (BETA - 默认值为 true)
+LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - 默认值为 false)
+MixedProtocolLBService=true|false (ALPHA - 默认值为 false)
+NodeDisruptionExclusion=true|false (BETA - 默认值为 true)
+NonPreemptingPriority=true|false (BETA - 默认值为 true)
+PodDisruptionBudget=true|false (BETA - 默认值为 true)
+PodOverhead=true|false (BETA - 默认值为 true)
+ProcMountType=true|false (ALPHA - 默认值为 false)
+QOSReserved=true|false (ALPHA - 默认值为 false)
+RemainingItemCount=true|false (BETA - 默认值为 true)
+RemoveSelfLink=true|false (BETA - 默认值为 true)
+RootCAConfigMap=true|false (BETA - 默认值为 true)
+RotateKubeletServerCertificate=true|false (BETA - 默认值为 true)
+RunAsGroup=true|false (BETA - 默认值为 true)
+ServerSideApply=true|false (BETA - 默认值为 true)
+ServiceAccountIssuerDiscovery=true|false (BETA - 默认值为 true)
+ServiceLBNodePortControl=true|false (ALPHA - 默认值为 false)
+ServiceNodeExclusion=true|false (BETA - 默认值为 true)
+ServiceTopology=true|false (ALPHA - 默认值为 false)
+SetHostnameAsFQDN=true|false (BETA - 默认值为 true)
+SizeMemoryBackedVolumes=true|false (ALPHA - 默认值为 false)
+StorageVersionAPI=true|false (ALPHA - 默认值为 false)
+StorageVersionHash=true|false (BETA - 默认值为 true)
+Sysctls=true|false (BETA - 默认值为 true)
+TTLAfterFinished=true|false (ALPHA - 默认值为 false)
+TopologyManager=true|false (BETA - 默认值为 true)
+ValidateProxyRedirects=true|false (BETA - 默认值为 true)
+WarningHeaders=true|false (BETA - 默认值为 true)
+WinDSR=true|false (ALPHA - 默认值为 false)
+WinOverlay=true|false (BETA - 默认值为 true)
+WindowsEndpointSliceProxying=true|false (ALPHA - 默认值为 false)
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---file-check-frequency duration |
+--file-check-frequency duration 默认值:20s |
|
-检查配置文件中新数据的时间间隔(默认值为 20s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+检查配置文件中新数据的时间间隔。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---global-housekeeping-interval duration |
+--hairpin-mode string 默认值:promiscuous-bridge |
|
-全局资源清理(housekeeping)操作的时间间隔。(默认值为 1m0s)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
+设置 kubelet 执行发夹模式(hairpin)网络地址转译的方式。
+该模式允许后端端点对其自身服务的访问能够再次经由负载均衡转发回自身。
+可选项包括 “promiscuous-bridge ”、“hairpin-veth ” 和 “none ”。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---hairpin-mode string |
+--healthz-bind-address ip 默认值:127.0.0.1 |
|
-设置 kubelet 执行发夹模式(hairpin)网络地址转译的方式。该模式允许后端端点对其自身服务的访问能够再次经由负载均衡转发回自身。可选项包括 “promiscuous-bridge”、“hairpin-veth” 和 “none”。(默认值为 “promiscuous-bridge”)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+用于运行 healthz 服务器的 IP 地址(设置为 0.0.0.0 表示使用所有 IPv4 接口,
+设置为 :: 表示使用所有 IPv6 接口。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---healthz-bind-address 0.0.0.0 |
+--healthz-port int32 默认值:10248 |
|
-用于运行 healthz 服务器的 IP 地址(对于所有 IPv4 接口,设置为 0.0.0.0;对于所有 IPv6 接口,设置为 `::`)(默认值为 127.0.0.1)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
- |
-
-
-
---healthz-port int32 |
-
-
- |
-
-本地 healthz 端点使用的端口(设置为 0 表示禁用)(默认值为 10248)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+本地 healthz 端点使用的端口(设置为 0 表示禁用)。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1023,69 +1155,103 @@ kubelet 操作的帮助命令
|
-如果为非空,将使用此字符串而不是实际的主机名作为节点标识。如果设置了 --cloud-provider,则云服务商将确定节点的名称(请查询云服务商文档以确定是否以及如何使用主机名)。
+如果为非空,将使用此字符串而不是实际的主机名作为节点标识。如果设置了
+--cloud-provider ,则云驱动将确定节点的名称
+(请查阅云服务商文档以确定是否以及如何使用主机名)。
|
---housekeeping-interval duration |
+--housekeeping-interval duration 默认值:10s |
|
-清理容器操作的时间间隔(默认值为 10 s)
+清理容器操作的时间间隔。
|
---http-check-frequency duration |
+--http-check-frequency duration 默认值:20s |
|
-HTTP 服务以获取新数据的时间间隔(默认值为 20 s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+HTTP 服务以获取新数据的时间间隔。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---image-gc-high-threshold int32 |
+--image-credential-provider-bin-dir string |
|
-镜像垃圾回收上限。磁盘使用空间达到该百分比时,镜像垃圾回收将持续工作。值必须在 [0,100] 范围内。要禁用镜像垃圾回收,请设置为 100。(默认值为 85)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+指向凭据提供组件可执行文件所在目录的路径。
|
---image-gc-low-threshold int32 |
+--image-credential-provider-config string |
|
-镜像垃圾回收下限。磁盘使用空间在达到该百分比之前,镜像垃圾回收操作不会运行。值必须在 [0,100] 范围内,并且不得大于 --image-gc-high-threshold 的值。(默认值为 80)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+指向凭据提供插件配置文件所在目录的路径。
+ |
+
+
+--image-gc-high-threshold int32 默认值:85 |
+
+
+ |
+
+镜像垃圾回收上限。磁盘使用空间达到该百分比时,镜像垃圾回收将持续工作。
+值必须在 [0,100] 范围内。要禁用镜像垃圾回收,请设置为 100。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---image-pull-progress-deadline duration |
+--image-gc-low-threshold int32 默认值:80 |
|
-如果在该参数值所设置的期限之前没有拉取镜像的进展,镜像拉取操作将被取消。仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。(默认值为 1m0s)
+镜像垃圾回收下限。磁盘使用空间在达到该百分比之前,镜像垃圾回收操作不会运行。
+值必须在 [0,100] 范围内,并且不得大于 --image-gc-high-threshold 的值。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
+ |
+
+
+
+--image-pull-progress-deadline duration 默认值:1m0s |
+
+
+ |
+
+如果在该参数值所设置的期限之前没有拉取镜像的进展,镜像拉取操作将被取消。
+仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。
|
@@ -1095,33 +1261,40 @@ If no pulling progress is made before this deadline, the image pulling will be c
|
-[实验性特性] 远程镜像服务的端点。若未设定则默认情况下使用 container-runtime-endpoint 的值。目前支持的类型包括在 Linux 系统上的 UNIX 套接字端点和 Windows 系统上的 npipe 和 TCP 端点。例如:‘unix:///var/run/dockershim.sock’、‘npipe:////./pipe/dockershim’。
+[实验性特性] 远程镜像服务的端点。若未设定则默认情况下使用 --container-runtime-endpoint
+的值。目前支持的类型包括在 Linux 系统上的 UNIX 套接字端点和 Windows 系统上的 npipe 和 TCP 端点。
+例如:unix:///var/run/dockershim.sock 、npipe:////./pipe/dockershim 。
|
---iptables-drop-bit int32 |
+--iptables-drop-bit int32 默认值:15 |
|
-标记数据包将被丢弃的 fwmark 位设置。必须在 [0,31] 范围内。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+标记数据包将被丢弃的 fwmark 位设置。必须在 [0,31] 范围内。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---iptables-masquerade-bit int32 |
+--iptables-masquerade-bit int32 默认值:14 |
|
-标记数据包将进行 SNAT 的 fwmark 位设置。必须在 [0,31] 范围内。请将此参数与 kube-proxy 中的相应参数匹配。(默认值为 14)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+标记数据包将进行 SNAT 的 fwmark 空间位设置。必须在 [0,31] 范围内。
+请将此参数与 kube-proxy 中的相应参数匹配。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1131,70 +1304,100 @@ The bit of the fwmark space to mark packets for SNAT. Must be within the range [
|
-设置为 true 表示 Pod 终止后仍然保留之前挂载过的卷,常用于调试与卷有关的问题。(已弃用:未来版本将会移除该参数)
+设置为 true 表示 Pod 终止后仍然保留之前挂载过的卷,常用于调试与卷有关的问题。
+已弃用:将未来版本中移除。
|
---kube-api-burst int32 |
+--kernel-memcg-notification |
|
-每秒发送到 apiserver 的请求数量上限(默认值为 10)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+若启用,则 kubelet 将与内核中的 memcg 通知机制集成,不再使用轮询的方式来判定
+是否 Pod 达到内存驱逐阈值。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---kube-api-content-type string |
+--kube-api-burst int32 默认值:10 |
+
+
+ |
+
+每秒发送到 apiserver 的突发请求数量上限。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
+ |
+
+
+
+--kube-api-content-type string 默认值:application/vnd.kubernetes.protobuf |
|
-发送到 apiserver 的请求的内容类型。(默认值为 “application/vnd.kubernetes.protobuf”)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+发送到 apiserver 的请求的内容类型。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---kube-api-qps int32 |
+--kube-api-qps int32 默认值:5 |
|
-与 apiserver 通信的每秒查询数(QPS) 值(默认值为 5)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+与 apiserver 通信的每秒查询个数(QPS)。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---kube-reserved mapStringString |
+--kube-reserved mapStringString 默认值:<None> |
|
-kubernetes 系统预留的资源配置,以一组 ResourceName=ResourceQuantity 格式表示。(例如:cpu=200m,memory=500Mi,ephemeral-storage=1Gi)。当前支持用于根文件系统的 CPU、内存(memory)和本地临时存储。请参阅 http://kubernetes.io/docs/user-guide/compute-resources 获取更多信息。(默认值为 none)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+kubernetes 系统预留的资源配置,以一组 资源名称=资源数量 格式表示。
+(例如:cpu=200m,memory=500Mi,ephemeral-storage=1Gi )。
+当前支持 cpu 、memory 和用于根文件系统的 ephemeral-storage 。
+请参阅相关文档获取更多信息。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---kube-reserved-cgroup string |
+--kube-reserved-cgroup string 默认值:"" |
|
-给出某个顶层 cgroup 绝对名称,该 cgroup 用于管理带 ‘--kube-reserved’ 标签的 kubernetes 组件的计算资源。例如:‘/kube-reserved’。(默认值为 ‘’)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+给出某个顶层 cgroup 绝对名称,该 cgroup 用于管理通过标志 --kube-reserved
+为 kubernetes 组件所预留的计算资源。例如:"/kube-reserved" 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1204,9 +1407,10 @@ Absolute name of the top level cgroup that is used to manage kubernetes componen
|
-kubeconfig 配置文件的路径,指定如何连接到 API 服务器。提供 --kubeconfig 将启用 API 服务器模式,而省略 --kubeconfig 将启用独立模式。
+kubeconfig 配置文件的路径,指定如何连接到 API 服务器。
+提供 --kubeconfig 将启用 API 服务器模式,而省略 --kubeconfig 将启用独立模式。
|
@@ -1218,7 +1422,9 @@ kubeconfig 配置文件的路径,指定如何连接到 API 服务器。提供
-用于创建和运行 kubelet 的 cgroup 的绝对名称。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+用于创建和运行 kubelet 的 cgroup 的绝对名称。
+已弃用:应在 --config
所给的配置文件中进行设置。
+(进一步了解)
@@ -1230,31 +1436,20 @@ Optional absolute name of cgroups to create and run the Kubelet in. (DEPRECATED:
-<警告:alpha 功能> kubelet 使用的锁文件的路径。
+<警告:alpha 特性> kubelet 使用的锁文件的路径。
---log-backtrace-at traceLocation |
+--log-backtrace-at traceLocation 默认值::0 |
|
-当日志逻辑执行到命中 file 的第 N 行时,转储调用堆栈(默认值为:0)
- |
-
-
-
---log-cadvisor-usage |
-
-
- |
-
-设置为 true 表示将 cAdvisor 容器的使用情况写入日志(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
+形式为 <file>:<N> 。
+当日志逻辑执行到命中 <file> 的第 <N> 行时,转储调用堆栈。
|
@@ -1266,7 +1461,7 @@ Whether to log the usage of the cAdvisor container (DEPRECATED: This is a cadvis
-如果此值为非空,则在所指定的目录中写入日志文件
+如果此值为非空,则在所指定的目录中写入日志文件。
@@ -1278,67 +1473,76 @@ If non-empty, write log files in this directory
-如果此值非空,使用所给字符串作为日志文件名
+如果此值非空,使用所给字符串作为日志文件名。
---log-file-max-size uint |
+--log-file-max-size uint 默认值:1800 |
|
-定义日志文件的最大值。单位为兆字节(M)。如果值为 0,则最大文件大小表示无限制。(默认值为 1800)
+设置日志文件的最大值。单位为兆字节(M)。如果值为 0,则表示文件大小无限制。
|
---log-flush-frequency duration |
+--log-flush-frequency duration 默认值:5s |
|
-两次日志刷新之间的最大秒数(默认值为 5s)
+两次日志刷新之间的最大秒数(默认值为 5s)。
|
---logtostderr |
+--logging-format string 默认值:"text" |
+
+
+ |
+
+设置日志文件格式。可以设置的格式有:"text" 、"json" 。
+非默认的格式不会使用以下标志的配置:--add-dir-header , --alsologtostderr ,
+--log-backtrace-at , --log-dir , --log-file ,
+--log-file-max-size , --logtostderr , --skip-headers ,
+--skip-log-headers , --stderrthreshold , --log-flush-frequency 。
+非默认选项的其它值都应视为 Alpha 特性,将来出现更改时不会额外警告。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
+ |
+
+
+
+--logtostderr 默认值:true |
|
-日志输出到 stderr 而不是文件(默认值为 true)
+日志输出到 stderr 而不是文件。
|
---machine-id-file string |
+--make-iptables-util-chains 默认值:true |
|
-以逗号分隔的文件列表,用于检查 machine-id。kubelet 使用存在的第一个 machine-id。(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---make-iptables-util-chains |
-
-
- |
-
-设置为 true 表示 kubelet 将确保 Iptables 规则在主机上存在。(默认值为 true)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置为 true 表示 kubelet 将确保 iptables 规则在主机上存在。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1348,80 +1552,96 @@ If true, kubelet will ensure iptables utility rules are present on host. (defaul
|
-用于访问要运行的其他 Pod 规范的 URL(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+用于访问要运行的其他 Pod 规范的 URL。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---manifest-url-header --manifest-url-header 'a:hello,b:again,c:world' --manifest-url-header 'b:beautiful' |
+--manifest-url-header string |
|
-取值为由 HTTP 头部组成的逗号分隔列表,在访问 --manifest-url 所给出的 URL 时使用。名称相同的多个头部将按所列的顺序添加。该参数可以多次使用。例如:--manifest-url-header ‘a:hello,b:again,c:world’ --manifest-url-header ‘b:beautiful’(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+取值为由 HTTP 头部组成的逗号分隔列表,在访问 --manifest-url 所给出的 URL 时使用。
+名称相同的多个头部将按所列的顺序添加。该参数可以多次使用。例如:
+--manifest-url-header 'a:hello,b:again,c:world' --manifest-url-header 'b:beautiful' 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---master-service-namespace string |
+--master-service-namespace string 默认值:default |
|
-kubelet 向 Pod 注入 Kubernetes 主控服务信息时使用的命名空间(默认值为 “default”)(已弃用:此参数将在未来的版本中删除。)
+kubelet 向 Pod 注入 Kubernetes 主控服务信息时使用的命名空间。
+已弃用:此标志将在未来的版本中删除。
|
---max-open-files int |
+--max-open-files int 默认值:1000000 |
|
-kubelet 进程可以打开的最大文件数量(默认值为 1000000)。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+kubelet 进程可以打开的最大文件数量。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---max-pods int32 |
+--max-pods int32 默认值:110 |
|
-kubelet 能运行的 Pod 最大数量。(默认值为 110)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+此 kubelet 能运行的 Pod 最大数量。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---maximum-dead-containers int32 |
+--maximum-dead-containers int32 默认值:-1 |
|
-设置全局可保留的已停止容器实例个数上限。每个实例会占用一些磁盘空间。要禁用,请设置为负数。(默认值为 -1)(已弃用:请改用 --eviction-hard 或者 --eviction-soft。此参数将在未来的版本中删除。)
+设置全局可保留的已停止容器实例个数上限。
+每个实例会占用一些磁盘空间。要禁用,请设置为负数。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---maximum-dead-containers-per-container int32 |
+--maximum-dead-containers-per-container int32 默认值:1 |
|
-可以保留的每个已停止容器的最大实例数量。每个容器占用一些磁盘空间。(默认值为 1)(已弃用:请改用 --eviction-hard 或者 --eviction-soft。此参数将在未来的版本中删除。)
+每个已停止容器可以保留的的最大实例数量。每个容器占用一些磁盘空间。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1433,19 +1653,25 @@ Maximum number of old instances to retain per container. Each container takes up
-已结束的容器在被垃圾回收清理之前的最少存活时间。例如:‘300ms’、‘10s’ 或者 ‘2h45m’(已弃用:请改用 --eviction-hard 或者 --eviction-soft。此参数将在未来的版本中删除。)
+已结束的容器在被垃圾回收清理之前的最少存活时间。
+例如:300ms
、10s
或者 2h45m
。
+已弃用:请改用 --eviction-hard
或者 --eviction-soft
。
+此标志将在未来的版本中删除。
---minimum-image-ttl-duration duration |
+--minimum-image-ttl-duration duration 默认值:2m0s |
|
-不再使用的镜像在被垃圾回收清理之前的最少存活时间。例如:‘300ms’、‘10s’ 或者 ‘2h45m’。(默认值为 2m0s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+不再使用的镜像在被垃圾回收清理之前的最少存活时间。
+例如:300ms 、10s 或者 2h45m 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1457,7 +1683,8 @@ Minimum age for an unused image before it is garbage collected. Examples: '300m
-<警告:alpha 功能> 设置 kubelet/pod 生命周期中各种事件调用的网络插件的名称。仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。
+<警告:alpha 特性> 设置 kubelet/Pod 生命周期中各种事件调用的网络插件的名称。
+仅当容器运行环境设置为 docker
时,此特定于 docker 的参数才有效。
@@ -1469,7 +1696,9 @@ Minimum age for an unused image before it is garbage collected. Examples: '300m
-<警告:alpha 功能> 传递给网络插件的 MTU 值,将覆盖默认值。设置为 0 则使用默认的 1460 MTU。仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。
+<警告:alpha 特性> 传递给网络插件的 MTU 值,将覆盖默认值。
+设置为 0 则使用默认的 MTU 1460。仅当容器运行环境设置为 docker
时,
+此特定于 docker 的参数才有效。
@@ -1491,57 +1720,89 @@ IP address of the node. If set, kubelet will use this IP address for the node
|
-<警告:alpha 功能> kubelet 在集群中注册本节点时设置的标签。标签以 key=value 的格式表示,多个标签以逗号分隔。命名空间 ‘kubernetes.io’ 中的标签必须以 kubelet.kubernetes.io 或 node.kubernetes.io 为前缀,或者在以下明确允许范围内(beta.kubernetes.io/arch、beta.kubernetes.io/instance-type、beta.kubernetes.io/os、failure-domain.beta.kubernetes.io/region、 failure-domain.beta.kubernetes.io/zone、failure-domain.kubernetes.io/region、failure-domain.kubernetes.io/zone、kubernetes.io/arch、kubernetes.io/hostname、kubernetes.io/instance-type、kubernetes.io/os)
+<警告:alpha 特性> kubelet 在集群中注册本节点时设置的标签。标签以
+key=value 的格式表示,多个标签以逗号分隔。名字空间 kubernetes.io
+中的标签必须以 kubelet.kubernetes.io 或 node.kubernetes.io 为前缀,
+或者在以下明确允许范围内:
+beta.kubernetes.io/arch , beta.kubernetes.io/instance-type ,
+beta.kubernetes.io/os , failure-domain.beta.kubernetes.io/region ,
+failure-domain.beta.kubernetes.io/zone , kubernetes.io/arch ,
+kubernetes.io/hostname , kubernetes.io/os ,
+node.kubernetes.io/instance-type , topology.kubernetes.io/region ,
+topology.kubernetes.io/zone 。
|
---node-status-max-images int32 |
+--node-status-max-images int32 默认值:50 |
|
-<警告:alpha 功能> 在 Node.Status.Images 中可以报告的最大镜像数量。如果指定为 -1,则不设上限。(默认值为 50)
+在 node.status.images 中可以报告的最大镜像数量。如果指定为 -1,则不设上限。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---node-status-update-frequency duration |
+--node-status-update-frequency duration 默认值:10s |
|
-指定 kubelet 向主控节点汇报节点状态的时间间隔。注意:更改此常量时请务必谨慎,它必须与 nodecontroller 中的 nodeMonitorGracePeriod 一起使用。(默认值为 10s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+指定 kubelet 向主控节点汇报节点状态的时间间隔。注意:更改此常量时请务必谨慎,
+它必须与节点控制器中的 nodeMonitorGracePeriod 一起使用。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---non-masquerade-cidr string |
+--non-masquerade-cidr string 默认值:10.0.0.0/8 |
|
-kubelet 向该 IP 段之外的 IP 地址发送的流量将使用 IP 伪装技术。设置为 “0.0.0.0/0” 则不会使用伪装技术。(默认值为 “10.0.0.0/8”)(已弃用:该参数将在未来版本中删除。)
+kubelet 向该 IP 段之外的 IP 地址发送的流量将使用 IP 伪装技术。
+设置为 0.0.0.0/0 则不使用伪装。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---oom-score-adj int32 |
+--one-output |
|
-kubelet 进程的 oom-score-adj 参数值。有效范围为 [-1000,1000](默认值为 -999)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+如果设置此标志为 true ,则仅将日志写入其原来的严重性级别中,
+而不是同时将其写入更低严重性级别中。
+ |
+
+
+
+--oom-score-adj int32 默认值:-999 |
+
+
+ |
+
+kubelet 进程的 oom-score-adj 参数值。有效范围为 [-1000,1000] 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1551,21 +1812,25 @@ kubelet 进程的 oom-score-adj 参数值。有效范围为 [-1000,1000](默
|
-用于给 Pod 分配 IP 地址的 CIDR 地址池,仅在单机模式下使用。在集群模式下,CIDR 设置是从主服务器获取的。对于 IPv6,分配的 IP 的最大数量为 65536(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+用于给 Pod 分配 IP 地址的 CIDR 地址池,仅在独立运行模式下使用。
+在集群模式下,CIDR 设置是从主服务器获取的。对于 IPv6,分配的 IP 的最大数量为 65536。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---pod-infra-container-image string |
+--pod-infra-container-image string 默认值:k8s.gcr.io/pause:3.2 |
|
-指定基础设施镜像,Pod 内所有容器与其共享网络和 IPC 命名空间。仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。(默认值为 “k8s.gcr.io/pause:3.1”)
+指定基础设施镜像,Pod 内所有容器与其共享网络和 IPC 命名空间。
+仅当容器运行环境设置为 docker 时,此特定于 docker 的参数才有效。
|
@@ -1575,21 +1840,26 @@ The image whose network/ipc namespaces containers in each pod will use. This doc
|
-设置包含要运行的静态 Pod 的文件的路径,或单个静态 Pod 文件的路径。以点(.)开头的文件将被忽略。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置包含要运行的静态 Pod 的文件的路径,或单个静态 Pod 文件的路径。以点(. )
+开头的文件将被忽略。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---pod-max-pids int |
+--pod-max-pids int 默认值:-1 |
|
-设置每个 Pod 中的最大进程数目。如果为 -1,则 kubelet 使用节点可分配的 PID 容量作为默认值。(默认值为 -1)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置每个 Pod 中的最大进程数目。如果为 -1,则 kubelet 使用节点可分配的 PID 容量作为默认值。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1599,21 +1869,27 @@ Set the maximum number of processes per pod. If -1, the kubelet defaults to the
|
-kubelet 在每个处理器核上可运行的 Pod 数量。此 kubelet 上的 Pod 总数不能超过 max-pods 值。因此,如果此计算结果导致在 kubelet 上允许更多数量的 Pod,则使用 max-pods 值。值为 0 表示不做限制。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+kubelet 在每个处理器核上可运行的 Pod 数量。此 kubelet 上的 Pod 总数不能超过
+--max-pods 标志值。因此,如果此计算结果导致在 kubelet
+上允许更多数量的 Pod,则使用 --max-pods 值。值为 0 表示不作限制。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---port int32 |
+--port int32 默认值:10250 |
|
-kubelet 服务监听的本机端口号。(默认值为 10250)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+kubelet 服务监听的本机端口号。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1625,7 +1901,10 @@ kubelet 服务监听的本机端口号。(默认值为 10250)(已弃用:
-设置 kubelet 的默认内核调整行为。如果已设置该参数,当任何内核可调参数与 kubelet 默认值不同时,kubelet 都会出错。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置 kubelet 的默认内核调整行为。如果已设置该参数,当任何内核可调参数与
+kubelet 默认值不同时,kubelet 都会出错。
+已弃用:应在 --config
所给的配置文件中进行设置。
+(进一步了解)
@@ -1635,9 +1914,11 @@ Default kubelet behaviour for kernel tuning. If set, kubelet errors if any of ke
|
-设置主机数据库中用来标识节点的唯一标识,即 cloudprovider
+设置主机数据库(即,云驱动)中用来标识节点的唯一标识。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1647,21 +1928,27 @@ Unique identifier for identifying the node in a machine database, i.e cloudprovi
|
-<警告:alpha 功能> 设置在指定的 QoS 级别预留的 Pod 资源请求,以一组 “ResourceName=Percentage(资源名称=百分比)” 的形式进行设置,例如 memory=50%。当前仅支持内存(memory)。要求启用 QOSReserved 特性开关。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+<警告:alpha 特性> 设置在指定的 QoS 级别预留的 Pod 资源请求,以一组
+"资源名称=百分比" 的形式进行设置,例如 memory=50% 。
+当前仅支持内存(memory)。要求启用 QOSReserved 特性门控。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---read-only-port int32 |
+--read-only-port int32 默认值:10255 |
|
-kubelet 可以在没有身份验证/鉴权的情况下提供只读服务的端口(设置为 0 表示禁用)(默认值为 10255)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+kubelet 可以在没有身份验证/鉴权的情况下提供只读服务的端口(设置为 0 表示禁用)。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1671,9 +1958,10 @@ kubelet 可以在没有身份验证/鉴权的情况下提供只读服务的端
|
-设置为 true 表示发生内核失效时崩溃。仅用于测试。
+设置为 true 表示发生失效时立即崩溃。仅用于测试。
+已弃用:将在未来版本中移除。
|
@@ -1683,93 +1971,126 @@ If true, when panics occur crash. Intended for testing.
|
-启用容器流数据重定向。如果设置为 false,则 kubelet 将在 apiserver 和容器运行时之间转发容器流数据;如果设置为 true,则 kubelet 将返回指向 apiserver 的 HTTP 重定向指令,而 apiserver 将直接访问容器运行时。代理方法更安全,但会带来一些开销。重定向方法性能更高,但安全性较低,因为 apiserver 和容器运行时之间的连接可能未通过身份验证。
+启用容器流数据重定向。如果设置为 false,则 kubelet 将在 apiserver 和容器运行时
+之间转发容器流数据;如果设置为 true,则 kubelet 将返回指向 apiserver 的 HTTP 重定向信息,
+而 apiserver 将直接访问容器运行时。代理方法更安全,但会带来一些开销。
+重定向方法性能更高,但安全性较低,因为 apiserver 和容器运行时之间的连接可能未通过身份验证。
+已弃用:容器流数据重定向会在 v1.20 中从 kubelet 中移除,此标志会在 v1.22
+中移除。
+相关信息可参见改进说明。
|
---register-node |
+--register-node 默认值:true |
|
-将本节点注册到 apiserver。如果未提供 --kubeconfig 参数,则此参数无关紧要,因为 kubelet 将没有要注册的 apiserver。(默认值为 true)
+将本节点注册到 API 服务器。如果未提供 --kubeconfig 标志设置,
+则此参数无关紧要,因为 kubelet 将没有要注册的 API 服务器。
|
---register-schedulable |
+--register-schedulable 默认值:true |
|
-注册本节点为可调度的。register-node 为 false 时此设置无效。(默认值为 true)(已弃用:此参数将在未来的版本中删除。)
+注册本节点为可调度的节点。当 --register-node 标志为 false 时此设置无效。
+已弃用:此参数将在未来的版本中删除。
|
---register-with-taints []api.Taint |
+--register-with-taints mapStringString |
|
-设置本节点的污点标记,格式为 “<key>=<value>:<effect>” ,以逗号分隔。当 register-node 为 false 时此标志无效。
+设置本节点的污点标记,格式为 <key>=<value>:<effect> ,
+以逗号分隔。当 --register-node 为 false 时此标志无效。
+已弃用:将在未来版本中移除。
|
---registry-burst int32 |
+--registry-burst int32 默认值:10 |
|
-设置突发性镜像拉取的个数上限,在不超过 registration-qps 设置值的前提下暂时允许此参数所给的镜像拉取个数。仅在 --registry-qps 大于 0(默认值为 10)时使用(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置突发性镜像拉取的个数上限,在不超过 --registration-qps 设置值的前提下
+暂时允许此参数所给的镜像拉取个数。仅在 --registry-qps 大于 0 时使用。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---registry-qps int32 |
+--registry-qps int32 Default: 5 |
|
-如果 --registry-qps 大于 0,用来限制镜像仓库的 QPS 上限。设置为 0,表示不受限制。(默认值为 5)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+如此值大于 0,可用来限制镜像仓库的 QPS 上限。设置为 0,表示不受限制。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---resolv-conf string |
+--reserved-cpus string |
|
-名字解析服务的配置文件名,用作容器 DNS 解析配置的基础。(默认值为 “/etc/resolv.conf”)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+用逗号分隔的一组 CPU 或 CPU 范围列表,给出为系统和 Kubernetes 保留使用的 CPU。
+此列表所给出的设置优先于通过 --system-reserved 和
+--kube-reskube-reserved 所保留的 CPU 个数配置。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---root-dir string |
+--resolv-conf string 默认值:/etc/resolv.conf |
|
-设置用于管理 kubelet 文件的根目录(例如挂载卷的相关文件)(默认值为 “/var/lib/kubelet”)
+名字解析服务的配置文件名,用作容器 DNS 解析配置的基础。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
+ |
+
+
+
+--root-dir string 默认值:/var/lib/kubelet |
+
+
+ |
+
+设置用于管理 kubelet 文件的根目录(例如挂载卷的相关文件等)。
|
@@ -1779,9 +2100,12 @@ Directory path for managing kubelet files (volume mounts,etc). (default "/var/li
|
-<警告:alpha 功能> 设置当客户端证书即将过期时 kubelet 自动从 kube-apiserver 请求新的证书进行轮换。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+<警告:Beta 特性> 设置当客户端证书即将过期时 kubelet 自动从
+kube-apiserver 请求新的证书进行轮换。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1791,9 +2115,13 @@ Directory path for managing kubelet files (volume mounts,etc). (default "/var/li
|
-当证书即将过期时自动从 kube-apiserver 请求新的证书进行轮换。要求启用 RotateKubeletServerCertificate 特性开关,以及对提交的 CertificateSigningRequest 对象进行批复(approve)操作。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+当 kubelet 的服务证书即将过期时自动从 kube-apiserver 请求新的证书进行轮换。
+要求启用 RotateKubeletServerCertificate 特性门控,以及对提交的
+CertificateSigningRequest 对象进行批复(Approve)操作。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1803,9 +2131,12 @@ Auto-request and rotate the kubelet serving certificates by requesting new certi
|
-设置为 true 表示从本地清单或远程 URL 创建完 Pod 后立即退出 kubelet 进程,与 --enable-server 参数互斥
+设置为 true 表示从本地清单或远程 URL 创建完 Pod 后立即退出 kubelet 进程。
+与 --enable-server 标志互斥。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1822,38 +2153,46 @@ Optional absolute name of cgroups to create and run the runtime in.
---runtime-request-timeout duration |
+--runtime-request-timeout duration 默认值:2m0s |
|
-除了长时间运行的请求(包括 pull、logs、exec 和 attach 等操作),设置其他请求的超时时间。到达超时时间时,请求会被取消,抛出一个错误并会等待重试。(默认值为 2m0s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置除了长时间运行的请求(包括 pull 、logs 、exec
+和 attach 等操作)之外的其他运行时请求的超时时间。
+到达超时时间时,请求会被取消,抛出一个错误并会等待重试。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---seccomp-profile-root string |
+--seccomp-profile-root string 默认值:/var/lib/kubelet/seccomp |
|
-<警告:alpha 功能> seccomp 配置文件目录。(默认值为 “/var/lib/kubelet/seccomp”)
+<警告:alpha 特性> seccomp 配置文件目录。
+已弃用:将在 1.23 版本中移除,以使用 <root-dir>/seccomp 目录。
|
---serialize-image-pulls |
+--serialize-image-pulls 默认值:true |
|
-逐一拉取镜像。建议 *不要* 在 docker 守护进程版本低于 1.9 或启用了 Aufs 存储后端的节点上更改默认值。(默认值为 true)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+逐一拉取镜像。建议 *不要* 在 docker 守护进程版本低于 1.9 或启用了 Aufs 存储后端的节点上
+更改默认值。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -1865,7 +2204,7 @@ Pull images one at a time. We recommend *not* changing the default value on node
-设置为 true,则在日志消息中去掉标头前缀
+设置为 true 时在日志消息中去掉标头前缀。
@@ -1877,127 +2216,48 @@ If true, avoid header prefixes in the log messages
-设置为 true,打开日志文件时去掉标头
+设置为 true,打开日志文件时去掉标头。
---stderrthreshold severity |
+--stderrthreshold int 默认值:2 |
|
-设置严重程度达到或超过此阈值的日志输出到标准错误输出(默认值为 2)
+设置严重程度达到或超过此阈值的日志输出到标准错误输出。
|
---storage-driver-buffer-duration duration |
+--streaming-connection-idle-timeout duration 默认值:4h0m0s |
|
-设置存储驱动程序中写操作的缓冲时长,超过时长的操作会作为单一事务提交到非内存后端。(默认值为 1m0s)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
+设置流连接在自动关闭之前可以空闲的最长时间。0 表示没有超时限制。
+例如:5m 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---storage-driver-db string |
+--sync-frequency duration 默认值:1m0s |
|
-后端存储的数据库名称(默认值为 “cadvisor”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---storage-driver-host string |
-
-
- |
-
-后端存储的数据库连接 URL 地址(默认值为 “localhost:8086”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---storage-driver-password string |
-
-
- |
-
-后端存储的数据库密码(默认值为 “root”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---storage-driver-secure |
-
-
- |
-
-后端存储的数据库是否用安全连接(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---storage-driver-table string |
-
-
- |
-
-后端存储的数据库表名(默认值为 “stats”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---storage-driver-user string |
-
-
- |
-
-后端存储的数据库用户名(默认值为 “root”)(已弃用:这是一个错误地在 kubelet 中注册的 cadvisor 参数。由于遗留问题,在删除之前,它将遵循标准的 CLI 弃用时间表。)
- |
-
-
-
---streaming-connection-idle-timeout duration |
-
-
- |
-
-设置流连接在自动关闭之前可以空闲的最长时间。0 表示没有超时限制。例如:‘5m’(默认值为 4h0m0s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
- |
-
-
-
---sync-frequency duration |
-
-
- |
-
-在运行中的容器与其配置之间执行同步操作的最长时间间隔(默认值为 1m0s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+在运行中的容器与其配置之间执行同步操作的最长时间间隔。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -2007,33 +2267,46 @@ Max period between synchronizing running containers and config (default 1m0s) (D
|
-cgroup 的绝对名称,用于所有尚未放置在根目录下某 cgroup 内的非内核进程。空值表示不指定 cgroup。回滚该参数需要重启机器。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+此标志值为一个 cgroup 的绝对名称,用于所有尚未放置在根目录下某 cgroup 内的非内核进程。
+空值表示不指定 cgroup。回滚该参数需要重启机器。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---system-reserved mapStringString |
+--system-reserved mapStringString 默认值:无 |
|
-系统预留的资源配置,以一组 ”ResourceName=ResourceQuantity“ 的格式表示,(例如:cpu=200m,memory=500Mi,ephemeral-storage=1Gi)。目前仅支持 CPU 和内存(memory)的设置。请参考 http://kubernetes.io/docs/user-guide/compute-resources 获取更多信息。(默认值为 ”none“)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+系统预留的资源配置,以一组 资源名称=资源数量 的格式表示,
+(例如:cpu=200m,memory=500Mi,ephemeral-storage=1Gi )。
+目前仅支持 cpu 和 memory 的设置。
+更多细节可参考
+相关文档。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---system-reserved-cgroup string |
+--system-reserved-cgroup string 默认值:"" |
|
-给出一个顶层 cgroup 绝对名称,该 cgroup 用于管理非 kubernetes 组件,这些组件的计算资源通过 ‘--system-reserved’ 标志进行预留。例如 ‘/system-reserved’。(默认值为 ‘’)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+此标志给出一个顶层 cgroup 绝对名称,该 cgroup 用于管理非 kubernetes 组件,
+这些组件的计算资源通过 --system-reserved 标志进行预留。
+例如 "/system-reserved" 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -2043,21 +2316,30 @@ Absolute name of the top level cgroup that is used to manage non-kubernetes comp
|
-包含 x509 证书的文件路径,用于 HTTPS 认证。如果有中间证书,则中间证书要串接在在服务器证书之后。如果未提供 --tls-cert-file 和 --tls-private-key-file,kubelet 会为公开地址生成自签名证书和密钥,并将其保存到通过 --cert-dir 指定的目录中。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+包含 x509 证书的文件路径,用于 HTTPS 认证。
+如果有中间证书,则中间证书要串接在在服务器证书之后。
+如果未提供 --tls-cert-file 和 --tls-private-key-file ,
+kubelet 会为公开地址生成自签名证书和密钥,并将其保存到通过
+--cert-dir 指定的目录中。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---tls-cipher-suites stringSlice |
+--tls-cipher-suites string |
|
-服务器端加密算法列表,以逗号分隔,如果不设置,则使用 Go 语言加密包的默认算法列表。可选加密算法包括:TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_RC4_128_SHA (已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+服务器端加密算法列表,以逗号分隔。如果不设置,则使用 Go 语言加密包的默认算法列表。
+可选加密算法包括:TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_RC4_128_SHA
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -2067,9 +2349,12 @@ Comma-separated list of cipher suites for the server. If omitted, the default Go
|
-设置支持的最小 TLS 版本号,可选的版本号包括:VersionTLS10、VersionTLS11、VersionTLS12 和 VersionTLS13 (已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置支持的最小 TLS 版本号,可选的版本号包括:VersionTLS10 、
+VersionTLS11 、VersionTLS12 和 VersionTLS13 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -2079,22 +2364,42 @@ Minimum TLS version supported. Possible values: VersionTLS10, VersionTLS11, Vers
|
-包含与 --tls-cert-file 对应的 x509 私钥文件路径。(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+包含与 --tls-cert-file 对应的 x509 私钥文件路径。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
-
---topology-manager-policy string |
+--topology-manager-policy string 默认值:none |
|
-设置拓扑管理策略(Topology Manager policy)。可选值包括:‘none’、‘best-effort’、‘restricted’ 和 ‘single-numa-node’。(默认值为 “none”)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+设置拓扑管理策略(Topology Manager policy)。可选值包括:none 、
+best-effort 、restricted 和 single-numa-node 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
+ |
+
+
+
+--topology-manager-scope string 默认值:container |
+
+
+ |
+
+拓扑提示信息使用范围。拓扑管理器从提示提供者(Hints Providers)处收集提示信息,
+并将其应用到所定义的范围以确保 Pod 准入。
+可选值包括:container (默认)、pod 。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
@@ -2106,7 +2411,7 @@ Topology Manager policy to use. Possible values: 'none', 'best-effort', 'restric
-设置 kubelet 日志级别详细程度的数值
+设置 kubelet 日志级别详细程度的数值。
@@ -2118,7 +2423,7 @@ number for the log level verbosity
-打印 kubelet 版本信息并退出
+打印 kubelet 版本信息并退出。
@@ -2128,36 +2433,40 @@ Print version information and quit
|
-以逗号分隔的 pattern=N 设置列表,用于文件过滤的日志记录
+以逗号分隔的 pattern=N 设置列表,用于文件过滤的日志记录
|
---volume-plugin-dir string |
+--volume-plugin-dir string 默认值:/usr/libexec/kubernetes/kubelet-plugins/volume/exec/ |
|
-<警告:alpha 功能> 用来搜索第三方存储卷插件的目录(默认值为 “/usr/libexec/kubernetes/kubelet-plugins/volume/exec/”)
+用来搜索第三方存储卷插件的目录。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
---volume-stats-agg-period duration |
+--volume-stats-agg-period duration 默认值:1m0s |
|
-指定 kubelet 计算和缓存所有 Pod 和卷的磁盘用量总值的时间间隔。要禁用磁盘用量计算,请设置为 0。(默认值为 1m0s)(已弃用:在 --config 指定的配置文件中进行设置。有关更多信息,请参阅 https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/。)
+指定 kubelet 计算和缓存所有 Pod 和卷的磁盘用量总值的时间间隔。要禁用磁盘用量计算,
+请设置为 0。
+已弃用:应在 --config 所给的配置文件中进行设置。
+(进一步了解)
|
-
diff --git a/content/zh/docs/reference/glossary/kube-scheduler.md b/content/zh/docs/reference/glossary/kube-scheduler.md
index 67d82d98d7..e855034fa2 100644
--- a/content/zh/docs/reference/glossary/kube-scheduler.md
+++ b/content/zh/docs/reference/glossary/kube-scheduler.md
@@ -4,7 +4,7 @@ id: kube-scheduler
date: 2018-04-12
full_link: /docs/reference/generated/kube-scheduler/
short_description: >
- 主节点上的组件,该组件监视那些新创建的未指定运行节点的 Pod,并选择节点让 Pod 在上面运行。
+ 控制平面组件,负责监视新创建的、未指定运行节点的 Pod,选择节点让 Pod 在上面运行。
aka:
tags:
@@ -19,7 +19,7 @@ id: kube-scheduler
date: 2018-04-12
full_link: /docs/reference/generated/kube-scheduler/
short_description: >
- Component on the master that watches newly created pods that have no node assigned, and selects a node for them to run on.
+ Control plane component that watches for newly created pods with no assigned node, and selects a node for them to run on.
aka:
tags:
@@ -28,10 +28,12 @@ tags:
-->
+Control plane component that watches for newly created
+{{< glossary_tooltip term_id="pod" text="Pods" >}} with no assigned
+{{< glossary_tooltip term_id="node" text="node">}}, and selects a node for them
+to run on.-->
-主节点上的组件,该组件监视那些新创建的未指定运行节点的 Pod,并选择节点让 Pod 在上面运行。
+ 控制平面组件,负责监视新创建的、未指定运行{{< glossary_tooltip term_id="node" text="节点(node)">}}的 {{< glossary_tooltip term_id="pod" text="Pods" >}},选择节点让 Pod 在上面运行。
diff --git a/content/zh/docs/reference/glossary/kubelet.md b/content/zh/docs/reference/glossary/kubelet.md
index 4562f02f1f..a00971e224 100644
--- a/content/zh/docs/reference/glossary/kubelet.md
+++ b/content/zh/docs/reference/glossary/kubelet.md
@@ -28,13 +28,14 @@ tags:
-一个在集群中每个节点上运行的代理。
-它保证容器都运行在 Pod 中。
+一个在集群中每个{{< glossary_tooltip text="节点(node)" term_id="node" >}}上运行的代理。
+它保证{{< glossary_tooltip text="容器(containers)" term_id="container" >}}都
+运行在 {{< glossary_tooltip text="Pod" term_id="pod" >}} 中。
kubelet 接收一组通过各类机制提供给它的 PodSpecs,确保这些 PodSpecs
中描述的容器处于运行状态且健康。
diff --git a/content/zh/docs/reference/glossary/kubernetes-api.md b/content/zh/docs/reference/glossary/kubernetes-api.md
index b21b771bfb..060ddf93cd 100644
--- a/content/zh/docs/reference/glossary/kubernetes-api.md
+++ b/content/zh/docs/reference/glossary/kubernetes-api.md
@@ -17,7 +17,7 @@ tags:
title: Kubernetes API
id: kubernetes-api
date: 2018-04-12
-full_link: /zh/docs/concepts/overview/kubernetes-api/
+full_link: /docs/concepts/overview/kubernetes-api/
short_description: >
The application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster.
@@ -40,7 +40,7 @@ Kubernetes API 是通过 RESTful 接口提供 Kubernetes 功能服务并负责
Kubernetes resources and "records of intent" are all stored as API objects, and modified via RESTful calls to the API. The API allows configuration to be managed in a declarative way. Users can interact with the Kubernetes API directly, or via tools like `kubectl`. The core Kubernetes API is flexible and can also be extended to support custom resources.
-->
-Kubernetes 资源和"意向记录"都是作为 API 对象储存的,并可以通过对 API 的 RESTful 调用进行修改。
+Kubernetes 资源和"意向记录"都是作为 API 对象储存的,并可以通过调用 RESTful 风格的 API 进行修改。
API 允许以声明方式管理配置。
用户可以直接和 Kubernetes API 交互,也可以通过 `kubectl` 这样的工具进行交互。
核心的 Kubernetes API 是很灵活的,可以扩展以支持定制资源。
diff --git a/content/zh/docs/reference/glossary/label.md b/content/zh/docs/reference/glossary/label.md
index c2644dd0d5..f2c661cc44 100644
--- a/content/zh/docs/reference/glossary/label.md
+++ b/content/zh/docs/reference/glossary/label.md
@@ -1,5 +1,5 @@
---
-title: 标签
+title: 标签(Label)
id: label
date: 2018-04-12
full_link: /zh/docs/concepts/overview/working-with-objects/labels/
@@ -15,7 +15,7 @@ tags:
title: Label
id: label
date: 2018-04-12
-full_link: /zh/docs/concepts/overview/working-with-objects/labels/
+full_link: /docs/concepts/overview/working-with-objects/labels/
short_description: >
Tags objects with identifying attributes that are meaningful and relevant to users.
diff --git a/content/zh/docs/reference/glossary/limitrange.md b/content/zh/docs/reference/glossary/limitrange.md
index b2bf02639f..8bbad2ceb3 100644
--- a/content/zh/docs/reference/glossary/limitrange.md
+++ b/content/zh/docs/reference/glossary/limitrange.md
@@ -41,11 +41,11 @@ related:
- 提供约束来限制命名空间中每个 {{< glossary_tooltip text="容器" term_id="container" >}} 或 {{< glossary_tooltip text="Pod" term_id="pod" >}} 的资源消耗。
+ 提供约束来限制命名空间中每个 {{< glossary_tooltip text="容器(Containers)" term_id="container" >}} 或 {{< glossary_tooltip text="Pod" term_id="pod" >}} 的资源消耗。
-LimitRange 按照类型来限制命名空间中对象能够创建的数量,以及单个 {{< glossary_tooltip text="容器" term_id="container" >}} 或 {{< glossary_tooltip text="Pod" term_id="pod" >}} 可以请求/使用的计算资源量。
+LimitRange 按照类型来限制命名空间中对象能够创建的数量,以及单个 {{< glossary_tooltip text="容器(Containers)" term_id="container" >}} 或 {{< glossary_tooltip text="Pod" term_id="pod" >}} 可以请求/使用的计算资源量。
diff --git a/content/zh/docs/reference/glossary/logging.md b/content/zh/docs/reference/glossary/logging.md
index 2dfd03ccf3..8a88fe527e 100644
--- a/content/zh/docs/reference/glossary/logging.md
+++ b/content/zh/docs/reference/glossary/logging.md
@@ -1,5 +1,5 @@
---
-title: 日志
+title: 日志(Logging)
id: logging
date: 2019-04-04
full_link: /zh/docs/concepts/cluster-administration/logging/
@@ -11,7 +11,7 @@ tags:
- architecture
- fundamental
---
- 日志是 {{< glossary_tooltip text="集群" term_id="cluster" >}} 或应用程序记录的事件列表。
+ 日志是 {{< glossary_tooltip text="集群(cluster)" term_id="cluster" >}} 或应用程序记录的事件列表。
托管服务的一些例子有 AWS EC2、Azure SQL 数据库和 GCP Pub/Sub 等,
不过它们也可以是可以被某应用使用的任何软件交付件。
[服务目录](/zh/docs/concepts/extend-kubernetes/service-catalog/)
提供了一种方法用来列举、制备和绑定到
-{{< glossary_tooltip text="服务代理商" term_id="service-broker" >}}
+{{< glossary_tooltip text="服务代理商(Service Brokers)" term_id="service-broker" >}}
所提供的托管服务。
diff --git a/content/zh/docs/reference/glossary/manifest.md b/content/zh/docs/reference/glossary/manifest.md
index 2f489f87e9..041cc0c0d1 100644
--- a/content/zh/docs/reference/glossary/manifest.md
+++ b/content/zh/docs/reference/glossary/manifest.md
@@ -1,5 +1,5 @@
---
-title: 清单
+title: 清单(Manifest)
id: manifest
date: 2019-06-28
short_description: >
diff --git a/content/zh/docs/reference/glossary/master.md b/content/zh/docs/reference/glossary/master.md
index 5ef02a8ccf..5f6e086150 100644
--- a/content/zh/docs/reference/glossary/master.md
+++ b/content/zh/docs/reference/glossary/master.md
@@ -31,4 +31,4 @@ tags:
-该术语仍被一些配置工具使用,如 {{< glossary_tooltip text="kubeadm" term_id="kubeadm" >}} 以及托管的服务,为 {{< glossary_tooltip text="节点" term_id="node" >}} 添加 `kubernetes.io/role` 的 {{< glossary_tooltip text="标签" term_id="label" >}},以及管理控制平面 Pod 的调度。
\ No newline at end of file
+该术语仍被一些配置工具使用,如 {{< glossary_tooltip text="kubeadm" term_id="kubeadm" >}} 以及托管的服务,为 {{< glossary_tooltip text="节点(nodes)" term_id="node" >}} 添加 `kubernetes.io/role` 的 {{< glossary_tooltip text="标签(label)" term_id="label" >}},以及管理控制平面 Pod 的调度。
\ No newline at end of file
diff --git a/content/zh/docs/reference/glossary/member.md b/content/zh/docs/reference/glossary/member.md
index 57e7cac386..bc0b1efad5 100644
--- a/content/zh/docs/reference/glossary/member.md
+++ b/content/zh/docs/reference/glossary/member.md
@@ -1,5 +1,5 @@
---
-title: 成员
+title: 成员(Member)
id: member
date: 2018-04-12
full_link:
@@ -30,7 +30,7 @@ tags:
A continuously active {{< glossary_tooltip text="contributor" term_id="contributor" >}} in the K8s community.
-->
- K8s 社区中持续活跃的贡献者。
+ K8s 社区中持续活跃的{{< glossary_tooltip text="贡献者(contributor)" term_id="contributor" >}}。
@@ -38,5 +38,5 @@ tags:
Members can have issues and PRs assigned to them and participate in {{< glossary_tooltip text="special interest groups (SIGs)" term_id="sig" >}} through GitHub teams. Pre-submit tests are automatically run for members' PRs. A member is expected to remain an active contributor to the community.
-->
-可以将问题单(issue)和 PR 指派给成员,成员也可以通过 GitHub 小组加入 {{< glossary_tooltip text="特别兴趣小组 (SIGs)" term_id="sig" >}}。针对成员所提交的 PR,系统自动运行提交前测试。成员应该是持续活跃的社区贡献者。
+可以将问题单(issue)和 PR 指派给成员(Member),成员(Member)也可以通过 GitHub 小组加入 {{< glossary_tooltip text="特别兴趣小组 (SIGs)" term_id="sig" >}}。针对成员(Member)所提交的 PR,系统自动运行提交前测试。成员(Member)应该是持续活跃的社区贡献者。
diff --git a/content/zh/docs/reference/glossary/minikube.md b/content/zh/docs/reference/glossary/minikube.md
index e88e513ba4..4d834cd807 100644
--- a/content/zh/docs/reference/glossary/minikube.md
+++ b/content/zh/docs/reference/glossary/minikube.md
@@ -38,6 +38,10 @@ Minikube 是用来在本地运行 Kubernetes 的一种工具。
Minikube 在用户计算机上的一个虚拟机内运行单节点 Kubernetes 集群。
+你可以使用 Minikube
+[在学习环境中尝试 Kubernetes](/zh/docs/setup/learning-environment/).
diff --git a/content/zh/docs/reference/glossary/mirror-pod.md b/content/zh/docs/reference/glossary/mirror-pod.md
index a8aca1fb94..050525dde0 100644
--- a/content/zh/docs/reference/glossary/mirror-pod.md
+++ b/content/zh/docs/reference/glossary/mirror-pod.md
@@ -1,9 +1,9 @@
---
-title: 静态 Pod
+title: 镜像 Pod(Mirror Pod)
id: 静态-pod
date: 2019-08-06
short_description: >
- API 服务器中的一个对象,用于跟踪 kubelet 上的静态容器。
+ API 服务器中的一个对象,用于跟踪 kubelet 上的静态 pod。
aka:
tags:
@@ -27,7 +27,8 @@ tags:
A {{< glossary_tooltip text="pod" term_id="pod" >}} object that a kubelet uses
to represent a {{< glossary_tooltip text="static pod" term_id="static-pod" >}}
-->
- kubelet 使用一个对象 {{< glossary_tooltip text="pod" term_id="pod" >}} 来代表 {{< glossary_tooltip text="static pod" term_id="static-pod" >}}
+镜像 Pod(Mirror Pod)是被 kubelet 用来代表{{< glossary_tooltip text="静态 Pod" term_id="static-pod" >}} 的
+{{< glossary_tooltip text="pod" term_id="pod" >}} 对象。
@@ -43,4 +44,4 @@ will be visible on the API server, but cannot be controlled from there.
它会自动地尝试在 Kubernetes API 服务器上为它创建 Pod 对象。
这意味着 pod 在 API 服务器上将是可见的,但不能在其上进行控制。
-(例如,删除静态 pod 将不会停止 kubelet 守护程序的运行)。
+(例如,删除镜像 Pod 也不会阻止 kubelet 守护进程继续运行它)。
\ No newline at end of file
diff --git a/content/zh/docs/reference/glossary/name.md b/content/zh/docs/reference/glossary/name.md
index ae6b77e72a..6c6dd2b15c 100644
--- a/content/zh/docs/reference/glossary/name.md
+++ b/content/zh/docs/reference/glossary/name.md
@@ -1,5 +1,5 @@
---
-title: 名称
+title: 名称(Name)
id: name
date: 2018-04-12
full_link: /zh/docs/concepts/overview/working-with-objects/names/
@@ -16,7 +16,7 @@ tags:
title: Name
id: name
date: 2018-04-12
-full_link: /zh/docs/concepts/overview/working-with-objects/names/
+full_link: /docs/concepts/overview/working-with-objects/names/
short_description: >
A client-provided string that refers to an object in a resource URL, such as `/api/v1/pods/some-name`.
@@ -38,4 +38,4 @@ tags:
Only one object of a given kind can have a given name at a time. However, if you delete the object, you can make a new object with the same name.
-->
-一次只能有一个给定类型的对象具有给定的名称。但是,如果删除对象,则可以创建同名的新对象。
+某一时刻,只能有一个给定类型的对象具有给定的名称。但是,如果删除该对象,则可以创建同名的新对象。
diff --git a/content/zh/docs/reference/glossary/namespace.md b/content/zh/docs/reference/glossary/namespace.md
index 29f2108fb9..257f411e6b 100644
--- a/content/zh/docs/reference/glossary/namespace.md
+++ b/content/zh/docs/reference/glossary/namespace.md
@@ -1,10 +1,10 @@
---
-title: 命名空间
+title: 名字空间(Namespace)
id: namespace
date: 2018-04-12
full_link: /zh/docs/concepts/overview/working-with-objects/namespaces/
short_description: >
- 命名空间是 Kubernetes 为了在同一物理集群上支持多个虚拟集群而使用的一种抽象。
+ 名字空间是 Kubernetes 为了在同一物理集群上支持多个虚拟集群而使用的一种抽象。
aka:
tags:
@@ -16,7 +16,7 @@ tags:
title: Namespace
id: namespace
date: 2018-04-12
-full_link: /zh/docs/concepts/overview/working-with-objects/namespaces/
+full_link: /docs/concepts/overview/working-with-objects/namespaces/
short_description: >
An abstraction used by Kubernetes to support multiple virtual clusters on the same physical cluster.
@@ -30,7 +30,7 @@ tags:
An abstraction used by Kubernetes to support multiple virtual clusters on the same physical {{< glossary_tooltip text="cluster" term_id="cluster" >}}.
-->
-命名空间是 Kubernetes 为了在同一物理集群上支持多个虚拟集群而使用的一种抽象。
+名字空间是 Kubernetes 为了在同一物理集群上支持多个虚拟集群而使用的一种抽象。
@@ -38,4 +38,4 @@ tags:
Namespaces are used to organize objects in a cluster and provide a way to divide cluster resources. Names of resources need to be unique within a namespace, but not across namespaces.
-->
-命名空间用来组织集群中对象,并为集群资源划分提供了一种方法。同一命名空间内的资源名称必须唯一,但跨命名空间时不作要求。
+名字空间用来组织集群中对象,并为集群资源划分提供了一种方法。同一名字空间内的资源名称必须唯一,但跨名字空间时不作要求。
diff --git a/content/zh/docs/reference/glossary/network-policy.md b/content/zh/docs/reference/glossary/network-policy.md
index 4898c145a7..10cc5f6b64 100644
--- a/content/zh/docs/reference/glossary/network-policy.md
+++ b/content/zh/docs/reference/glossary/network-policy.md
@@ -18,7 +18,7 @@ tags:
title: Network Policy
id: network-policy
date: 2018-04-12
-full_link: /zh/docs/concepts/services-networking/network-policies/
+full_link: /docs/concepts/services-networking/network-policies/
short_description: >
A specification of how groups of Pods are allowed to communicate with each other and with other network endpoints.
diff --git a/content/zh/docs/reference/glossary/node.md b/content/zh/docs/reference/glossary/node.md
index a646065b02..d9ac8a9deb 100644
--- a/content/zh/docs/reference/glossary/node.md
+++ b/content/zh/docs/reference/glossary/node.md
@@ -38,7 +38,7 @@ In early Kubernetes versions, Nodes were called "Minions".
-->
工作机器可以是虚拟机也可以是物理机,取决于集群的配置。
其上部署了运行 {{< glossary_tooltip text="Pods" term_id="pod" >}}
-所必需的本地守护进程或{{< glossary_tooltip text="服务" term_id="service" >}},
+所必需的本地守护进程或服务,
并由主控组件来管理。
节点上的的守护进程包括 {{< glossary_tooltip text="kubelet" term_id="kubelet" >}}、
{{< glossary_tooltip text="kube-proxy" term_id="kube-proxy" >}}
diff --git a/content/zh/docs/reference/glossary/object.md b/content/zh/docs/reference/glossary/object.md
index 31998e9a7a..99576b5665 100755
--- a/content/zh/docs/reference/glossary/object.md
+++ b/content/zh/docs/reference/glossary/object.md
@@ -1,8 +1,8 @@
---
-title: 对象
+title: 对象(Object)
id: object
date: 2020-10-12
-full_link: https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/#kubernetes-objects
+full_link: /zh/docs/concepts/overview/working-with-objects/kubernetes-objects/#kubernetes-objects
short_description: >
Kubernetes 系统中的实体, 代表了集群的部分状态。
aka:
@@ -37,6 +37,6 @@ By creating an object, you're effectively telling the Kubernetes system what you
your cluster's workload to look like; this is your cluster's desired state.
-->
Kubernetes 对象通常是一个“目标记录”-一旦你创建了一个对象,Kubernetes
-{{< glossary_tooltip text="控制平面" term_id="control-plane" >}}
+{{< glossary_tooltip text="控制平面(Control Plane)" term_id="control-plane" >}}
不断工作,以确保它代表的项目确实存在。
创建一个对象相当于告知 Kubernetes 系统:你期望这部分集群负载看起来像什么;这也就是你集群的期望状态。
\ No newline at end of file
diff --git a/content/zh/docs/reference/glossary/operator-pattern.md b/content/zh/docs/reference/glossary/operator-pattern.md
index 033383a111..c6da670257 100644
--- a/content/zh/docs/reference/glossary/operator-pattern.md
+++ b/content/zh/docs/reference/glossary/operator-pattern.md
@@ -15,7 +15,7 @@ tags:
title: Operator pattern
id: operator-pattern
date: 2019-05-21
-full_link: /zh/docs/concepts/extend-kubernetes/operator/
+full_link: /docs/concepts/extend-kubernetes/operator/
short_description: >
A specialized controller used to manage a custom resource
diff --git a/content/zh/docs/reference/glossary/persistent-volume-claim.md b/content/zh/docs/reference/glossary/persistent-volume-claim.md
index 00fc0c563f..f5ab57a3e8 100644
--- a/content/zh/docs/reference/glossary/persistent-volume-claim.md
+++ b/content/zh/docs/reference/glossary/persistent-volume-claim.md
@@ -1,8 +1,8 @@
---
-title: 持久卷申领
+title: 持久卷申领(Persistent Volume Claim)
id: persistent-volume-claim
date: 2018-04-12
-full_link: /docs/concepts/storage/persistent-volumes/
+full_link: /zh/docs/concepts/storage/persistent-volumes/
short_description: >
声明在持久卷中定义的存储资源,以便可以将其挂载为容器中的卷。
@@ -27,13 +27,13 @@ tags:
-->
-申领持久卷中定义的存储资源,以便可以将其挂载为容器中的卷。
+申领{{< glossary_tooltip text="持久卷(PersistentVolume)" term_id="persistent-volume" >}}中定义的存储资源,以便可以将其挂载为{{< glossary_tooltip text="容器(container)" term_id="container" >}}中的卷。
-指定存储的数量,如何访问存储(只读、读写或独占)以及如何回收存储(保留、回收或删除)。存储本身的详细信息在 PersistentVolume 规范中。
+指定存储的数量,如何访问存储(只读、读写或独占)以及如何回收存储(保留、回收或删除)。存储本身的详细信息在 PersistentVolume 对象中。
diff --git a/content/zh/docs/reference/glossary/persistent-volume.md b/content/zh/docs/reference/glossary/persistent-volume.md
index d2364a6f8a..671e3a8bf3 100644
--- a/content/zh/docs/reference/glossary/persistent-volume.md
+++ b/content/zh/docs/reference/glossary/persistent-volume.md
@@ -1,8 +1,8 @@
---
-title: 持久卷
+title: 持久卷(Persistent Volume)
id: persistent-volume
date: 2018-04-12
-full_link: /docs/concepts/storage/persistent-volumes/
+full_link: /zh/docs/concepts/storage/persistent-volumes/
short_description: >
持久卷是代表集群中一块存储空间的 API 对象。 它是通用的、可插拔的、并且不受单个 Pod 生命周期约束的持久化资源。
@@ -32,7 +32,7 @@ tags:
An API object that represents a piece of storage in the cluster. Available as a general, pluggable resource that persists beyond the lifecycle of any individual {{< glossary_tooltip text="Pod" term_id="pod" >}}.
-->
-持久卷是代表集群中一块存储空间的 API 对象。 它是通用的、可插拔的、并且不受单个 Pod 生命周期约束的持久化资源。
+持久卷是代表集群中一块存储空间的 API 对象。 它是通用的、可插拔的、并且不受单个 {{< glossary_tooltip text="Pod" term_id="pod" >}} 生命周期约束的持久化资源。
diff --git a/content/zh/docs/reference/glossary/pod-disruption-budget.md b/content/zh/docs/reference/glossary/pod-disruption-budget.md
index d2ff489fd5..a900db749d 100644
--- a/content/zh/docs/reference/glossary/pod-disruption-budget.md
+++ b/content/zh/docs/reference/glossary/pod-disruption-budget.md
@@ -1,7 +1,7 @@
---
id: pod-disruption-budget
title: Pod Disruption Budget
-full-link: /docs/concepts/workloads/pods/disruptions/
+full-link: /zh/docs/concepts/workloads/pods/disruptions/
date: 2019-02-12
short_description: >
Pod Disruption Budget 是这样一种对象:它保证在主动中断( voluntary disruptions)时,多实例应用的 {{< glossary_tooltip text="Pod" term_id="pod" >}} 不会少于一定的数量。
diff --git a/content/zh/docs/reference/glossary/pod-lifecycle.md b/content/zh/docs/reference/glossary/pod-lifecycle.md
index 4d68d78030..d83ca39ad0 100644
--- a/content/zh/docs/reference/glossary/pod-lifecycle.md
+++ b/content/zh/docs/reference/glossary/pod-lifecycle.md
@@ -34,10 +34,9 @@ A high-level summary of what phase the Pod is in within its lifecyle.
[Pod 生命周期](/zh/docs/concepts/workloads/pods/pod-lifecycle/) 是关于 Pod
-在其生命周期中处于哪个阶段的更高层次概述。Pod 的`status` 字段是
-[PodStatus](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#podstatus-v1-core)
-对象, 该对象的 `phase` 字段包含了下面的状态: Running、Pending、Succeeded、
-Failed、Unknown、Completed 或 CrashLoopBackOff。
+处于哪个阶段的概述。包含了下面5种可能的的阶段: Running、Pending、Succeeded、
+Failed、Unknown。关于 Pod 的阶段的更高级描述请查阅
+[PodStatus](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#podstatus-v1-core) `phase` 字段。
diff --git a/content/zh/docs/reference/glossary/pod-priority.md b/content/zh/docs/reference/glossary/pod-priority.md
index d58eaed928..149ac33ee3 100644
--- a/content/zh/docs/reference/glossary/pod-priority.md
+++ b/content/zh/docs/reference/glossary/pod-priority.md
@@ -25,9 +25,9 @@ tags:
-->
- Pod 优先级表示一个 Pod 相对于其他 Pod 的重要性。
+ Pod 优先级表示一个 {{< glossary_tooltip term_id="pod" >}} 相对于其他 Pod 的重要性。
diff --git a/content/zh/docs/reference/glossary/pod-security-policy.md b/content/zh/docs/reference/glossary/pod-security-policy.md
index d443e88df0..5c8475292f 100644
--- a/content/zh/docs/reference/glossary/pod-security-policy.md
+++ b/content/zh/docs/reference/glossary/pod-security-policy.md
@@ -17,7 +17,7 @@ tags:
title: Pod Security Policy
id: pod-security-policy
date: 2018-04-12
-full_link: /zh/docs/concepts/policy/pod-security-policy/
+full_link: /docs/concepts/policy/pod-security-policy/
short_description: >
Enables fine-grained authorization of pod creation and updates.
@@ -32,7 +32,7 @@ tags:
Enables fine-grained authorization of {{< glossary_tooltip term_id="pod" >}} creation and updates.
-->
-为 Pod 的创建和更新操作启用细粒度的授权。
+为 {{< glossary_tooltip text="Pod" term_id="pod" >}} 的创建和更新操作启用细粒度的授权。
diff --git a/content/zh/docs/reference/glossary/pod.md b/content/zh/docs/reference/glossary/pod.md
index d8fcbb4cee..71a1494e0a 100644
--- a/content/zh/docs/reference/glossary/pod.md
+++ b/content/zh/docs/reference/glossary/pod.md
@@ -4,7 +4,7 @@ id: pod
date: 2018-04-12
full_link: /docs/concepts/workloads/pods/pod-overview/
short_description: >
- Pod 是 Kubernetes 的原子对象。Pod 表示您的集群上一组正在运行的容器。
+ Pod 表示您的集群上一组正在运行的容器。
aka:
tags:
@@ -19,7 +19,7 @@ id: pod
date: 2018-04-12
full_link: /docs/concepts/workloads/pods/pod-overview/
short_description: >
- The smallest and simplest Kubernetes object. A Pod represents a set of running containers on your cluster.
+ A Pod represents a set of running containers in your cluster.
aka:
tags:
@@ -32,7 +32,7 @@ tags:
The smallest and simplest Kubernetes object. A Pod represents a set of running {{< glossary_tooltip text="containers" term_id="container" >}} on your cluster.
-->
- Pod 是 Kubernetes 的原子对象。Pod 表示您的集群上一组正在运行的{{< glossary_tooltip text="容器" term_id="container" >}}。
+ Pod 是 Kubernetes 的原子对象。Pod 表示您的集群上一组正在运行的{{< glossary_tooltip text="容器(containers)" term_id="container" >}}。
diff --git a/content/zh/docs/reference/glossary/proxy.md b/content/zh/docs/reference/glossary/proxy.md
index 889037e3ad..c9d4ff0bea 100644
--- a/content/zh/docs/reference/glossary/proxy.md
+++ b/content/zh/docs/reference/glossary/proxy.md
@@ -43,7 +43,7 @@ actual server's reply to the client.
network proxy that runs on each node in your cluster, implementing part of
the Kubernetes {{< glossary_tooltip term_id="service">}} concept.
-->
-[kube-proxy](/docs/reference/command-line-tools-reference/kube-proxy/) 是集群中每个节点上运行的网络代理,实现了部分 Kubernetes {{< glossary_tooltip term_id="service">}} 概念。
+[kube-proxy](/zh/docs/reference/command-line-tools-reference/kube-proxy/) 是集群中每个节点上运行的网络代理,实现了部分 Kubernetes {{< glossary_tooltip term_id="service">}} 概念。
- `SelectorSpread`:对于属于 {{< glossary_tooltip text="Services" term_id="service" >}}、
diff --git a/content/zh/docs/reference/using-api/_index.md b/content/zh/docs/reference/using-api/_index.md
index 8d2c4b502c..20bad38482 100644
--- a/content/zh/docs/reference/using-api/_index.md
+++ b/content/zh/docs/reference/using-api/_index.md
@@ -2,3 +2,226 @@
title: 使用 Kubernetes API
weight: 10
---
+
+
+
+
+本文提供了 Kubernetes API 的参考信息。
+
+
+REST API 是 Kubernetes 的基本结构。
+所有操作和组件之间的通信及外部用户命令都是调用 API 服务器处理的 REST API。
+因此,Kubernetes 平台视一切皆为 API 对象,
+且它们在 [API](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/) 中有相应的定义。
+
+
+[Kubernetes API 参考](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/)列
+出了 Kubernetes {{< param "version" >}} 版本的 API。
+
+
+如需了解一般背景信息,请查阅 [Kubernetes API](/zh/docs/concepts/overview/kubernetes-api/)。
+[Kubernetes API 控制访问](/zh/docs/concepts/security/controlling-access/)描述了客户端如何
+向 Kubernetes API 服务器进行身份认证以及他们的请求如何被鉴权。
+
+
+
+## API 版本控制
+
+
+JSON 和 Protobuf 序列化模式遵循相同的模式更改原则。
+以下描述涵盖了这两种格式。
+
+
+API 版本控制和软件版本控制是间接相关的。
+[API 和发布版本控制提案](https://git.k8s.io/community/contributors/design-proposals/release/versioning.md)
+描述了 API 版本控制和软件版本控制间的关系。
+
+
+不同的 API 版本代表着不同的稳定性和支持级别。
+你可以在 [API 变更文档]https://git.k8s.io/community/contributors/devel/sig-architecture/api_changes.md#alpha-beta-and-stable-versions)
+中查看到更多的不同级别的判定标准。
+
+
+下面是每个级别的摘要:
+
+<--
+- Alpha:
+ - The version names contain `alpha` (for example, `v1alpha1`).
+ - The software may contain bugs. Enabling a feature may expose bugs. A
+ feature may be disabled by default.
+ - The support for a feature may be dropped at any time without notice.
+ - The API may change in incompatible ways in a later software release without notice.
+ - The software is recommended for use only in short-lived testing clusters,
+ due to increased risk of bugs and lack of long-term support.
+-->
+- Alpha:
+ - 版本名称包含 `alpha`(例如,`v1alpha1`)。
+ - 软件可能会有 Bug。启用某个特性可能会暴露出 Bug。
+ 某些特性可能默认禁用。
+ - 对某个特性的支持可能会随时被删除,恕不另行通知。
+ - API 可能在以后的软件版本中以不兼容的方式更改,恕不另行通知。
+ - 由于缺陷风险增加和缺乏长期支持,建议该软件仅用于短期测试集群。
+
+
+- Beta:
+ - 版本名称包含 `beta` (例如, `v2beta3`)。
+ - 软件被很好的测试过。启用某个特性被认为是安全的。
+ 特性默认开启。
+ - 尽管一些特性会发生细节上的变化,但它们将会被长期支持。
+
+
+ - 在随后的 Beta 版或稳定版中,对象的模式和(或)语义可能以不兼容的方式改变。
+ 当这种情况发生时,将提供迁移说明。
+ 模式更改可能需要删除、编辑和重建 API 对象。
+ 编辑过程可能并不简单。
+ 对于依赖此功能的应用程序,可能需要停机迁移。
+ - 该版本的软件不建议生产使用。
+ 后续发布版本可能会有不兼容的变动。
+ 如果你有多个集群可以独立升级,可以放宽这一限制。
+
+
+ {{< note >}}
+ 请试用测试版特性时并提供反馈。特性完成 Beta 阶段测试后,
+ 就可能不会有太多的变更了。
+ {{< /note >}}
+
+
+- Stable:
+ - 版本名称如 `vX`,其中 `X` 为整数。
+ - 特性的稳定版本会出现在后续很多版本的发布软件中。
+
+
+## API 组
+
+
+[API 组](https://git.k8s.io/community/contributors/design-proposals/api-machinery/api-group.md)
+能够简化对 Kubernetes API 的扩展。
+API 组信息出现在REST 路径中,也出现在序列化对象的 `apiVersion` 字段中。
+
+
+以下是 Kubernetes 中的几个组:
+* *核心*(也叫 *legacy*)组的 REST 路径为 `/api/v1`。
+ 核心组并不作为 `apiVersion` 字段的一部分,例如, `apiVersion: v1`。
+* 指定的组位于 REST 路径 `/apis/$GROUP_NAME/$VERSION`,
+ 并且使用 `apiVersion: $GROUP_NAME/$VERSION` (例如, `apiVersion: batch/v1`)。
+ 你可以在 [Kubernetes API 参考文档](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#-strong-api-groups-strong-)
+ 中查看全部的 API 组。
+
+
+## 启用或禁用 API 组 {#enabling-or-disabling}
+资源和 API 组是在默认情况下被启用的。
+你可以通过在 API 服务器上设置 `--runtime-config` 参数来启用或禁用它们。
+`--runtime-config` 参数接受逗号分隔的 `