-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Need confirmation for eksctl cli that modify the cluster #601
Comments
If this behavior is acceptable, I have a PR in progress. |
Thanks for your suggestion! I would rather consider adding On the other hand, I also rather wouldn't introduce a change that breaks automation (which would be still the case with |
FYI: if you interrupt deletion process early only your nodegroups will get deleted and can recover the cluster by re-adding some nodegroups. |
@errordeveloper thanks for the explanation and historic details. Based on the rework needed, it does seem like a change that breaks existing automation is likely to occur at some point due to the fixes. Do you think that would be the case? In any case, this should affect only the CLI parsing path. My thought was to have this as a PreRunE option (for example https://github.com/weaveworks/eksctl/blob/master/pkg/ctl/delete/cluster.go#L32). That will not affect any of the functionality and can remain unchanged even when the other issues are fixed. |
xref #682 |
Deletion protection could be opt in (cli arg or entry in yaml config file). If present it would need to be removed first (similar to some other AWS resources, e.g. RDS). It could be stored in a tag on the EKS cluster, for example |
Duplicate of #476 |
Fix the name of the snapshot controller leader election RoleBinding
Before creating a feature request, please search existing feature requests to see if you find a similar one. If there is a similar feature request please up-vote it and/or add your comments to it instead
Why do you want this feature?
The
eksctl delete
,eksctl create
andeksctl create
operations take effect immediately without any sort of confirmation. It would be useful to have a basic confirmation prompt and a--force
flag to override the option so that end-users don't delete the cluster in error.What feature/behavior/change do you want?
I would like to see behavior similar to the following for the commands listed above:
Note: This will break existing scripts and automation.
The text was updated successfully, but these errors were encountered: