How to set GOMAXPROCS parameter for all node-exporter pods

Problem

  • How to set the GOMAXPROCS parameter in clusters on PMK v5.6?

Environment

  • Platform9 Managed Kubernetes - v5.6 or Less

Procedure

  • Edit the node-exporter daemonset in the pf9-monitoring namespace
getDaemonset
Copy
  • In the containers section of the spec , add this environment variable as below:
SetVar
Copy

Additional Information

  • v.1.6.0+ of node-exporter has GOMAXPROCS runtime environment as 1 by default.
  • PMK releases v5.9 and greater have node-exporter with v1.6.1 that already contains the default setting of GOMAXPROCS parameter.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard