Skip to content

Commit

Permalink
Allow defining resources for Cluster Controller (#3679) (#3692)
Browse files Browse the repository at this point in the history
* add resources to CC



* fix indentation



---------

Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Signed-off-by: chipzoller <chipzoller@gmail.com>
  • Loading branch information
chipzoller authored Sep 30, 2024
1 parent eac7ce0 commit 18f538d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ spec:
- name: http-server
containerPort: 9731
hostPort: 9731
resources:
{{- toYaml .Values.clusterController.resources | nindent 12 }}
serviceAccount: {{ template "kubecost.clusterControllerName" . }}
serviceAccountName: {{ template "kubecost.clusterControllerName" . }}
{{- with .Values.clusterController.tolerations }}
Expand Down
1 change: 1 addition & 0 deletions cost-analyzer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2803,6 +2803,7 @@ clusterController:
priorityClassName: ""
# Set custom tolerations for the cluster controller.
tolerations: []
resources: {}
actionConfigs:
# this configures the Kubecost Cluster Turndown action
# for more details, see documentation at https://github.com/kubecost/cluster-turndown/tree/develop?tab=readme-ov-file#setting-a-turndown-schedule
Expand Down

0 comments on commit 18f538d

Please sign in to comment.