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

allow providing additional label to worker hosts #7

Open
snowch opened this issue Apr 2, 2020 · 0 comments
Open

allow providing additional label to worker hosts #7

snowch opened this issue Apr 2, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@snowch
Copy link
Member

snowch commented Apr 2, 2020

Currently, the worker hostname is set as follows:

${var.project_id}-instance-worker-${count.index + 1}

e.g. csnow-hcp-demo-instance-worker-1

It would be good if the user could provide an additional label to identify hosts, e.g.

${var.project_id}-instance-worker-${count.index + 1}-${var.worker_label[count.index]}

e.g. csnow-hcp-demo-instance-worker-1-mapr-fast-ingest

This could be achieved by an extra variable worker_labels, e.g.

worker_count = 4
worker_labels = [ "epic-host", "epic-host", "k8s-host", "mapr-fast-ingest" ]

This labelling would make it much easier to identify workers, e.g. when needing to ssh into a specific worker.

@snowch snowch added the enhancement New feature or request label Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant