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

Implement WarmPool on Terraform #11633

Closed
johngmyers opened this issue May 30, 2021 · 12 comments
Closed

Implement WarmPool on Terraform #11633

johngmyers opened this issue May 30, 2021 · 12 comments
Assignees
Labels
area/terraform Issues or PRs related to the Terraform target good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@johngmyers
Copy link
Member

1. Describe IN DETAIL the feature/behavior/change you would like to see.

Implement WarmPool.RenderTerraform()

2. Feel free to provide a design supporting your feature request.

/kind feature
/area terraform
/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. kind/feature Categorizes issue or PR as related to a new feature. area/terraform Issues or PRs related to the Terraform target labels May 30, 2021
@johngmyers johngmyers added the good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. label May 30, 2021
@Patil2099
Copy link

I am new to this project and would love to help in implementing this feature. Can you guide me a little? @johngmyers

@johngmyers
Copy link
Member Author

The task is to implement WarmPool.RenderTerraform.

I would suggest looking at other RenderTerraform receivers to see how they work. You'll need to create an annotated struct corresponding to the Terraform configuration syntax.

Adding an integration test for warmpool would also be good. The integration tests are in kops/cmd/kops/integration_test.go.

@johngmyers
Copy link
Member Author

It looks like Terraform puts this inside the ASG definition, so you'll probably have to put this in AutoscalingGroup.RenderTerraform instead.

@sandeeppainuly
Copy link

/assign

@vnzongzna
Copy link

/assign

@JacekDuszenko
Copy link

If others are not working on the task I'd like to look into it now, so am assigning myself.

@JacekDuszenko
Copy link

/assign @JacekDuszenko

@rifelpet
Copy link
Member

The WarmPool task has an AutoScalingGroup reference field yet doesn't use it in any of its methods, I'm assuming this is for dependency purposes @olemarkus ? We likely can't add a WarmPool task reference in the ASG task because of the dependency loop, so we may need to wait for hashicorp/terraform-provider-aws#19229 unless anyone has other ideas on how this could be implemented.

@johngmyers
Copy link
Member Author

I believe for the Terraform target, the WarmPool task would do nothing. AutoscalingGroupModelBuilder would put the warmpool config into both the WarmPool and AutoscalingGroup tasks.

The trick would then be to keep the warmpool config in the AutoscalingGroup task from showing up in dryrun output.

@olemarkus olemarkus removed the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Aug 2, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 31, 2022
@SD-13
Copy link

SD-13 commented Oct 27, 2023

Seems like this PR addressed this issue.
/close

@k8s-ci-robot
Copy link
Contributor

@SD-13: Closing this issue.

In response to this:

Seems like this PR addressed this issue.
/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/terraform Issues or PRs related to the Terraform target good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

10 participants