Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    						},
    						PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{
    							ClaimName: pvc,
    						},
    					},
    				},
    			},
    			Containers: containers,
    		},
    		Status: v1.PodStatus{
    			Phase: v1.PodPhase("Running"),
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceregistry_test.go

    		},
    	}
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        "pod",
    			Namespace:   namespace,
    			Labels:      labels,
    			Annotations: map[string]string{},
    		},
    		Status: v1.PodStatus{
    			PodIP: "1.2.3.4",
    			Phase: v1.PodPending,
    		},
    	}
    	workloadEntry := config.Config{
    		Meta: config.Meta{
    			Name:             "workload",
    			Namespace:        namespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  3. 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)
  4. pkg/controller/endpoint/endpoints_controller_test.go

    			Labels:          map[string]string{"foo": "bar"},
    			ResourceVersion: fmt.Sprint(id),
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{{Ports: []v1.ContainerPort{}}},
    		},
    		Status: v1.PodStatus{
    			Conditions: []v1.PodCondition{
    				{
    					Type:   v1.PodReady,
    					Status: v1.ConditionTrue,
    				},
    			},
    		},
    	}
    	if !isReady {
    		p.Status.Conditions[0].Status = v1.ConditionFalse
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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