-
Notifications
You must be signed in to change notification settings - Fork 656
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
Can we customize the VM name created by bosh #1163
Comments
which IaaS are you requesting this for? on vSphere for example we use name to find machines, so naming it someone else would not work properly. |
Related issue: #1128 |
Hey @StanleyShen I've already asked some questions in the issue linked by @cppforlife, but I'll just paste the same questions here. I'd be great if you could try to help us understand more about your use-case and its implications. To get a better idea about what you are suggesting, a few questions:
|
Sorry, I didn't make it clear, all these names are actually the name(tag) shows on AWS console UI. Because the AWS account may be managed by different guys, in order to let others know who created these VMs and the purpose, it's much better to put some more useful information to name. We can add these "reserved - CF 3.0", " (Stanley)" before/after the name manually in AWS console UI, but it will be gone if we update(recreate) these VMs. I also don't want to change the jobs to such names, which is not good for maintenance too. |
Not quite the same solution, but custom tags were mentioned in #936 for adding metadata about similar details. |
@StanleyShen so just to clarify you would want to this to be included at the deployment level because different deployments will have a different prefix? |
I think in deployment level is more flexible, for example different deployment I can have different prefix/postfix, right? I may have two CF deployed on AWS, then 2 instances will have same names for each component. reserved - CF instance1 access_z1/0 (Creator stanley) In one deployment, the prefix/postfix should be same for all jobs. |
Sorry I missed some of @voelzmo questions in #1128, so let me answer here. Just to give some context, our need is based on the pre-existing naming conventions in effect on our internal IaaSes. These naming conventions are outside our control and we should follow them to be "good citizens" not just of the IaaS we're on, but of the whole ecosystem of inventory/monitoring/security tools we have internally.
The naming convention is roughly as follows:
where
we used to call "role" what is now known as "instance group"
Ideally it would need to change based on the deployment. (i.e. different deployments on the same director may have different prefixes)
That is the reason why we would like to have "instance group-index-guid" in the |
This issue was marked as |
This issue was closed because it has been labeled |
I am using bosh to deploy VM, the VMs have names like
access_z1/0
api_z1/0
But for better tracking, I would like to customized their name like
reserved - CF 3.0 access_z1/0 (Creator)
reserved - CF 3.0 api_z1/0/0 (Creator)
Is there a way to do it better except changing the name of job definitions?
The text was updated successfully, but these errors were encountered: