Skip to content

Commit

Permalink
CSI inline volume support doc
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirvivien committed Nov 9, 2018
1 parent ecef1e7 commit 617b7cb
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions content/en/docs/concepts/storage/volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,37 @@ Kubernetes component using the following feature gate flags:
Learn how to
[setup your PV/PVC with raw block volume support](/docs/concepts/storage/persistent-volumes/#raw-block-volume-support).

#### CSI inline pod volume support

{{< feature-state for_k8s_version="v1.13" state="alpha" >}}

This feature is to enable CSI to be specified as an inline volume embedded
within a pod similar to the following example:

```yaml
kind: Pod
apiVersion: v1
metadata:
name: my-csi-app
spec:
containers:
- name: my-frontend
image: busybox
volumeMounts:
- mountPath: "/data"
name: my-csi-inline-vol
command: [ "sleep", "1000000" ]
volumes:
- name: my-csi-inline-vol
csi:
driver: csi-hostpath
```

```
--feature-gates=CSIInlineVolume=true
```
### Flexvolume
Flexvolume is an out-of-tree plugin interface that has existed in Kubernetes
Expand Down

0 comments on commit 617b7cb

Please sign in to comment.