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

improve output messages in 'eksctl update cluster' #646

Closed
errordeveloper opened this issue Mar 19, 2019 · 4 comments
Closed

improve output messages in 'eksctl update cluster' #646

errordeveloper opened this issue Mar 19, 2019 · 4 comments
Labels
area/general-cli good first issue Good for newcomers help wanted Extra attention is needed

Comments

@errordeveloper
Copy link
Contributor

Right now we print this

[ℹ]  using region us-east-2
[ℹ]  re-building cluster stack "eksctl-sample-cluster"
[ℹ]  (dry-run) updating stack to add new resources [ClusterSharedNodeSecurityGroup IngressInterNodeGroupSG] and ouputs [ServiceRoleARN SharedNodeSecurityGroup]
[ℹ]  checking security group configuration for all nodegroups
[✖]  found 1 nodegroup(s) (0) without shared security group, cluster networking maybe be broken
[✖]  it's recommended to create new nodegroups, then delete old ones
  1. there is typo - ouputs
  2. it's not clear that --dry-run=false has to be used

And with --dry-run=false we print this

[ℹ]  using region us-east-2
[ℹ]  re-building cluster stack "eksctl-sample-cluster"
[ℹ]  updating stack to add new resources [ClusterSharedNodeSecurityGroup IngressInterNodeGroupSG] and ouputs [ServiceRoleARN SharedNodeSecurityGroup]
[ℹ]  checking security group configuration for all nodegroups
[✖]  found 1 nodegroup(s) (0) without shared security group, cluster networking maybe be broken
[✖]  it's recommended to create new nodegroups, then delete old ones

Which also doesn't make it clear if all is well at the end and if shared SG gets added or what happens really.

@errordeveloper errordeveloper added help wanted Extra attention is needed good first issue Good for newcomers area/general-cli labels Mar 19, 2019
@errordeveloper errordeveloper changed the title improve output message in 'eksctl update cluster' improve output messages in 'eksctl update cluster' Mar 19, 2019
@venkyvb
Copy link

venkyvb commented Jun 1, 2019

@errordeveloper Is this issue still open? If yes, I would be interested in working on this.

@errordeveloper
Copy link
Contributor Author

errordeveloper commented Jun 1, 2019 via email

@venkyvb
Copy link

venkyvb commented Jun 2, 2019

@errordeveloper
Re 1) This can be corrected
Re 2) From the code it seems like --dry-run is now deprecated and --approve is to be used.

Also when I analyze the usage of the --dry-run seems like this is just used in the output and it doesn't seem to control the StackResource creation itself. Proposal would be to remove this flag in the output itself.

@michaelbeaumont
Copy link
Contributor

Closing, quite old, see also #476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/general-cli good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants