Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,192 for slog (0.04 sec)

  1. pkg/kubelet/cm/cpumanager/cpu_manager.go

    			if err != nil {
    				klog.V(4).InfoS("ReconcileState: skipping container; ID not found in pod status", "pod", klog.KObj(pod), "containerName", container.Name, "err", err)
    				failure = append(failure, reconciledContainer{pod.Name, container.Name, ""})
    				continue
    			}
    
    			cstatus, err := findContainerStatusByName(&pstatus, container.Name)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 19.9K bytes
    - Viewed (2)
  2. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    				loc = &Location{
    					Address: addr,
    				}
    				locs[addr] = loc
    				p.Location = append(p.Location, loc)
    			}
    			sloc = append(sloc, loc)
    		}
    		p.Sample = append(p.Sample,
    			&Sample{
    				Value:    []int64{int64(count), int64(count) * p.Period},
    				Location: sloc,
    			})
    	}
    	// Reached the end without finding the EOD marker.
    	return b, locs, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  3. pkg/volume/util/subpath/subpath_linux.go

    		return bindPathTarget, nil
    	}
    
    	success := false
    	defer func() {
    		// Cleanup subpath on error
    		if !success {
    			klog.V(4).Infof("doBindSubPath() failed for %q, cleaning up subpath", bindPathTarget)
    			if cleanErr := cleanSubPath(mounter, subpath); cleanErr != nil {
    				klog.Errorf("Failed to clean subpath %q: %v", bindPathTarget, cleanErr)
    			}
    		}
    	}()
    
    	kubeletPid := os.Getpid()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    			}
    			forceDetach := !isHealthy && forceDetatchTimeoutExpired
    
    			hasOutOfServiceTaint, err := rc.hasOutOfServiceTaint(attachedVolume.NodeName)
    			if err != nil {
    				logger.Error(err, "Failed to get taint specs for node", "node", klog.KRef("", string(attachedVolume.NodeName)))
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_attacher.go

    			// clean up metadata
    			klog.Errorf(log("attacher.MountDevice failed: %v", err))
    			if err := removeMountDir(c.plugin, deviceMountPath); err != nil {
    				klog.Error(log("attacher.MountDevice failed to remove mount dir after error [%s]: %v", deviceMountPath, err))
    			}
    		}
    	}()
    
    	if err != nil {
    		errMsg := log("failed to save volume info data: %v", err)
    		klog.Error(errMsg)
    		return errors.New(errMsg)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 07:38:14 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_stack_test.go

    		if err := fs.Set(flag, value); err != nil {
    			fmt.Printf("Unexpected error configuring klog: %v", err)
    			return
    		}
    	}
    	var buffer bytes.Buffer
    	klog.SetOutput(&buffer)
    
    	logger := klog.Background()
    	logger = klog.LoggerWithValues(logger, "request", 42)
    	ctx := klog.NewContext(context.Background(), logger)
    
    	// The line number of the next call must be at line 60. Here are some
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/topologymanager/scope_container.go

    		bestHint, admit := s.calculateAffinity(pod, &container)
    		klog.InfoS("Best TopologyHint", "bestHint", bestHint, "pod", klog.KObj(pod), "containerName", container.Name)
    
    		if !admit {
    			metrics.TopologyManagerAdmissionErrorsTotal.Inc()
    			return admission.GetPodAdmitResult(&TopologyAffinityError{})
    		}
    		klog.InfoS("Topology Affinity", "bestHint", bestHint, "pod", klog.KObj(pod), "containerName", container.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 14:44:24 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/util/util.go

    		return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id
    	}
    	if sandboxStatus.State != runtimeapi.PodSandboxState_SANDBOX_READY {
    		klog.V(2).InfoS("No ready sandbox for pod can be found. Need to start a new one", "pod", klog.KObj(pod))
    		return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id
    	}
    
    	// Needs to create a new sandbox when network namespace changed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:14:48 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. pkg/volume/fc/fc_util.go

    				disk, err := io.EvalSymlinks(devID + name)
    				if err != nil {
    					klog.V(2).Infof("fc: failed to find a corresponding disk from symlink[%s], error %v", devID+name, err)
    					return "", ""
    				}
    				dm := deviceUtil.FindMultipathDeviceForDevice(disk)
    				klog.Infof("fc: find disk: %v, dm: %v", disk, dm)
    				return disk, dm
    			}
    		}
    	}
    	klog.V(2).Infof("fc: failed to find a disk [%s]", devID+fcPath)
    	return "", ""
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  10. pkg/kubelet/eviction/eviction_manager.go

    	for {
    		select {
    		case <-timeout.C():
    			klog.InfoS("Eviction manager: timed out waiting for pods to be cleaned up", "pods", klog.KObjSlice(pods))
    			return
    		case <-ticker.C():
    			for i, pod := range pods {
    				if !podCleanedUpFunc(pod) {
    					break
    				}
    				if i == len(pods)-1 {
    					klog.InfoS("Eviction manager: pods successfully cleaned up", "pods", klog.KObjSlice(pods))
    					return
    				}
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top