Skip to content

Commit

Permalink
[CU-86c0x1d85] Add missing toleration on daemon (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
galHalup authored Nov 5, 2024
2 parents 5505374 + 719340a commit 23361dd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion charts/komodor-agent/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ HELM_DOCS_ARGS := -s file \
-y="components.komodorDaemon.metrics" \
-y="components.komodorDaemon" \
-y="allowedResources" \
-z ".*securityContext.*"
-z ".*securityContext.*" \
-z ".tolerations.*" \

# Determine OS and Arch for downloading helm-docs
OS := $(shell uname -s)
Expand Down
4 changes: 2 additions & 2 deletions charts/komodor-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ The command removes all the Kubernetes components associated with the chart and
| components.komodorDaemon.annotations | object | `{}` | Adds custom annotations - Example: `--set annotations."app\.komodor\.com/app"="komodor-agent"` |
| components.komodorDaemon.labels | object | `{}` | Adds custom labels |
| components.komodorDaemon.nodeSelector | object | `{}` | Set node selectors for the komodor agent daemon |
| components.komodorDaemon.tolerations | list | `[]` | Add tolerations to the komodor agent daemon |
| components.komodorDaemon.tolerations | list | `[{"operator":"Exists"}]` | Add tolerations to the komodor agent daemon |
| components.komodorDaemon.podAnnotations | object | `{}` | # Add annotations to the komodor agent watcher pod |
| components.komodorDaemon.securityContext | object | `{}` | Set custom securityContext to the komodor agent daemon (use with caution) |
| components.komodorDaemon.metricsInit | object | See sub-values | Configure the komodor daemon metrics init container |
Expand All @@ -210,7 +210,7 @@ The command removes all the Kubernetes components associated with the chart and
| components.komodorDaemonWindows.annotations | object | `{}` | Adds custom annotations - Example: `--set annotations."app\.komodor\.com/app"="komodor-agent"` |
| components.komodorDaemonWindows.labels | object | `{}` | Adds custom labels |
| components.komodorDaemonWindows.nodeSelector | object | `{}` | Set node selectors for the komodor agent daemon |
| components.komodorDaemonWindows.tolerations | list | `[]` | Add tolerations to the komodor agent daemon |
| components.komodorDaemonWindows.tolerations | list | `[{"operator":"Exists"}]` | Add tolerations to the komodor agent daemon |
| components.komodorDaemonWindows.podAnnotations | object | `{}` | # Add annotations to the komodor agent watcher pod |
| components.komodorDaemonWindows.metrics | object | `{"extraEnvVars":[],"image":{"name":"telegraf-windows","tag":"1.31.0-v1"},"resources":{"limits":{"cpu":1,"memory":"1Gi"},"requests":{"cpu":0.1,"memory":"384Mi"}}}` | Configure the komodor daemon metrics components |
| components.komodorDaemonWindows.metrics.image | object | `{"name":"telegraf-windows","tag":"1.31.0-v1"}` | Override the komodor agent metrics image name or tag. |
Expand Down
6 changes: 4 additions & 2 deletions charts/komodor-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ components:
# components.komodorDaemon.nodeSelector -- Set node selectors for the komodor agent daemon
nodeSelector: { }
# components.komodorDaemon.tolerations -- Add tolerations to the komodor agent daemon
tolerations: [ ]
tolerations:
- operator: "Exists"
# components.komodorDaemon.podAnnotations -- # Add annotations to the komodor agent watcher pod
podAnnotations: { }
# components.komodorDaemon.securityContext -- Set custom securityContext to the komodor agent daemon (use with caution)
Expand Down Expand Up @@ -345,7 +346,8 @@ components:
# components.komodorDaemonWindows.nodeSelector -- Set node selectors for the komodor agent daemon
nodeSelector: { }
# components.komodorDaemonWindows.tolerations -- Add tolerations to the komodor agent daemon
tolerations: [ ]
tolerations:
- operator: "Exists"
# components.komodorDaemonWindows.podAnnotations -- # Add annotations to the komodor agent watcher pod
podAnnotations: { }

Expand Down

0 comments on commit 23361dd

Please sign in to comment.