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

Configure node volume size #229

Merged
merged 4 commits into from
Oct 5, 2018

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Sep 26, 2018

[Fixes #214]

We should probably look up the root device name from the AMI instead of hard-coding /dev/xvda. Happy to add that here if that makes sense.

Description

Please explain the changes you made here.

Checklist

  • Code compiles correctly (i.e make build)
  • Added tests that cover your change (if possible)
  • All tests passing (i.e. make test)
  • Added/modified documentation as required (such as the README)
  • Added yourself to the humans.txt file

@jmcarp jmcarp force-pushed the issue-214-volume-size branch from 3088098 to af7bb0e Compare September 26, 2018 21:11
@jmcarp jmcarp force-pushed the issue-214-volume-size branch from af7bb0e to 32c81b9 Compare September 26, 2018 22:27
@jmcarp
Copy link
Contributor Author

jmcarp commented Sep 26, 2018

Actually, noticed that encryption doesn't work here, since the ebs snapshots associated with the base AMIs aren't encrypted. Rolling back to just configuring volume size.

NodeAMI string
NodeType string
Nodes int
NodeVolumeSize int

This comment was marked as abuse.

@@ -66,6 +66,7 @@ func createClusterCmd() *cobra.Command {

fs.StringVarP(&cfg.Region, "region", "r", api.DEFAULT_EKS_REGION, "AWS region")
fs.StringVarP(&cfg.Profile, "profile", "p", "", "AWS credentials profile to use (overrides the AWS_PROFILE environment variable)")
fs.IntVarP(&cfg.NodeVolumeSize, "node-volume-size", "", 0, "Node volume size (in GB)")

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

README.md Outdated
To configure node volume size, use the `--node-volume-size` flag.

```
eksctl create cluster --node-volume-size 50

This comment was marked as abuse.

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.

few nits, LGTM overall

@jmcarp
Copy link
Contributor Author

jmcarp commented Sep 27, 2018

Thanks, updated.

@jmcarp
Copy link
Contributor Author

jmcarp commented Sep 30, 2018

@errordeveloper: anything else I should update here?

Copy link
Contributor

@richardcase richardcase left a comment

Choose a reason for hiding this comment

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

This looks good. Would you be able to rebase on master?

@errordeveloper
Copy link
Contributor

errordeveloper commented Oct 5, 2018

@jmcarp thanks, this is great!

@errordeveloper errordeveloper merged commit fef499e into eksctl-io:master Oct 5, 2018
@errordeveloper errordeveloper changed the title Configure node volume size and encryption. Configure node volume size Oct 10, 2018
torredil pushed a commit to torredil/eksctl that referenced this pull request May 20, 2022
fix a bug when capacity range is nil
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.

3 participants