Skip to content

Commit

Permalink
Merge pull request #827 from truefoundry/md_add_karpenter_config_for_…
Browse files Browse the repository at this point in the history
…builder

Added extraObjects field in values file for karpenter config helm template
  • Loading branch information
mitanshudodia authored Nov 27, 2024
2 parents 23eb954 + c8e9533 commit 703c8b7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/tfy-k8s-generic-inframold/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: tfy-k8s-generic-inframold
version: 0.1.13
version: 0.1.14-rc.1
description: "Inframold, the superchart that configure your cluster on generic for truefoundry."
maintainers:
- name: truefoundry
1 change: 1 addition & 0 deletions charts/tfy-karpenter-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,4 @@ https://github.com/awslabs/soci-snapshotter/blob/2e3df4a92415ff02ccc76ed9ceb1c25
| `karpenter.inferentiaNodePool.architectures` | Architectures for the Inferentia node pool | `["amd64"]` |
| `karpenter.inferentiaNodePool.instanceFamilies.allowed` | Allowed instance families for the Inferentia node pool | `["inf1","inf2"]` |
| `karpenter.inferentiaNodePool.instanceSizes.notAllowed` | Not allowed instance sizes for the Inferentia node pool | `["48xlarge"]` |
| `extraObjects` | Additional objects to be created along with karpenter | `[]` |
6 changes: 6 additions & 0 deletions charts/tfy-karpenter-config/templates/extra-objects.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{{- if .Values.extraObjects }}
{{- range .Values.extraObjects }}
---
{{ toYaml . | nindent 0 }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/tfy-karpenter-config/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,6 @@ karpenter:
## @param karpenter.inferentiaNodePool.instanceSizes.notAllowed Not allowed instance sizes for the Inferentia node pool
instanceSizes:
notAllowed: ["48xlarge"]

## @param extraObjects Additional objects to be created along with karpenter
extraObjects: []

0 comments on commit 703c8b7

Please sign in to comment.