stackabletech / stackable-cockpit

Home of stackable-cockpit, stackablectl and stackable-cockpitd
https://docs.stackable.tech/management/stable/
Other
8 stars 3 forks source link

Support listing endpoints of Listeners in "stacklet list" command #213

Closed sbernauer closed 8 months ago

sbernauer commented 9 months ago

Description

Currently shows

➜  stackable-cockpit git:(feat/support-listeners) ✗ cargo r -p stackablectl -- stacklet list
    Finished dev [unoptimized + debuginfo] target(s) in 0.10s
     Running `target/debug/stackablectl stacklet list`

┌───────────┬──────────────┬───────────┬──────────────────────────────────────────────────────┬─────────────────────────────────┐
│ PRODUCT   ┆ NAME         ┆ NAMESPACE ┆ ENDPOINTS                                            ┆ CONDITIONS                      │
╞═══════════╪══════════════╪═══════════╪══════════════════════════════════════════════════════╪═════════════════════════════════╡
│ hdfs      ┆ simple-hdfs  ┆ default   ┆ namenode-default-0-http     http://172.18.0.2:31792  ┆ Available, Reconciling, Running │
│           ┆              ┆           ┆ namenode-default-0-metrics  172.18.0.2:32448         ┆                                 │
│           ┆              ┆           ┆ namenode-default-0-rpc      172.18.0.2:32724         ┆                                 │
│           ┆              ┆           ┆ namenode-default-1-http     http://172.18.0.2:32429  ┆                                 │
│           ┆              ┆           ┆ namenode-default-1-metrics  172.18.0.2:30426         ┆                                 │
│           ┆              ┆           ┆ namenode-default-1-rpc      172.18.0.2:32738         ┆                                 │
├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ trino     ┆ simple-trino ┆ default   ┆ coordinator-metrics         172.18.0.2:32650         ┆ Available, Reconciling, Running │
│           ┆              ┆           ┆ coordinator-https           https://172.18.0.2:32620 ┆                                 │
├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ zookeeper ┆ simple-zk    ┆ default   ┆                                                      ┆ Available, Reconciling, Running │
└───────────┴──────────────┴───────────┴──────────────────────────────────────────────────────┴─────────────────────────────────┘

Use "stackablectl stacklet credentials [OPTIONS] <PRODUCT_NAME> <STACKLET_NAME>" to display credentials for deployed stacklets.

Definition of Done Checklist

# Author
- [ ] Changes are OpenShift compatible
- [ ] CRD changes approved
- [ ] Helm chart can be installed and deployed operator works
- [ ] Integration tests passed (for non trivial changes)
# Reviewer
- [ ] Code contains useful comments
- [ ] (Integration-)Test cases added
- [ ] Documentation added or updated
- [ ] Changelog updated
- [ ] Cargo.toml only contains references to git tags (not specific commits or branches)
# Acceptance
- [ ] Feature Tracker has been updated
- [ ] Proper release label has been added

Once the review is done, comment bors r+ (or bors merge) to merge. Further information

lfrancke commented 8 months ago

What does this ticket fix? Only HDFS? Everything?