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/sync/poolqueue.go

    		// reading the value to take back ownership of this
    		// slot.
    		head--
    		ptrs2 := d.pack(head, tail)
    		if d.headTail.CompareAndSwap(ptrs, ptrs2) {
    			// We successfully took back slot.
    			slot = &d.vals[head&uint32(len(d.vals)-1)]
    			break
    		}
    	}
    
    	val := *(*any)(unsafe.Pointer(slot))
    	if val == dequeueNil(nil) {
    		val = nil
    	}
    	// Zero the slot. Unlike popTail, this isn't racing with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 18:12:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

    				"pod", klog.KObj(pod), "createdPod", klog.KObj(modifiedPod))
    			return framework.Queue, nil
    		}
    		logger.V(5).Info("a scheduled pod was created, but it doesn't matches with the pod's topology spread constraints",
    			"pod", klog.KObj(pod), "createdPod", klog.KObj(modifiedPod))
    		return framework.QueueSkip, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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/lifecycle/handlers.go

    			klog.V(1).ErrorS(err, "Sleep lifecycle hook for Container in Pod failed", "sleepSeconds", handler.Sleep.Seconds, "containerName", container.Name, "pod", klog.KObj(pod))
    		}
    		return msg, err
    	default:
    		err := fmt.Errorf("invalid handler: %v", handler)
    		msg := fmt.Sprintf("Cannot run handler: %v", err)
    		klog.ErrorS(err, "Cannot run handler")
    		return msg, err
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 11:40:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/topology_hints.go

    			if allocated.Len() != requested {
    				klog.ErrorS(nil, "Resource already allocated to pod with different number than request", "resource", resource, "pod", klog.KObj(pod), "request", requested, "allocated", allocated.Len())
    				deviceHints[resource] = []topologymanager.TopologyHint{}
    				continue
    			}
    			klog.InfoS("Regenerating TopologyHints for resource already allocated to pod", "resource", resource, "pod", klog.KObj(pod))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. pkg/serviceaccount/claims.go

    	case jwt.ErrInvalidAudience, jwt.ErrInvalidID, jwt.ErrInvalidIssuer, jwt.ErrInvalidSubject:
    		klog.Errorf("service account token claim validation got unexpected validation failure: %v", err)
    		return nil, fmt.Errorf("service account token claims could not be validated: %w", err) // safe to pass these errors back to the user
    
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. 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)
Back to top