You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This internal provisioner of OpenStack is deprecated. Please use [the external cloud provider for OpenStack](https://github.com/kubernetes/cloud-provider-openstack).
603
+
This internal provisioner of OpenStack is deprecated. Please use
604
+
[the external cloud provider for OpenStack](https://github.com/kubernetes/cloud-provider-openstack).
In-tree provisioners are [deprecated](/blog/2019/12/09/kubernetes-1-17-feature-csi-migration-beta/#why-are-we-migrating-in-tree-plugins-to-csi). For more information on the CSI provisioner, see [Kubernetes vSphere CSI Driver](https://vsphere-csi-driver.sigs.k8s.io/) and [vSphereVolume CSI migration](/docs/concepts/storage/volumes/#vsphere-csi-migration).
618
+
In-tree provisioners are [deprecated](/blog/2019/12/09/kubernetes-1-17-feature-csi-migration-beta/#why-are-we-migrating-in-tree-plugins-to-csi).
619
+
For more information on the CSI provisioner, see
620
+
[Kubernetes vSphere CSI Driver](https://vsphere-csi-driver.sigs.k8s.io/) and
The vSphere CSI StorageClass provisioner works with Tanzu Kubernetes clusters. For an example, refer to the [vSphere CSI repository](https://github.com/kubernetes-sigs/vsphere-csi-driver/blob/master/example/vanilla-k8s-RWM-filesystem-volumes/example-sc.yaml).
637
+
The vSphere CSI StorageClass provisioner works with Tanzu Kubernetes clusters.
638
+
For an example, refer to the [vSphere CSI repository](https://github.com/kubernetes-sigs/vsphere-csi-driver/blob/master/example/vanilla-k8s-RWM-filesystem-volumes/example-sc.yaml).
{{< glossary_tooltip text="CSI" term_id="csi" >}} volume health monitoring allows CSI Drivers to detect abnormal volume conditions from the underlying storage systems and report them as events on {{< glossary_tooltip text="PVCs" term_id="persistent-volume-claim" >}} or {{< glossary_tooltip text="Pods" term_id="pod" >}}.
21
+
<!--
22
+
{{< glossary_tooltip text="CSI" term_id="csi" >}} volume health monitoring allows
23
+
CSI Drivers to detect abnormal volume conditions from the underlying storage systems
24
+
and report them as events on {{< glossary_tooltip text="PVCs" term_id="persistent-volume-claim" >}}
25
+
or {{< glossary_tooltip text="Pods" term_id="pod" >}}.
Kubernetes _volume health monitoring_ is part of how Kubernetes implements the Container Storage Interface (CSI). Volume health monitoring feature is implemented in two components: an External Health Monitor controller, and the {{< glossary_tooltip term_id="kubelet" text="kubelet" >}}.
38
+
<!--
39
+
Kubernetes _volume health monitoring_ is part of how Kubernetes implements the
40
+
Container Storage Interface (CSI). Volume health monitoring feature is implemented
41
+
in two components: an External Health Monitor controller, and the
If a CSI Driver supports Volume Health Monitoring feature from the controller side, an event will be reported on the related {{< glossary_tooltip text="PersistentVolumeClaim" term_id="persistent-volume-claim" >}} (PVC) when an abnormal volume condition is detected on a CSI volume.
44
+
If a CSI Driver supports Volume Health Monitoring feature from the controller side,
The External Health Monitor {{< glossary_tooltip text="controller" term_id="controller" >}} also watches for node failure events. You can enable node failure monitoring by setting the `enable-node-watcher` flag to true. When the external health monitor detects a node failure event, the controller reports an Event will be reported on the PVC to indicate that pods using this PVC are on a failed node.
57
+
The External Health Monitor {{< glossary_tooltip text="controller" term_id="controller" >}}
58
+
also watches for node failure events. You can enable node failure monitoring by setting
59
+
the `enable-node-watcher` flag to true. When the external health monitor detects a node
60
+
failure event, the controller reports an Event will be reported on the PVC to indicate
61
+
that pods using this PVC are on a failed node.
49
62
50
-
If a CSI Driver supports Volume Health Monitoring feature from the node side, an Event will be reported on every Pod using the PVC when an abnormal volume condition is detected on a CSI volume. In addition, Volume Health information is exposed as Kubelet VolumeStats metrics. A new metric kubelet_volume_stats_health_status_abnormal is added. This metric includes two labels: `namespace` and `persistentvolumeclaim`. The count is either 1 or 0. 1 indicates the volume is unhealthy, 0 indicates volume is healthy. For more information, please check [KEP](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1432-volume-health-monitor#kubelet-metrics-changes).
63
+
If a CSI Driver supports Volume Health Monitoring feature from the node side,
64
+
an Event will be reported on every Pod using the PVC when an abnormal volume
65
+
condition is detected on a CSI volume. In addition, Volume Health information
66
+
is exposed as Kubelet VolumeStats metrics. A new metric kubelet_volume_stats_health_status_abnormal
67
+
is added. This metric includes two labels: `namespace` and `persistentvolumeclaim`.
68
+
The count is either 1 or 0. 1 indicates the volume is unhealthy, 0 indicates volume
You need to enable the `CSIVolumeHealth` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) to use this feature from the node side.
84
+
<!--
85
+
You need to enable the `CSIVolumeHealth` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
86
+
to use this feature from the node side.
66
87
-->
67
88
{{< note >}}
68
89
你需要启用 `CSIVolumeHealth`
@@ -72,9 +93,9 @@ You need to enable the `CSIVolumeHealth` [feature gate](/docs/reference/command-
72
93
73
94
## {{% heading "whatsnext" %}}
74
95
75
-
<!--
76
-
See the [CSI driver documentation](https://kubernetes-csi.github.io/docs/drivers.html) to find out which CSI drivers have implemented this feature.
96
+
<!--
97
+
See the [CSI driver documentation](https://kubernetes-csi.github.io/docs/drivers.html)
98
+
to find out which CSI drivers have implemented this feature.
0 commit comments