diff --git a/docs/odm/models/config.md b/docs/odm/models/config.md index 544235572..0ebf0b053 100644 --- a/docs/odm/models/config.md +++ b/docs/odm/models/config.md @@ -630,6 +630,8 @@ | min_instances | Integer | The minimum number of service instances to be running |
:material-checkbox-marked-outline: Yes
| `None` | | environment | List [[EnvironmentVariable](/assemblyline4_docs/odm/models/service/#environmentvariable)] | Environment variables to pass onto services |
:material-checkbox-marked-outline: Yes
| `[]` | | mounts | List [[Mount](/assemblyline4_docs/odm/models/config/#mount)] | A list of volume mounts for every service |
:material-checkbox-marked-outline: Yes
| `[]` | +| tolerations | List [[Toleration](/assemblyline4_docs/odm/models/config/#toleration)] | Toleration to apply to service pods. +Reference: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ |
:material-checkbox-marked-outline: Yes
| `[]` | [comment]: # (AUTOGENERATED MARKDOWN CONTENT. UPDATES TO ODM DOCUMENTATION SHOULD BE DONE THROUGH ASSEMBLYLINE-BASE REPO!) @@ -649,6 +651,19 @@ | key | Keyword | Key of ConfigMap (Kubernetes only)
:material-alert-outline: Use `resource_type: configmap` and fill in the `resource_name` & `resource_key` fields to mount ConfigMaps |
:material-alert-box-outline: Deprecated
| `None` | +[comment]: # (AUTOGENERATED MARKDOWN CONTENT. UPDATES TO ODM DOCUMENTATION SHOULD BE DONE THROUGH ASSEMBLYLINE-BASE REPO!) +##### Toleration +> Limit a set of kubernetes objects based on a label query. + +| Field | Type | Description | Required | Default | +| :--- | :--- | :--- | :--- | :--- | +| key | Keyword | The taint key that the toleration applies to |
:material-minus-box-outline: Optional
| `None` | +| operator | Enum | Relationship between taint key and value
Values:
`"Equal", "Exists"` |
:material-checkbox-marked-outline: Yes
| `Equal` | +| value | Keyword | Taint value the toleration matches to |
:material-minus-box-outline: Optional
| `None` | +| effect | Enum | The taint effect to match.
Values:
`"NoExecute", "NoSchedule", "PreferNoSchedule"` |
:material-minus-box-outline: Optional
| `None` | +| toleration_seconds | Integer | The period of time the toleration tolerates the taint |
:material-minus-box-outline: Optional
| `None` | + + [comment]: # (AUTOGENERATED MARKDOWN CONTENT. UPDATES TO ODM DOCUMENTATION SHOULD BE DONE THROUGH ASSEMBLYLINE-BASE REPO!) #### Selector > None