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

[castai-agent] added tolerations for critical castware #550

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion charts/castai-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: castai-agent
description: CAST AI agent deployment chart.
type: application
version: 0.79.0
version: 0.79.1
appVersion: "v0.64.0"
5 changes: 4 additions & 1 deletion charts/castai-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ CAST AI agent deployment chart.
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account. |
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created. |
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. |
| tolerations | object | `{}` | |
| tolerations[0].effect | string | `"NoSchedule"` | |
| tolerations[0].key | string | `"provisioning.cast.ai/temporary"` | |
| tolerations[0].operator | string | `"Equal"` | |
| tolerations[0].value | string | `"resuming"` | |
| trustedCACert | string | `""` | CA certificate to add to agent's set of root certificate authorities that client will use when verifying server certificates. |
| trustedCACertSecretRef | string | `""` | Name of secret with CA certificate to be added to agent's set of root certificate authorities. trustedCACert and trustedCACertSecretRef are mutually exclusive. The referenced secret must provide the certificate in .data["TLS_CA_CERT_FILE"]. |
6 changes: 5 additions & 1 deletion charts/castai-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ dnsPolicy: ""

# Pod toleration rules.
# Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations: {}
tolerations:
- effect: NoSchedule
key: provisioning.cast.ai/temporary
operator: Equal
value: "resuming"

# Pod node selector rules.
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
Expand Down
Loading