Skip to content

Commit

Permalink
Merge pull request #11 from truefoundry/karpenter-update
Browse files Browse the repository at this point in the history
Karpenter config updated to 0.1.3
  • Loading branch information
opsved authored Apr 18, 2023
2 parents 25d18d7 + 5bc50d7 commit bdcf72a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/tfy-karpenter-config/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ metadata:
name: default
namespace: karpenter
spec:
instanceProfile: {{ .Values.karpenter.settings.aws.defaultInstanceProfile }}
instanceProfile: {{ .Values.karpenter.instanceProfile }}
subnetSelector:
kubernetes.io/cluster/{{ .Values.karpenter.settings.aws.clusterName }}: shared
kubernetes.io/cluster/{{ .Values.cluster.name }}: shared
subnet: private
securityGroupSelector:
karpenter.sh/discovery: {{ .Values.karpenter.settings.aws.clusterName }}
karpenter.sh/discovery: {{ .Values.cluster.name }}
tags:
karpenter.sh/discovery: {{ .Values.karpenter.settings.aws.clusterName }}
karpenter.sh/discovery: {{ .Values.cluster.name }}
blockDeviceMappings:
- deviceName: /dev/xvda
ebs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ metadata:
name: default
namespace: karpenter
spec:
{{ toYaml .Values.karpenter.provisioners.defaultProvisionerSpec | indent 2 }}
{{ toYaml .Values.karpenter.defaultProvisionerSpec | indent 2 }}
providerRef:
name: default
{{- if not .Values.karpenter.provisioners.defaultProvisionerSpec.consolidation.enabled }}
{{- if not .Values.karpenter.defaultProvisionerSpec.consolidation.enabled }}
ttlSecondsAfterEmpty: 30
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{{- if .Values.karpenter.provisioners.gpuProvisionerSpec.enabled }}
{{- if .Values.karpenter.gpuProvisionerSpec.enabled }}
apiVersion: karpenter.sh/v1alpha5
kind: Provisioner
metadata:
name: gpu-provisioner
namespace: karpenter
spec:
weight: 10
consolidation:
enabled: true
consolidation:
enabled: true
requirements:
- key: karpenter.sh/capacity-type
operator: In
Expand Down

0 comments on commit bdcf72a

Please # to comment.