mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-02 06:13:54 +00:00
configure npd to run as daemonset on cos
This commit is contained in:
@@ -380,7 +380,7 @@ func getNpdPodStat(ctx context.Context, f *framework.Framework, nodeName string)
|
||||
|
||||
hasNpdPod := false
|
||||
for _, pod := range summary.Pods {
|
||||
if !strings.HasPrefix(pod.PodRef.Name, "npd") {
|
||||
if !strings.HasPrefix(pod.PodRef.Name, "node-problem-detector") {
|
||||
continue
|
||||
}
|
||||
cpuUsage = float64(*pod.CPU.UsageNanoCores) * 1e-9
|
||||
|
||||
Reference in New Issue
Block a user