sighupio / fury-kubernetes-networking

Kubernetes Fury Distribution Networking Core Module: CNI and Network management features for Kubernetes Clusters
BSD 3-Clause "New" or "Revised" License
9 stars 3 forks source link

No ingress installed for Cilium Hubble #81

Closed woopla closed 1 week ago

woopla commented 2 months ago

When installing Cilium, the Hubble observability tool is also installed in the cluster, but there's no ingress to access it. I copied the Grafana one and made the necessary adjustments, but I think this should be done by default. Something like:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    cluster.kfd.sighup.io/useful-link.name: Cilium Hubble UI
    cluster.kfd.sighup.io/useful-link.url: https://cilium-hubble.XXXXXX
    forecastle.stakater.com/appName: Cilium Hubble
    forecastle.stakater.com/expose: "true"
    forecastle.stakater.com/icon: https://cilium.io/static/hubble-light-1-812e65cbb72a7f4efed59fcea48df840.svg
  labels:
    cluster.kfd.sighup.io/useful-link.enable: "true"
  name: hubble-ui
  namespace: kube-system
spec:
  ingressClassName: nginx
  rules:
  - host: cilium-hubble.XXXXXX
    http:
      paths:
      - backend:
          service:
            name: hubble-ui
            port:
              name: http
        path: /
        pathType: Prefix
  tls:
  - hosts:
    - cilium-hubble.XXXXXX
ralgozino commented 2 months ago

ciao @woopla thanks for the feedback! we had this already in our roadmap, we will do this soon and will be included in the next release most probably :)

ralgozino commented 1 week ago

Hubble Ingress is now included by default since KFD v1.29.2 (and 1.28.2 and 1.27.7)