Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 914 Bytes

hubble.md

File metadata and controls

46 lines (33 loc) · 914 Bytes

Hubble Installation

CLI Tool

export HUBBLE_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/hubble/master/stable.txt)
curl -L --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-amd64.tar.gz\{,.sha256sum\}
sha256sum --check hubble-linux-amd64.tar.gz.sha256sum
tar xzvfC hubble-linux-amd64.tar.gz ~/bin/

Setup

cilium hubble enable --ui
cilium hubble port-forward &
hubble status
cilium hubble ui &

Commands

Status

hubble status
hubble list nodes

Observe

hubble observe –namespace backend –protocol dns
hubble observe –namespace frontend –http-path jobs

Output flows as json

hubble observe -o jsonpb --last 1000 --follow | tee -a flows.json
hubble observe -o jsonpb --last 1000 > flows.json

Documentation

https://docs.cilium.io/en/v1.12/gettingstarted/hubble/