Skip to content

Commit

Permalink
Adding support for specifying root EBS volume size
Browse files Browse the repository at this point in the history
Signed-off-by: Archisman <[email protected]>
  • Loading branch information
Archisman authored and Klavs Klavsen committed Nov 1, 2024
1 parent c9b77dd commit a40f15a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ spec:
instanceType: {{ $machinePool.instanceType }}
sshKeyName: {{ $machinePool.sshKeyName }}
imageLookupBaseOS: ubuntu-20.04
rootVolume:
size: {{ $machinePool.rootVolumeSize | default 35 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ spec:
imageLookupBaseOS: ubuntu-20.04
publicIP: {{ .Values.controlPlane.publicIP }}
ami: {{ toYaml .Values.controlPlane.ami | nindent 8 }}
rootVolume:
size: {{ .Values.controlPlane.rootVolumeSize | default 35 }}

{{- if (not (.Values.global.capa).autoScaler) }}
---
Expand All @@ -27,4 +29,6 @@ spec:
imageLookupBaseOS: ubuntu-20.04
publicIP: {{ .Values.workerNodes.publicIP }}
ami: {{ toYaml .Values.workerNodes.ami | nindent 8 }}
rootVolume:
size: {{ .Values.workerNodes.rootVolumeSize | default 35 }}
{{- end }}

0 comments on commit a40f15a

Please sign in to comment.