Skip to content

Split tasks into separate MNG and SMNG tasks #507

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

shvbsle
Copy link
Contributor

@shvbsle shvbsle commented May 1, 2025

Issue #, if available:

Description of changes:

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

@shvbsle shvbsle marked this pull request as ready for review May 2, 2025 20:36
@shvbsle shvbsle requested a review from hakuna-matatah May 2, 2025 20:36
@shvbsle shvbsle changed the title WIP: Split tasks into separate MNG and SMNG tasks Split tasks into separate MNG and SMNG tasks May 2, 2025
default: "https://raw.githubusercontent.com/awslabs/kubernetes-iteration-toolkit/main/tests/assets/asg_node_group.yaml"
- name: launch-template-ami
default: ""
description: "Launch template ImageId value, which may be an AMI ID or resolve:ssm reference. By default resolve to the lates AL2023 ami for cluster version"
type: string
- name: ng-cfn-url-monitoring
default: "https://raw.githubusercontent.com/awslabs/kubernetes-iteration-toolkit/main/tests/assets/eks_node_group_launch_template.json"
- default: "https://raw.githubusercontent.com/awslabs/kubernetes-iteration-toolkit/main/tests/assets/eks_node_group_launch_template_al2023.yaml"
Copy link
Contributor

Choose a reason for hiding this comment

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

Now that we have split these into two separate tasks, leave defaults at task level.
That way, we can keep changes to pipeline def as minimal as possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Made these changes in the latest commit.
Do note that this becomes slightly inconsistent with how other params such as ng-cfn-url are defined in the pipeline, which do have default values. The only caution here would be that by moving these defaults to task-level definition, we are losing top-level visibility on what is being used under the hood by these task.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, we need to move those as well to task level defaults, to keep pipeline minimal. Main motivation is - basically to not have to change all downstream pipelines built using these tasks as and when we change the defaults.

@hakuna-matatah
Copy link
Contributor

Thanks for following up on this task.

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