mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Update EnableControllerAttachDetach documentation
The kubelet does not support attach/detach operations on CSI volumes. As a result, CSI volumes rely on the Attach/Detach controller enabled.
This commit is contained in:
parent
61b3c028ba
commit
8150cf8d96
2
pkg/generated/openapi/zz_generated.openapi.go
generated
2
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -53191,7 +53191,7 @@ func schema_k8sio_kubelet_config_v1beta1_KubeletConfiguration(ref common.Referen
|
|||||||
},
|
},
|
||||||
"enableControllerAttachDetach": {
|
"enableControllerAttachDetach": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "enableControllerAttachDetach enables the Attach/Detach controller to manage attachment/detachment of volumes scheduled to this node, and disables kubelet from executing any attach/detach operations. Default: true",
|
Description: "enableControllerAttachDetach enables the Attach/Detach controller to manage attachment/detachment of volumes scheduled to this node, and disables kubelet from executing any attach/detach operations. Note: attaching/detaching CSI volumes is not supported by the kubelet, so this option needs to be true for that use case. Default: true",
|
||||||
Type: []string{"boolean"},
|
Type: []string{"boolean"},
|
||||||
Format: "",
|
Format: "",
|
||||||
},
|
},
|
||||||
|
@ -525,6 +525,8 @@ type KubeletConfiguration struct {
|
|||||||
// enableControllerAttachDetach enables the Attach/Detach controller to
|
// enableControllerAttachDetach enables the Attach/Detach controller to
|
||||||
// manage attachment/detachment of volumes scheduled to this node, and
|
// manage attachment/detachment of volumes scheduled to this node, and
|
||||||
// disables kubelet from executing any attach/detach operations.
|
// disables kubelet from executing any attach/detach operations.
|
||||||
|
// Note: attaching/detaching CSI volumes is not supported by the kubelet,
|
||||||
|
// so this option needs to be true for that use case.
|
||||||
// Default: true
|
// Default: true
|
||||||
// +optional
|
// +optional
|
||||||
EnableControllerAttachDetach *bool `json:"enableControllerAttachDetach,omitempty"`
|
EnableControllerAttachDetach *bool `json:"enableControllerAttachDetach,omitempty"`
|
||||||
|
Loading…
Reference in New Issue
Block a user