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

AutoScaling docs are confusing #13357

Closed
Netlims opened this issue Jun 14, 2022 · 3 comments · Fixed by #13396
Closed

AutoScaling docs are confusing #13357

Netlims opened this issue Jun 14, 2022 · 3 comments · Fixed by #13396
Labels
theme/autoscaling Issues related to supporting autoscaling theme/docs Documentation issues and enhancements type/enhancement

Comments

@Netlims
Copy link

Netlims commented Jun 14, 2022

Hi,

I'm trying to implement AutoScaling on AWS using Nomad and I find the documentation pretty confusing.
For example on the following topic, it's not clear to me where I should define the "target" definition.
https://www.nomadproject.io/tools/autoscaling/plugins/target/aws-asg#agent-configuration-options

It's under "agent configuration" so I guess it should be as part of Nomad agent configuration file (e.g. client.hcl), next to "plugin" and "client" blocks.
But when I do that Nomad fails to run with the following error: "Error loading client.hcl: unexpected keys aws-asg, target”.

I would very help us if the documentation can be clearer on that part.

Thanks

(At this point I still can't manage to set the autoscaling target, so no specific suggestions here)

@DerekStrickland DerekStrickland added theme/docs Documentation issues and enhancements theme/autoscaling Issues related to supporting autoscaling labels Jun 14, 2022
@DerekStrickland
Copy link
Contributor

Hi @Netlims.

Thanks for using Nomad and thanks for posting this here as well as on Discuss. I hope the examples in the autoscaler demos repo get you unstuck. We'll take a look at the docs as soon as we can and see how we can improve the situation.

@Netlims
Copy link
Author

Netlims commented Jun 14, 2022

I looked at the demo but from there it seems like the agent configuration have no target at all and the target is defined at the job file itself.
Is that the case? Does each job needs to have it's own setting of aws_asg_name and and it's own region?

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
theme/autoscaling Issues related to supporting autoscaling theme/docs Documentation issues and enhancements type/enhancement
Projects
Development

Successfully merging a pull request may close this issue.

1 participant