Skip to content

Commit

Permalink
Add Extra tags to karpenter config (#846)
Browse files Browse the repository at this point in the history
* Add Extra tags to karpenter config

* update tags

---------

Co-authored-by: Harshit  Luthra <[email protected]>
  • Loading branch information
DeeAjayi and sachincool authored Dec 9, 2024
1 parent 0895c94 commit ca6f640
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
{{ $key }}: {{ $val | quote }}
{{- end }}
tags:
truefoundry.com/compute_type: cpu
truefoundry.com/component_type: control-plane
karpenter.sh/discovery: {{ .Values.cluster.name }}
cluster-name: {{ .Values.cluster.name }}
{{- range $key, $val := .Values.karpenter.controlPlaneNodeTemplate.extraTags }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ spec:
{{ $key }}: {{ $val | quote }}
{{- end }}
tags:
truefoundry.com/compute_type: cpu
truefoundry.com/component_type: default
karpenter.sh/discovery: {{ .Values.cluster.name }}
cluster-name: {{ .Values.cluster.name }}
{{- range $key, $val := .Values.karpenter.defaultNodeTemplate.extraTags }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
{{ $key }}: {{ $val | quote }}
{{- end }}
tags:
truefoundry.com/compute_type: gpu
karpenter.sh/discovery: {{ .Values.cluster.name }}
cluster-name: {{ .Values.cluster.name }}
{{- range $key, $val := .Values.karpenter.gpuDefaultNodeTemplate.extraTags }}
Expand Down

0 comments on commit ca6f640

Please sign in to comment.