kumahq / kuma-gui

🐻 A GUI built on Vue.js for use with Kuma.
https://kuma.io/
Apache License 2.0
38 stars 20 forks source link

Support non-transparent proxy outbounds #2833

Open johncowen opened 3 weeks ago

johncowen commented 3 weeks ago

Description

Currently I don't believe we support non-transparent proxy outbounds anywhere in the GUI. i.e. we don't display them anywhere.

Off the top of my head the only place we show outbounds is in the Dataplane Overview/Visualization, and these are outbounds on services using transparent proxy which are inferred/derived from the Envoy /stats API rather than using outbounds explicitly provided/configured in YAML config.

We should also support non-transparent proxy based outbounds, i.e. those provided via a Dataplane config such as:

type: Dataplane
mesh: default
name: dp-wordpress-1
networking:
  address: 10.0.0.1
  inbound:
  - port: 8000
    servicePort: 80
    tags:
      kuma.io/service: wordpress
      kuma.io/protocol: http
  outbound:
  - port: 6379
    tags:
      kuma.io/service: redis

Some finer points/queries:

  1. Currently this summary panel can already get pretty full of information (see below for screengrab of current state). Therefore, if we are to display Outbounds in the Dataplane Summary panel, then we should probably consider using our "Tabs within summary panels" UX i.e. [Overview/YAML] [Inbounds] [Outbounds]
Screenshot 2024-08-18 at 18 06 14
  1. Should we also make sure that the Dataplane Overview Visualization supports both Envoy /stats inferred outbounds and explicit config/yaml defined outbounds?
lukidzi commented 3 weeks ago

Triage: if we are using stats API of Envoy we should be able to see them.

jakubdyszkiewicz commented 1 week ago

Triage: Dataplane wiz will just work. We want to add outbound to summary card after inbounds.