Skip to content

Conversation

@dkoshkin
Copy link
Contributor

@dkoshkin dkoshkin commented Sep 17, 2025

What problem does this PR solve?:
Exposes CAPA's rootVolume and nonRootVolumes APIs in CAREN API.
I did not use the capav1.Volume type directly so that we can have proper kubebuilder annotations and used basic types instead of pointers that the CAPA uses (inconsistently).

Which issue(s) this PR fixes:
Fixes #

How Has This Been Tested?:

Unit tests and also created an EKS cluster with 2 Nodepools
Defaults with default root volume
image

Second nodepool with a modified root and additional volume
image

Special notes for your reviewer:

@github-actions github-actions bot added feature and removed feature labels Sep 18, 2025
@dkoshkin dkoshkin force-pushed the dkoshkin/feat-aws-eks-rootvolume branch 3 times, most recently from 47a0d9e to 5b4e789 Compare September 18, 2025 17:30
@dkoshkin dkoshkin changed the title feat: add rootvolume API to AWS and EKS Nodes feat: add volume APIs to AWS and EKS Nodes Sep 22, 2025
@github-actions github-actions bot added feature and removed feature labels Sep 22, 2025
@dkoshkin dkoshkin force-pushed the dkoshkin/feat-aws-eks-rootvolume branch from 08d7826 to e21d6f8 Compare September 22, 2025 19:33
@dkoshkin dkoshkin requested a review from jimmidyson September 22, 2025 19:55
@jimmidyson jimmidyson enabled auto-merge (squash) September 23, 2025 08:57
@jimmidyson jimmidyson merged commit 7b3ba01 into main Sep 24, 2025
22 checks passed
@jimmidyson jimmidyson deleted the dkoshkin/feat-aws-eks-rootvolume branch September 24, 2025 20:45
vijayaraghavanr31 pushed a commit that referenced this pull request Oct 8, 2025
**What problem does this PR solve?**:
Exposes CAPA's
[rootVolume](https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/88cb4b92b1a76591623e9d5ef347bfdc22010622/api/v1beta1/types.go#L184)
and
[nonRootVolumes](https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/88cb4b92b1a76591623e9d5ef347bfdc22010622/api/v1beta1/types.go#L188C33-L188C47)
APIs in CAREN API.
I did not use the capav1.Volume type directly so that we can have proper
kubebuilder annotations and used basic types instead of pointers that
the CAPA uses (inconsistently).

**Which issue(s) this PR fixes**:
Fixes #

**How Has This Been Tested?**:
<!--
Please describe the tests that you ran to verify your changes.
Provide output from the tests and any manual steps needed to replicate
the tests.
-->
Unit tests and also created an EKS cluster with 2 Nodepools
Defaults with default root volume
<img width="1433" height="179" alt="image"
src="https://github.com/user-attachments/assets/2d6259ea-c553-432a-b8b9-cc6b6c7c714e"
/>

Second nodepool with a modified root and additional volume
<img width="1429" height="209" alt="image"
src="https://github.com/user-attachments/assets/f6ff7f41-fae4-4ffa-aaa4-ce3282bc6ed4"
/>


**Special notes for your reviewer**:
<!--
Use this to provide any additional information to the reviewers.
This may include:
- Best way to review the PR.
- Where the author wants the most review attention on.
- etc.
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants