"logging before flag.Parse" Errors Observed For metrics-server POD.

Problem

  • The following errors are observed in metrics-server-nannycontainer logs of metrics-serverPOD.
Errors
Copy
  • No adverse effect observed on the monitoring stack or Platform9 Managed Kubernetes cluster.

Environment

  • Platform9 Managed Kubernetes - All Versions
  • Metric Server
  • Add-on Resizer

Cause

  • Add-on Resizer use Google/glog as logging library.
Add-On Resizer Code snippet
Copy
  • A commit in glog seems to be responsible for generating those error messages but there are no adverse effects of these messages on metric server or cluster functionality.
  • The compatible changes for this commit have not done in Kubernetes code, instead it is considered as a caveat.

Resolution

  • Since Kubernetes considers this as a caveat and there are no adverse effect reported for these errors hence we can safely ignore them.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard