MetaCell / MetaCell/cloud-harness

Improve output harness-deployment, showing 2x ip address + (sub)domains

Open
#543 1 comment 0 reactions 0 assignees View on GitHub
enhancement scope:local-development
Dominant language
Python
Stars
19
Forks
5
Avg merge
3d 18h
Merged PRs (30d)
3

Description

at the end of the output of the `harness-deployment` command it shows the message `To test locally, update your hosts file`
and then the ip address and the list of the (sub)domains
however at the end of the output a new list with ip address 127.0.0.1 and the (sub)domains is show.
The last list of subdomains actually shows the application name concatenated with the namespace

e.g.
```
127.0.0.1 notifications.ch accounts.ch volumemanager.ch sentry.ch jupyterhub.ch argo.ch samples.ch common.ch events.ch workflows.ch
```
this list "works" (resolves) in the kubernetes cluster but not on your local host.

it is very confusing that the second list is show and it also doesn't add much value.

suggestion: hide the last list from the output

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the `harness-deployment` command and reproduce the output described in the issue, focusing on where the local hosts-file guidance is assembled. Remove the duplicate 127.0.0.1 domain list while preserving the useful output, then verify the command no longer prints the confusing second list.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, python
Domain
cli, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.