File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
docs/versioned/serving/configuration Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments