Skip to content

Commit 9649610

Browse files
add mount propagation docs (#6465)
Co-authored-by: Dave Protasowski <[email protected]>
1 parent a4d6545 commit 9649610

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/versioned/serving/configuration/feature-flags.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,33 @@ spec:
166166
emptyDir: {}
167167
```
168168

169+
### Kubernetes Volume Mount Propagation
170+
171+
* **Type**: Extension
172+
* **ConfigMap keys:** `kubernetes.podspec-volumes-mount-propagation`
173+
174+
This extension controls whether [`MountPropagation`](https://kubernetes.io/docs/concepts/storage/volumes/#mount-propagation/) can be specified
175+
for a Volume Mount.
176+
177+
```yaml
178+
apiVersion: serving.knative.dev/v1
179+
kind: Service
180+
...
181+
spec:
182+
template:
183+
spec:
184+
containers:
185+
...
186+
volumeMounts:
187+
- mountPath: /data
188+
name: mydata
189+
mountPropagation: HostToContainer
190+
volumes:
191+
- name: mydata
192+
persistentVolumeClaim:
193+
claimName: pv-claim
194+
```
195+
169196
### Kubernetes PersistentVolumeClaim (PVC)
170197

171198
* **Type**: Extension

0 commit comments

Comments
 (0)