Giter Site home page Giter Site logo

rueian / gke-hubble-export Goto Github PK

View Code? Open in Web Editor NEW
40.0 6.0 7.0 122 KB

Install hubble-ui on GKE Dataplane V2

License: Apache License 2.0

Dockerfile 5.11% Go 68.16% Smarty 23.38% Makefile 3.35%
cilium hubble hubble-ui gke gke-networking gke-cluster cilium-hubble

gke-hubble-export's Introduction

GKE Hubble Export

Currently, Hubble UI can't be install on the GKE Dataplane V2 because GKE doesn't export cilium agent's observer service and peer service through tcp socket which is required by the Hubble Relay.

So, this repo is just a simple grpc proxy that re-export the above services from the local domain socket to a tcp socket. And it can be consumed by the Hubble Relay on the GKE Dataplane V2, thus Hubble UI can be install.

Warning

The current implementation re-exports the above services without mTLS. Feel free to modify it.

Example

# create gke with --enable-dataplane-v2
gcloud beta container clusters create "cluster-1" \
  --cluster-version "1.21.6-gke.1500" \
  --enable-dataplane-v2

# deploy gke-hubble-export + hubble-relay + hubble-ui in the default namespace.
kubectl apply -f example.yaml

# access the hubble-ui
kubectl port-forward svc/hubble-ui 8081:80

gke-hubble-export's People

Contributors

ajayk avatar demonsthere avatar lgtm-migrator avatar nipsufn avatar romachalm avatar rueian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gke-hubble-export's Issues

Prometheus metrics

Hi,

First, thanks for your project ! It works very well

I was asking if it was possible to enable Prometheus metrics of Hubble ?

Thanks

bug: PEER_ADDED peer notification is not being sent to hubble-relay

What's happening?

  • Hubble Relay connects to all node peers on a restart
  • Hubble Relay receives PEER_DELETED notifications and reacts on them when the autoscaler removes nodes
  • When the autoscaler adds nodes Hubble Relay does not react, logs on Hubble Relay show no PEER_ADDED notification even though the exporter is up and running, can only be resolved with a restart.

Versions

  • gke-hubble-export image built from master and deployed via the helm chart (1a7aa96)
  • K8s version - v1.26.5-gke.1200

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.