Skip to content

Commit

Permalink
process: do not enable profiler by default
Browse files Browse the repository at this point in the history
    - we use `hostNetwork` because we need to listen uevent.
      `hostNetwork` will expose any listen ports to host, so we
      should prevent enable extra ports.

Signed-off-by: Vicente Cheng <[email protected]>
(cherry picked from commit 99ecbeb)
  • Loading branch information
Vicente-Cheng committed Mar 26, 2024
1 parent f6f6f3d commit cce2023
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ func main() {
},
&cli.StringFlag{
Name: "profile-listen-address",
Value: "0.0.0.0:6060",
DefaultText: "0.0.0.0:6060",
Usage: "Address to listen on for profiling",
Value: "",
Usage: "Address to listen on for profiling, e.g. `:6060`",
Destination: &opt.ProfilerAddress,
},
&cli.BoolFlag{
Expand Down

0 comments on commit cce2023

Please sign in to comment.