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

Add emptydir extension #4064

Merged
merged 2 commits into from
Jul 28, 2021
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
23 changes: 23 additions & 0 deletions docs/serving/feature-flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,29 @@ spec:
image: gcr.io/knative-samples/helloworld-java
```

## EmptyDir
* **Type**: extension
* **ConfigMap key:** `kubernetes.podspec-volumes-emptydir`
abrennan89 marked this conversation as resolved.
Show resolved Hide resolved

This extension controls whether [emptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) volumes can be specified.

```yaml
apiVersion: serving.knative.dev/v1
kind: Service
...
spec:
template:
spec:
containers:
...
volumeMounts:
- name: cache
mountPath: /cache
volumes:
- name: cache
emptyDir: {}
```

## Kubernetes Node Affinity

* **Type**: extension
Expand Down