question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE REQUEST] Add possibility to provide custom hostnames

See original GitHub issue

Is your feature request related to a problem? Please describe. Currently, there is no option to provide a custom VM hostname via epicli. The hostname is set up referencing inventory hostname.

Describe the solution you’d like Current: [prefix][clustername]-kubernetes[master/node]vm[x] Needed: [prefix][clustername]-kubernetes[master/node]vm[x].[domain.name] but it should allow to set up anything you can imagine 👾

Additional context Internal team request, if possible prepare a workaround they could apply to their LTS deployment.

Please check kind: infrastructure/virtual-machine. Maybe specification.name should be the right place for that? Right now it’s overwritten after manifests merge.


DoD checklist

  • Changelog updated
  • COMPONENTS.md updated / doesn’t need to be updated
  • Schema updated / doesn’t need to be updated
  • Feature has automated tests
  • Automated tests passed (QA pipelines)
    • apply
    • upgrade
  • Idempotency tested
  • Documentation added / updated / doesn’t need to be updated
  • All conversations in PR resolved
  • Solution meets requirements and is done according to design doc
  • Usage compliant with license
  • Backport tasks created / doesn’t need to be backported

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
przemyslaviccommented, Dec 29, 2021

@seriva what about adding extra validation for the hostname?

ERROR cli.engine.terraform.TerraformCommand - Error: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidParameter" Message="Linux host name cannot exceed 64 characters in length or contain the following characters: ` ~ ! @ # $ % ^ & * ( ) = + _ [ ] { } \\ | ; : ' \" , < > / ?." Target="computerName"
Read more comments on GitHub >

github_iconTop Results From Across the Web

Client alias or custom / hostname as DNS entries
Automatically from client hostnames; automatically from client aliases (spaces removed); custom DNS name entry. Use case is to have domain names on internal ......
Read more >
Use custom hostnames instead of MAC addresses throughout ...
This is done by first selecting the device in the list in Network Center/Local Network/DHCP Clients and clicking on the button "Add to...
Read more >
[Enhancement] Add ability to change host configuration for API ...
I believe this will require changes to: commons/src/models/environment.model.ts - Add Host Property; commons-server/src/libs/server.ts - Make ...
Read more >
Option to connect to IP instead of hostname - Devolutions Forum
My feature request will still stand, as I feel this is complex to set up, given the information is available in the host,...
Read more >
Feature Request: Ability to specify an IP address to test
I have two use cases where I really need the ability to specify both a hostname for the SSL test to us, PLUS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found