Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rueian/gke-hubble-export
Install hubble-ui on GKE Dataplane V2
https://github.com/rueian/gke-hubble-export
cilium cilium-hubble gke gke-cluster gke-networking hubble hubble-ui
Last synced: about 1 month ago
JSON representation
Install hubble-ui on GKE Dataplane V2
- Host: GitHub
- URL: https://github.com/rueian/gke-hubble-export
- Owner: rueian
- License: apache-2.0
- Created: 2021-12-09T18:42:47.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T12:10:52.000Z (8 months ago)
- Last Synced: 2024-10-14T07:11:47.974Z (about 2 months ago)
- Topics: cilium, cilium-hubble, gke, gke-cluster, gke-networking, hubble, hubble-ui
- Language: Go
- Homepage:
- Size: 119 KB
- Stars: 41
- Watchers: 6
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - rueian/gke-hubble-export - Install hubble-ui on GKE Dataplane V2 (Go)
README
# 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
```shell
# 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```