mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +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": {
|
||||
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"},
|
||||
Format: "",
|
||||
},
|
||||
|
@ -525,6 +525,8 @@ type KubeletConfiguration struct {
|
||||
// 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
|
||||
// +optional
|
||||
EnableControllerAttachDetach *bool `json:"enableControllerAttachDetach,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user