Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for pidStatus (0.16 sec)

  1. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			Containers: []corev1.Container{
    				{
    					Name:  "test",
    					Image: "ununtu",
    				},
    			},
    		},
    		// The cache controller uses this as key, required by our impl.
    		Status: corev1.PodStatus{
    			Conditions: []corev1.PodCondition{
    				{
    					Type:               corev1.PodReady,
    					Status:             corev1.ConditionTrue,
    					LastTransitionTime: metav1.Now(),
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	p := s.pc.Get(name, pod.Namespace)
    	if p == nil {
    		// Apiserver doesn't allow Create to modify the pod status; in real world it's a 2 part process
    		pod.Status = corev1.PodStatus{}
    		newPod := s.pc.Create(pod)
    		if markReady {
    			setPodReady(newPod)
    		}
    		newPod.Status.PodIP = ip
    		newPod.Status.Phase = phase
    		newPod.Status.PodIPs = []corev1.PodIP{
    			{
    				IP: ip,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    	}
    }
    
    func baseNamespacedPodUpdated(podName, namespace string) *example.Pod {
    	return &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace},
    		Status:     example.PodStatus{Phase: "Running"},
    	}
    }
    
    func baseNamespacedPodAssigned(podName, namespace, nodeName string) *example.Pod {
    	return &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. pkg/controller/replicaset/replica_set_test.go

    			Name:            name,
    			Namespace:       rs.Namespace,
    			Labels:          rs.Spec.Selector.MatchLabels,
    			OwnerReferences: []metav1.OwnerReference{controllerReference},
    		},
    		Status: v1.PodStatus{Phase: status, Conditions: conditions},
    	}
    }
    
    // create count pods with the given phase for the given ReplicaSet (same selectors and namespace), and add them to the store.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/queue/scheduling_queue.go

    // effect on scheduling.
    func isPodUpdated(oldPod, newPod *v1.Pod) bool {
    	strip := func(pod *v1.Pod) *v1.Pod {
    		p := pod.DeepCopy()
    		p.ResourceVersion = ""
    		p.Generation = 0
    		p.Status = v1.PodStatus{
    			ResourceClaimStatuses: pod.Status.ResourceClaimStatuses,
    		}
    		p.ManagedFields = nil
    		p.Finalizers = nil
    		return p
    	}
    	return !reflect.DeepEqual(strip(oldPod), strip(newPod))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
Back to top