cilium / hubble-ui

Observability & Troubleshooting for Kubernetes Services

Home Page:https://www.cilium.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong service name

zc-devs opened this issue · comments

After upgrading to Cilium from 0.15.0 to 0.15.1, Hubble UI (0.13.0) shows wrong service name. Seems, it picks up the name from component label instead of name:

Screenshot 2024-02-19 1

Downgrading Hubble UI to the previous version doesn't fix the issue:

cilium upgrade --version 1.15.1 \
--set=operator.replicas=1 \
--set=ipv4.enabled=false \
--set=ipv6.enabled=true \
--set=routingMode="native" \
--set=ipv6NativeRoutingCIDR="2001:cafe::64:0:0/96" \
--set=ipam.operator.clusterPoolIPv6PodCIDRList="2001:cafe::64:0:0/96" \
--set=ipam.operator.clusterPoolIPv6MaskSize=112 \
--set=kubeProxyReplacement=true \
--set=bpf.masquerade=true \
--set=enableBpfMasquerade=true \
--set=hubble.enabled=true \
--set=hubble.relay.enabled=true \
--set=hubble.ui.enabled=true \
--set=hubble.ui.frontend.image.tag=v0.12.3 \
--set=hubble.ui.backend.image.tag=v0.12.3 \

Config:

kind: StatefulSet
metadata:
  name: postgres
  namespace: database
  labels:
    app.kubernetes.io/name: postgres
    app.kubernetes.io/part-of: database
    app.kubernetes.io/component: db
    app.kubernetes.io/version: "16.2-bookworm"

On Cilium 0.15.0, Hubble UI 0.12.3 (non-upgraded instance) it looks like

Screenshot 2024-02-19 2

Config:

kind: StatefulSet
metadata:
  name: pg16
  namespace: database
  labels:
    app.kubernetes.io/name: pg16
    app.kubernetes.io/part-of: database
    app.kubernetes.io/component: rdbms
    app.kubernetes.io/version: "16.2-bookworm"

System info:
Oracle Linux Server 9.3
K3s 1.29.1

We have the same problem but with cilium 1.14.7 and hubble-ui 0.13.0

Hello,
This is actually a bug, we will come up soon with the fix