Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for KObj (0.03 sec)

  1. pkg/scheduler/framework/plugins/noderesources/fit.go

    			logger.V(5).Info("the deleted pod was unscheduled and it wouldn't make the unscheduled pod schedulable", "pod", klog.KObj(pod), "deletedPod", klog.KObj(originalPod))
    			return framework.QueueSkip, nil
    		}
    		logger.V(5).Info("another scheduled pod was deleted, and it may make the unscheduled pod schedulable", "pod", klog.KObj(pod), "deletedPod", klog.KObj(originalPod))
    		return framework.Queue, nil
    	}
    
    	if !f.enableInPlacePodVerticalScaling {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. pkg/scheduler/schedule_one.go

    	// When contextualized logging hits GA
    	// https://github.com/kubernetes/kubernetes/issues/111672
    	logger = klog.LoggerWithValues(logger, "pod", klog.KObj(pod))
    	ctx = klog.NewContext(ctx, logger)
    	logger.V(4).Info("About to try and schedule pod", "pod", klog.KObj(pod))
    
    	fwk, err := sched.frameworkForPod(pod)
    	if err != nil {
    		// This shouldn't happen, because we only accept for scheduling the pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set.go

    		if set == nil {
    			return
    		}
    		logger.V(4).Info("Pod objectMeta updated", "pod", klog.KObj(curPod), "oldObjectMeta", oldPod.ObjectMeta, "newObjectMeta", curPod.ObjectMeta)
    		if oldPod.Status.Phase != curPod.Status.Phase {
    			logger.V(4).Info("StatefulSet Pod phase changed", "pod", klog.KObj(curPod), "statefulSet", klog.KObj(set), "podPhase", curPod.Status.Phase)
    		}
    		ssc.enqueueStatefulSet(set)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_node_status.go

    			klog.ErrorS(err, "Unable to construct v1.Node object for kubelet")
    			continue
    		}
    
    		klog.InfoS("Attempting to register node", "node", klog.KObj(node))
    		registered := kl.tryRegisterWithAPIServer(node)
    		if registered {
    			klog.InfoS("Successfully registered node", "node", klog.KObj(node))
    			kl.registrationCompleted = true
    			return
    		}
    	}
    }
    
    // tryRegisterWithAPIServer makes an attempt to register the given node with
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/volume_manager.go

    			err)
    	}
    
    	klog.V(3).InfoS("All volumes are attached and mounted for pod", "pod", klog.KObj(pod))
    	return nil
    }
    
    func (vm *volumeManager) WaitForUnmount(ctx context.Context, pod *v1.Pod) error {
    	if pod == nil {
    		return nil
    	}
    
    	klog.V(3).InfoS("Waiting for volumes to unmount for pod", "pod", klog.KObj(pod))
    	uniquePodName := util.GetUniquePodName(pod)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. pkg/kubelet/container/helpers.go

    		klog.V(4).InfoS("Already ran container, do nothing", "pod", klog.KObj(pod), "containerName", container.Name)
    		return false
    	}
    	if pod.Spec.RestartPolicy == v1.RestartPolicyOnFailure {
    		// Check the exit code.
    		if status.ExitCode == 0 {
    			klog.V(4).InfoS("Already successfully ran container, do nothing", "pod", klog.KObj(pod), "containerName", container.Name)
    			return false
    		}
    	}
    	return true
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_pod_control.go

    		claim, err := spc.objectMgr.GetClaim(set.Namespace, claimName)
    		switch {
    		case apierrors.IsNotFound(err):
    			klog.FromContext(ctx).V(4).Info("Expected claim missing, continuing to pick up in next iteration", "PVC", klog.KObj(claim))
    		case err != nil:
    			return false, fmt.Errorf("Could not retrieve claim %s for %s when checking PVC deletion policy", claimName, pod.Name)
    		default:
    			if !isClaimOwnerUpToDate(logger, claim, set, pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. pkg/kubelet/config/config.go

    		// This function only checks if there is any naming conflict.
    		name := kubecontainer.GetPodFullName(pod)
    		if names.Has(name) {
    			klog.InfoS("Pod failed validation due to duplicate pod name, ignoring", "index", i, "pod", klog.KObj(pod), "source", source)
    			recorder.Eventf(pod, v1.EventTypeWarning, events.FailedValidation, "Error validating pod %s from %s due to duplicate pod name %q, ignoring", format.Pod(pod), source, pod.Name)
    			continue
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. pkg/controller/endpointslice/endpointslice_controller.go

    	prevSvcName := prevEndpointSlice.Labels[discovery.LabelServiceName]
    	if svcName != prevSvcName {
    		logger.Info("label changed", "label", discovery.LabelServiceName, "oldService", prevSvcName, "newService", svcName, "endpointslice", klog.KObj(endpointSlice))
    		c.queueServiceForEndpointSlice(endpointSlice)
    		c.queueServiceForEndpointSlice(prevEndpointSlice)
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/types.go

    	var removed bool
    	for i := range s {
    		tmpKey, err := GetPodKey(s[i].Pod)
    		if err != nil {
    			logger.Error(err, "Cannot get pod key", "pod", klog.KObj(s[i].Pod))
    			continue
    		}
    		if k == tmpKey {
    			// delete the element
    			s[i] = s[len(s)-1]
    			s = s[:len(s)-1]
    			removed = true
    			break
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
Back to top