tke icon indicating copy to clipboard operation
tke copied to clipboard

fix(platform): set default metrics addr to 0.0.0.0

Open BeyondMS opened this issue 6 years ago • 3 comments

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind feature

What this PR does / why we need it: The default kube-proxy metrics address is 127.0.0.1. Every time when we make a new cluster, we need to change it to the real address.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

None

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


BeyondMS avatar Sep 23 '20 09:09 BeyondMS

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: BeyondMS To complete the pull request process, please assign choujimmy You can assign the PR to them by writing /assign @choujimmy in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

tke-robot avatar Sep 23 '20 09:09 tke-robot

@huxiaoliang PTAL prometheus cannot access kube-proxy's metrics, because the default listen address is 127.0.0.1.

davidwtf avatar Sep 25 '20 01:09 davidwtf

/assign @huxiaoliang

davidwtf avatar Sep 25 '20 01:09 davidwtf