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

Adds a friendly hostname tag to node ls output #147

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

jordan-rash
Copy link
Contributor

@jordan-rash jordan-rash commented Mar 25, 2024

Adds configurable friendly name to node ls output

╭────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                        NATS Execution Nodes                                        │
├──────────────────────────────────────────────────────────┬──────────┬─────────┬────────┬───────────┤
│ ID                                                       │ Hostname │ Version │ Uptime │ Workloads │
├──────────────────────────────────────────────────────────┼──────────┼─────────┼────────┼───────────┤
│ NCNEPHS6GWK33USX4NUTHQKFEW6NYVMHQD7R2MUOKX6NGZBOI4T2AJAP │ my-nex   │ 0.1.5   │ 30m17s │         0 │
╰──────────────────────────────────────────────────────────┴──────────┴─────────┴────────┴───────────╯

via

{
    "default_resource_dir": “/etc/wd,
    "machine_pool_size": 1,
    "cni": {
        "network_name": "fcnet",
        "interface_name": "veth0"
    },
    "machine_template": {
        "vcpu_count": 1,
        "memsize_mib": 256
    },
    "tags": {
        "hostname": "my-nex"
    }
}

@jordan-rash jordan-rash requested a review from a team as a code owner March 25, 2024 17:26
@jordan-rash jordan-rash merged commit 77ae1d4 into main Mar 25, 2024
3 checks passed
@jordan-rash jordan-rash deleted the feat/add_hostname_to_ls branch March 25, 2024 18:06
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.

2 participants