Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEP-596: Move CSIInlineVolume to GA #520

Merged
merged 1 commit into from
Aug 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions book/src/ephemeral-local-volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
Status | Min K8s Version | Max K8s Version
--|--|--
Alpha | 1.15 | 1.15
Beta | >=1.16 | -
Beta | 1.16 | 1.24
GA | 1.25

### Generic Ephemeral Inline Volumes

Expand Down Expand Up @@ -202,21 +203,12 @@ The presence of `ReadOnly: true` in the Pod spec tells kubelet to bind-mount the

### CSIDriver

Kubernetes 1.16 only allows using a CSI driver for an inline volume if
Kubernetes only allows using a CSI driver for an inline volume if
its [`CSIDriver`](csi-driver-object.md) object explicitly declares
that the driver supports that kind of usage in its
`volumeLifecycleModes` field. This is a safeguard against accidentally
[using a driver the wrong way](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/596-csi-inline-volumes#support-for-inline-csi-volumes).

### Feature gates

To use inline volume, Kubernetes 1.15 binaries must start with the `CSIInlineVolume` feature gate enabled:
```
--feature-gates=CSIInlineVolume=true
```

Kubernetes >= 1.16 no longer needs this as the feature is enabled by default.

## References

- [CSI Host Path
Expand Down