Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 119 for pidStatus (0.14 sec)

  1. pilot/pkg/xds/workload_test.go

    			},
    			Labels: map[string]string{
    				"app": sa,
    			},
    		},
    		Spec: corev1.PodSpec{
    			ServiceAccountName: sa,
    			NodeName:           node,
    		},
    		Status: corev1.PodStatus{
    			PodIP: ip,
    			PodIPs: []corev1.PodIP{
    				{
    					IP: ip,
    				},
    			},
    			Phase: corev1.PodRunning,
    			Conditions: []corev1.PodCondition{
    				{
    					Type:               corev1.PodReady,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. pkg/kubelet/config/config_test.go

    		pods := []*v1.Pod{
    			CreateValidPod("changeable-pod-0", "new"),
    			CreateValidPod("constant-pod-1", "new"),
    			CreateValidPod("constant-pod-2", "new"),
    		}
    		if touchStatus {
    			pods[0].Status = v1.PodStatus{Message: strconv.Itoa(rand.Int())}
    		}
    		if touchSpec {
    			pods[0].Spec.Containers[0].Name = strconv.Itoa(rand.Int())
    		}
    		return pods, pods[0]
    	}
    	for _, op := range []kubetypes.PodOperation{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. pkg/apis/core/fuzzer/fuzzer.go

    				s.SchedulerName = v1.DefaultSchedulerName
    			}
    			if s.EnableServiceLinks == nil {
    				enableServiceLinks := v1.DefaultEnableServiceLinks
    				s.EnableServiceLinks = &enableServiceLinks
    			}
    		},
    		func(s *core.PodStatus, c fuzz.Continue) {
    			c.Fuzz(&s)
    			s.HostIPs = []core.HostIP{{IP: s.HostIP}}
    		},
    		func(j *core.PodPhase, c fuzz.Continue) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. pkg/api/testing/unstructured_test.go

    		// because in this test we are simply doing json operations, in which
    		// those disappear.
    		Funcs(
    			func(s *api.PodSpec, c fuzz.Continue) {
    				c.FuzzNoCustom(s)
    				s.InitContainers = nil
    			},
    			func(s *api.PodStatus, c fuzz.Continue) {
    				c.FuzzNoCustom(s)
    				s.InitContainerStatuses = nil
    			},
    		).Fuzz(internalObj)
    
    	item, err := legacyscheme.Scheme.New(externalVersion.WithKind(kind))
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. pkg/controller/resourceclaim/controller.go

    			statuses = append(statuses, corev1apply.PodResourceClaimStatus().WithName(podClaimName).WithResourceClaimName(resourceClaimName))
    		}
    		podApply := corev1apply.Pod(name, namespace).WithStatus(corev1apply.PodStatus().WithResourceClaimStatuses(statuses...))
    		if _, err := ec.kubeClient.CoreV1().Pods(namespace).ApplyStatus(ctx, podApply, metav1.ApplyOptions{FieldManager: fieldManager, Force: true}); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/eviction_manager.go

    	klog.V(3).InfoS("Evicting pod", "pod", klog.KObj(pod), "podUID", pod.UID, "message", evictMsg)
    	err := m.killPodFunc(pod, true, &gracePeriodOverride, func(status *v1.PodStatus) {
    		status.Phase = v1.PodFailed
    		status.Reason = Reason
    		status.Message = evictMsg
    		if condition != nil {
    			podutil.UpdatePodCondition(status, condition)
    		}
    	})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top