Skip to content

kpr: show DSR-dispatch mode in cilium-dbg status #29132

@julianwiedmann

Description

@julianwiedmann

When running cilium-dbg status --verbose on a cluster with KPR in DSR mode, it would be great to also show the selected DSR dispatch mode (IP-option, Geneve, IPIP) in the output. See below for an example of the current output.

KubeProxyReplacement Details:
  Status:                 Strict
  Socket LB:              Enabled
  Socket LB Coverage:     Full
  Socket LB Protocols:    TCP, UDP
  Devices:                eth0 10.242.0.4 (Direct Routing)
  Mode:                   SNAT
  Backend Selection:      Random
  Session Affinity:       Enabled
  Graceful Termination:   Enabled
  NAT46/64 Support:       Disabled
  XDP Acceleration:       Disabled
  Services:
  - ClusterIP:      Enabled
  - NodePort:       Enabled (Range: 30000-32767)
  - LoadBalancer:   Enabled
  - externalIPs:    Enabled
  - HostPort:       Enabled 

Metadata

Metadata

Assignees

Labels

area/cliImpacts the command line interface of any command in the repository.area/datapathImpacts bpf/ or low-level forwarding details, including map management and monitor messages.area/kprAnything related to our kube-proxy replacement.area/loadbalancingImpacts load-balancing and Kubernetes service implementationsgood-first-issueGood starting point for new developers, which requires minimal understanding of Cilium.kind/enhancementThis would improve or streamline existing functionality.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions