Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create placeholder deployment for Auto clusters if --nodes > 0 #520

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

cartermckinnon
Copy link
Member

Description of changes:

This refactors the NodegroupManager into a more general NodeManager that supports EKS Auto. A "placeholder" deployment will be created that makes the --nodes flag effective when --auto-mode is used.

There's a similar thing being done for --static-cluster-name. That will be removed in later PR's; I haven't touched that behavior so that CI jobs can be migrated without breakage.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@@ -189,7 +189,7 @@ func (d *deployer) Up() error {
if err != nil {
return err
}
if d.deployerOptions.StaticClusterName != "" || d.deployerOptions.AutoMode {
if d.deployerOptions.StaticClusterName != "" {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a bug -- the staticClusterManager was likely nil if --auto-mode was used.

@cartermckinnon cartermckinnon merged commit c74a892 into main Dec 13, 2024
5 checks passed
@cartermckinnon cartermckinnon deleted the auto-mode-nodes branch December 13, 2024 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants