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 control plane with cloudformation #126

Merged

Conversation

nckturner
Copy link
Contributor

@errordeveloper
Copy link
Contributor

This is great, thanks a lot! I was just thinking of looking into it myself. I will review later on.

@errordeveloper errordeveloper self-requested a review July 18, 2018 16:30
@errordeveloper
Copy link
Contributor

@nckturner actually, I'm not sure we need the flag, because it's a change in implementation details, and users should rely on such a thing, unless you thinks it fundamentally different?

pkg/eks/cfn.go Outdated
@@ -289,6 +290,81 @@ func (c *ClusterProvider) DeleteStackServiceRole() error {
return nil
}

func (c *ClusterProvider) stackNameDefaultControlPlane() string {
return "EKS-" + c.cfg.ClusterName + "-DefaultControlPlane"

This comment was marked as abuse.

@nckturner
Copy link
Contributor Author

@errordeveloper yeah I would have left the flag out had it been my project, but I wasn't sure if backwards compatibility was required, so I threw it in for good measure. Would you like me to leave it in to be removed in the next release or so, or just remove it now? I'm not sure why someone wouldn't want a cfn resource for their cluster, but perhaps there could be scenarios. It does (should) make deleting the cluster different, as you should do it through the stack.

@nckturner nckturner force-pushed the cloudformation-control-plane branch from 4920c60 to 550574b Compare July 18, 2018 21:08
@errordeveloper
Copy link
Contributor

errordeveloper commented Jul 19, 2018 via email

@errordeveloper
Copy link
Contributor

I think the refactoring PR will take a while. We can land this right after 0.1.0, so hopefully before the end of this week! Do you want to try rebasing?

@errordeveloper
Copy link
Contributor

@nckturner I 've rebased and added one more commit in your branch, I'm happy to land this right after 0.1.0.

@errordeveloper
Copy link
Contributor

And of course, now we have deletion also.

@errordeveloper errordeveloper force-pushed the cloudformation-control-plane branch 2 times, most recently from 8274d26 to c9b0b17 Compare July 25, 2018 10:02
@nckturner
Copy link
Contributor Author

Ah thanks, I was just working on this last night, but you beat me to it! Sounds good to me!

@errordeveloper errordeveloper force-pushed the cloudformation-control-plane branch 2 times, most recently from 9d855c3 to 8d0c30c Compare August 2, 2018 12:00
Copy link
Contributor

@errordeveloper errordeveloper left a comment

Choose a reason for hiding this comment

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

:shipit:

@errordeveloper errordeveloper merged commit 111674b into eksctl-io:master Aug 2, 2018
@errordeveloper errordeveloper mentioned this pull request Sep 11, 2018
torredil pushed a commit to torredil/eksctl that referenced this pull request May 20, 2022
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.

None yet

2 participants