-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Added Launch Template support for instance interruption behavior #9024
Added Launch Template support for instance interruption behavior #9024
Conversation
Hi @tomesm. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Very nice! You many need to run |
Fixed indentation in terraform test template
/retest |
try to fix wrong indentation again
upup/pkg/fi/cloudup/awstasks/launchtemplate_target_terraform_test.go
Outdated
Show resolved
Hide resolved
This looks better now! I had to commit a change to your branch but the tests are now passing. one last thing is that I think launchtemplate_target_api.go needs to be updated as well. that way users with |
@rifelpet Thanks for removing the trailing space. Before I commit anything I just want to be sure If I understand it right. For |
InstanceInterruptionBehavior would go in the LaunchTemplateSpotMarketOptionsRequest struct. The RenderAWS functions all use the types defined in the AWS SDK, so you can see the fields there: https://docs.aws.amazon.com/sdk-for-go/api/service/ec2/#LaunchTemplateSpotMarketOptionsRequest |
@rifelpet well, I am adding it to the So I am not sure what I am doing wrong here :) |
everything you said sounds correct. can you push the commit here so we can take a look at any errors? |
Added InstanceInterruptionBehavior to RenderAWS and Find. Fixed typo in instancegroups
Co-authored-by: John Gardiner Myers <[email protected]>
Co-authored-by: John Gardiner Myers <[email protected]>
Co-authored-by: John Gardiner Myers <[email protected]>
Co-authored-by: Peter Rifel <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rifelpet, tomesm The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
1 similar comment
/retest |
ref: #8809
Updated Launch Template with spot instance interruption behavior