Open johnharris85 opened 1 year ago
Introduce
kumactl get services
based on MeshInsights just like UI.
Add SERVICE
column and hide tags by default (make it possible to switch it on)
MESH NAME TAGS ADDRESS AGE
default test.kuma-demo-app-5cf9bc7544-p559d.kuma-demo app=kuma-demo-frontend env=prod k8s.kuma.io/namespace=kuma-demo k8s.kuma.io/service-name=frontend k8s.kuma.io/service-port=8080 kuma.io/protocol=http kuma.io/service=frontend_kuma-demo_svc_8080 kuma.io/zone=test pod-template-hash=5cf9bc7544 version=v8 10.244.0.13 53y
default test.kuma-demo-backend-v0-7896cd8486-nphct.kuma-demo app=kuma-demo-backend env=prod k8s.kuma.io/namespace=kuma-demo k8s.kuma.io/service-name=backend k8s.kuma.io/service-port=3001 kuma.io/protocol=http kuma.io/service=backend_kuma-demo_svc_3001 kuma.io/zone=test pod-template-hash=7896cd8486 version=v0 10.244.0.12 53y
default test.postgres-master-557f86ddd9-vt86l.kuma-demo app=postgres k8s.kuma.io/namespace=kuma-demo k8s.kuma.io/service-name=postgres k8s.kuma.io/service-port=5432 kuma.io/protocol=tcp kuma.io/service=postgres_kuma-demo_svc_5432 kuma.io/zone=test pod-template-hash=557f86ddd9 10.244.0.10 53y
default test.redis-master-7ddcf54867-qx6fr.kuma-demo app=redis k8s.kuma.io/namespace=kuma-demo k8s.kuma.io/service-name=redis k8s.kuma.io/service-port=6379 kuma.io/protocol=tcp kuma.io/service=redis_kuma-demo_svc_6379 kuma.io/zone=test pod-template-hash=7ddcf54867 role=master tier=backend 10.244.0.11 53y
I'll take this one @johnharris85
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
Any updates here @lnajdekKong ?
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
Description
Something like
kumactl get dataplanes
is pretty useful, but the default output is very noisy because of usually long service names and multiple tags.We should introduce a formatting option to select the fields you want to come back from these commands, or at the very least provide some
jq
examples to get better output here initially? Could also truncate fields with...
that are longer than n characters, and provide a flag to show the entire value if they opt-in?