Skip to content

Commit

Permalink
Update EnableControllerAttachDetach documentation
Browse files Browse the repository at this point in the history
The kubelet does not support attach/detach operations on CSI volumes. As
a result, CSI volumes rely on the Attach/Detach controller enabled.

Kubernetes-commit: 8150cf8d96035c789068778e42568887de777063
  • Loading branch information
bertinatto authored and k8s-publishing-bot committed Feb 21, 2022
1 parent 6b8ced7 commit d5b86b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit d5b86b7

Please sign in to comment.