Skip to content

Commit

Permalink
Merge pull request aws-ia#20 from aws-ia/karpenter-upgrade
Browse files Browse the repository at this point in the history
Added RAIDO config for karpenter templates
  • Loading branch information
vara-bonthu authored Feb 7, 2024
2 parents be0adf7 + da1cf04 commit ef74485
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm-charts/karpenter-resources/templates/node-class.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ spec:
encrypted: {{ .Values.ec2NodeClass.blockDevice.encrypted }}
deleteOnTermination: {{ .Values.ec2NodeClass.blockDevice.deleteOnTermination }}
detailedMonitoring: {{ .Values.ec2NodeClass.detailedMonitoring }}
{{- if .Values.ec2NodeClass.instanceStorePolicy }}
instanceStorePolicy: {{ .Values.ec2NodeClass.instanceStorePolicy }}
{{- end }}
{{- if .Values.ec2NodeClass.userData }}
userData: |
{{- .Values.ec2NodeClass.userData | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions helm-charts/karpenter-resources/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ec2NodeClass:
deleteOnTermination: true
detailedMonitoring: true
userData:
instanceStorePolicy:

# NodePool specific values
nodePool:
Expand Down

0 comments on commit ef74485

Please sign in to comment.