Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,731 for Dlog (0.04 sec)

  1. pkg/kubelet/status/fake_status_manager.go

    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/klog/v2"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/kubelet/status/state"
    )
    
    type fakeManager struct {
    	state state.State
    }
    
    func (m *fakeManager) Start() {
    	klog.InfoS("Start()")
    	return
    }
    
    func (m *fakeManager) GetPodStatus(uid types.UID) (v1.PodStatus, bool) {
    	klog.InfoS("GetPodStatus()")
    	return v1.PodStatus{}, false
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 05:59:34 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. staging/publishing/import-restrictions.yaml

      - k8s.io/apimachinery
      - k8s.io/kube-openapi
      - k8s.io/utils/clock
      - k8s.io/utils/net
      - k8s.io/utils/strings
      - k8s.io/klog
      - k8s.io/utils/ptr
    
    - baseImportPath: "./staging/src/k8s.io/api"
      allowedImports:
      - k8s.io/api
      - k8s.io/apimachinery
      - k8s.io/klog
    
    - baseImportPath: "./staging/src/k8s.io/code-generator"
      ignoredSubTrees:
      - "./staging/src/k8s.io/code-generator/examples"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. pkg/util/goroutinemap/goroutinemap.go

    	if *err == nil || !grm.exponentialBackOffOnError {
    		// Operation completed without error, or exponentialBackOffOnError disabled
    		delete(grm.operations, operationName)
    		if *err != nil {
    			// Log error
    			klog.Errorf("operation for %q failed with: %v",
    				operationName,
    				*err)
    		}
    	} else {
    		// Operation completed with error and exponentialBackOffOnError Enabled
    		existingOp := grm.operations[operationName]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 6.8K bytes
    - Viewed (0)
  5. plugin/pkg/auth/authorizer/node/node_authorizer.go

    		//ok
    	default:
    		klog.V(2).Infof("NODE DENY: '%s' %#v", nodeName, attrs)
    		return authorizer.DecisionNoOpinion, "can only read resources of this type", nil
    	}
    
    	if len(attrs.GetSubresource()) > 0 {
    		klog.V(2).Infof("NODE DENY: '%s' %#v", nodeName, attrs)
    		return authorizer.DecisionNoOpinion, "cannot read subresource", nil
    	}
    	if len(attrs.GetNamespace()) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. 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 (0)
  7. src/log/slog/example_logvaluer_group_test.go

    package slog_test
    
    import "log/slog"
    
    type Name struct {
    	First, Last string
    }
    
    // LogValue implements slog.LogValuer.
    // It returns a group containing the fields of
    // the Name, so that they appear together in the log output.
    func (n Name) LogValue() slog.Value {
    	return slog.GroupValue(
    		slog.String("first", n.First),
    		slog.String("last", n.Last))
    }
    
    func ExampleLogValuer_group() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 20:55:33 UTC 2023
    - 825 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top