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

Disable ephemeral storage in Katib Config #2315

Merged
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
34 changes: 34 additions & 0 deletions content/en/docs/components/katib/katib-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,23 @@ a default value is set automatically.
- `cpu = 500m`
- `ephemeral-storage = 5Gi`

You can run your metrics collector's container without requesting
the `ephemeral-storage` resource from the Kubernetes cluster.
For instance, when using the
[Google Kubernetes Engine cluster autoscaler](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler#limitations)
for your Katib experiments, you can remove the `ephemeral-storage` resource
from the metrics collector's container by setting the negative values for the
`ephemeral-storage` requests and limits in your Katib config as follows:

```json
"requests": {
"ephemeral-storage": "-1"
},
"limits": {
"ephemeral-storage": "-1"
}
```

## Suggestion settings

These settings are related to Katib suggestions, where:
Expand Down Expand Up @@ -205,6 +222,23 @@ a default value is set automatically.
- `cpu = 500m`
- `ephemeral-storage = 5Gi`

You can run your suggestion's container without requesting
the `ephemeral-storage` resource from the Kubernetes cluster.
For instance, when using the
[Google Kubernetes Engine cluster autoscaler](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler#limitations)
for your Katib experiments, you can remove the `ephemeral-storage` resource
from the suggestion's container by setting the negative values for the
`ephemeral-storage` requests and limits in your Katib config as follows:

```json
"requests": {
"ephemeral-storage": "-1"
},
"limits": {
"ephemeral-storage": "-1"
}
```

1. `serviceAccountName` - [service account](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)
for the suggestion's container with a `random` algorithm.

Expand Down