Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 139 for pidStatus (0.34 sec)

  1. pkg/quota/v1/evaluator/core/pods_test.go

    							Limits:   api.ResourceList{api.ResourceName("example.com/dongle"): resource.MustParse("3")},
    						},
    					}},
    				},
    				Status: api.PodStatus{
    					Phase: api.PodSucceeded,
    				},
    			},
    			usage: corev1.ResourceList{
    				generic.ObjectCountQuotaResourceNameFor(schema.GroupResource{Resource: "pods"}): resource.MustParse("1"),
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. pkg/controller/controller_utils_test.go

    					Status:     v1.PodStatus{Phase: v1.PodUnknown},
    				},
    				{
    					ObjectMeta: metav1.ObjectMeta{Name: "runningButNotReady"},
    					Spec:       v1.PodSpec{NodeName: "foo"},
    					Status:     v1.PodStatus{Phase: v1.PodRunning},
    				},
    				{
    					ObjectMeta: metav1.ObjectMeta{Name: "runningNoLastTransitionTime"},
    					Spec:       v1.PodSpec{NodeName: "foo"},
    					Status: v1.PodStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. pilot/pkg/controllers/untaint/nodeuntainter_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 = corev1.PodRunning
    		newPod.Status.PodIPs = []corev1.PodIP{
    			{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator_test.go

    				{
    					Name: "dswp-test-volume-name",
    					VolumeSource: v1.VolumeSource{
    						RBD: &v1.RBDVolumeSource{
    							RBDImage: "dswp-test-fake-device",
    						},
    					},
    				},
    			},
    		},
    		Status: v1.PodStatus{
    			Phase: v1.PodPhase("Running"),
    		},
    	}
    
    	fakePodInformer.Informer().GetStore().Add(pod)
    
    	podName := util.GetUniquePodName(pod)
    
    	generatedVolumeName := "fake-plugin/" + pod.Spec.Volumes[0].RBD.RBDImage
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/prober.go

    		return
    	}
    	pb.recorder.Eventf(ref, eventType, reason, message, args...)
    }
    
    // probe probes the container.
    func (pb *prober) probe(ctx context.Context, probeType probeType, pod *v1.Pod, status v1.PodStatus, container v1.Container, containerID kubecontainer.ContainerID) (results.Result, error) {
    	var probeSpec *v1.Probe
    	switch probeType {
    	case readiness:
    		probeSpec = container.ReadinessProbe
    	case liveness:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:50:13 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    			// Test name, num of containers, restarts, container ready status
    			api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "test1"},
    				Spec:       api.PodSpec{Containers: make([]api.Container, 2)},
    				Status: api.PodStatus{
    					Phase: "podPhase",
    					ContainerStatuses: []api.ContainerStatus{
    						{Ready: true, RestartCount: 3, State: api.ContainerState{Running: &api.ContainerStateRunning{}}},
    						{RestartCount: 3},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    	}
    
    	fakeRunner := &containertest.FakeContainerCommandRunner{}
    	fakeHTTP := &fakeHTTP{}
    	fakePodStatusProvider := podStatusProviderFunc(func(uid types.UID, name, namespace string) (*kubecontainer.PodStatus, error) {
    		return &kubecontainer.PodStatus{
    			ID:        uid,
    			Name:      name,
    			Namespace: namespace,
    			IPs: []string{
    				"127.0.0.1",
    			},
    		}, nil
    	})
    
    	lcHanlder := lifecycle.NewHandlerRunner(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/example/v1/types.go

    	// +optional
    	Status PodStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
    }
    
    // PodStatus represents information about the status of a pod. Status may trail the actual
    // state of a system.
    type PodStatus struct {
    	// Current condition of the pod.
    	// More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/pod.go

    func IsPodReadyConditionTrue(status v1.PodStatus) bool {
    	condition := GetPodReadyCondition(status)
    	return condition != nil && condition.Status == v1.ConditionTrue
    }
    
    func GetPodReadyCondition(status v1.PodStatus) *v1.PodCondition {
    	_, condition := GetPodCondition(&status, v1.PodReady)
    	return condition
    }
    
    func GetPodCondition(status *v1.PodStatus, conditionType v1.PodConditionType) (int, *v1.PodCondition) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/conversion.go

    	out.Annotations = dropInitContainerAnnotations(out.Annotations)
    
    	return nil
    }
    
    func Convert_v1_PodStatus_To_core_PodStatus(in *v1.PodStatus, out *core.PodStatus, s conversion.Scope) error {
    	if err := autoConvert_v1_PodStatus_To_core_PodStatus(in, out, s); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:30:55 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top