[FEATURE] Add a --port-remove flag so nobody has to recreate their cluster with modified options
Is your feature request related to a problem or a Pull Request
Please link to the issue/PR here and explain how your request is related to it.
Scope of your request
Do you need...
- a new noun (next to e.g.
cluster,node, etc. used viak3d <noun>)? - a new verb (next to e.g.
cluster create,node start, etc. used viak3d <noun> <verb>) - a new flag for a command (e.g.
k3d cluster create --<your-flag>)?- which command?
- different functionality for an existing command/flag
- which command or flag?
I would like a new flag, being --port-remove, I want it on the command k3d cluster edit, if you are able to add port mappings, you should also be able to remove them if you ever change your ports due to a variety of reasons, like recently I had to change ports within my cluster and I realized i exposed the wrong ports on the host
Describe the solution you'd like
As I described in the previous paragraph, a --port-remove flag.
A clear and concise description of what you want to happen.
It should remove a port mapping, say you edit in 8080:8080, you should also be able to remove that mapping and have it update on the container without recreating the whole cluster.
Describe alternatives you've considered
I do not know of any alternative ways of implementing this or doing this.
A clear and concise description of any alternative solutions or features you've considered.
I do not know of any alternative ways of implementing this or doing this.
Source: k3d-io/k3d