k8wiz
Cilium
Easy
Commands

What does the -P flag do when you run hubble status -P or hubble observe -P from your laptop?

Select your answer:

Show answer and explanation

Answer: It port-forwards to Hubble Relay for you

Explanation

-P is short for --port-forward. The Hubble CLI opens a port-forward to the Hubble Relay service, the same as running cilium hubble port-forward, and connects to it on localhost:4245. Printing policy names is a separate flag, --print-policy-names.

Read more about Cilium