Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 119 for pidStatus (0.19 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container.go

    // targeting. The target is stored as EphemeralContainer.TargetContainerName, which must be
    // resolved to a ContainerID using podStatus. The target container must already exist, which
    // usually isn't a problem since ephemeral containers aren't allowed at pod creation time.
    func (s *startSpec) getTargetID(podStatus *kubecontainer.PodStatus) (*kubecontainer.ContainerID, error) {
    	if s.ephemeralContainer == nil || s.ephemeralContainer.TargetContainerName == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/strategy_test.go

    			expectMatch:   false,
    		},
    		{
    			in: &api.Pod{
    				Status: api.PodStatus{Phase: api.PodRunning},
    			},
    			fieldSelector: fields.ParseSelectorOrDie("status.phase=Running"),
    			expectMatch:   true,
    		},
    		{
    			in: &api.Pod{
    				Status: api.PodStatus{Phase: api.PodRunning},
    			},
    			fieldSelector: fields.ParseSelectorOrDie("status.phase=Pending"),
    			expectMatch:   false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.pb.go

    }
    
    var xxx_messageInfo_PodSpec proto.InternalMessageInfo
    
    func (m *PodStatus) Reset()      { *m = PodStatus{} }
    func (*PodStatus) ProtoMessage() {}
    func (*PodStatus) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c0604dbfc428ecfb, []int{4}
    }
    func (m *PodStatus) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *PodStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods.go

    }
    
    // convertStatusToAPIStatus initialize an api PodStatus for the given pod from
    // the given internal pod status and the previous state of the pod from the API.
    // It is purely transformative and does not alter the kubelet state at all.
    func (kl *Kubelet) convertStatusToAPIStatus(pod *v1.Pod, podStatus *kubecontainer.PodStatus, oldPodStatus v1.PodStatus) *v1.PodStatus {
    	var apiPodStatus v1.PodStatus
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  5. pkg/kube/krt/join_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "svc",
    			Namespace: "namespace",
    		},
    		Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foo"}},
    	}
    	sc.Create(svc)
    
    	pod.Status = corev1.PodStatus{PodIP: "1.2.3.4"}
    	pc.UpdateStatus(pod)
    
    	assert.EventuallyEqual(t, fetch, []SimpleEndpoint{
    		{pod.Name, svc.Name, pod.Namespace, "1.2.3.4"},
    		{"name-static", svc.Name, pod.Namespace, "9.9.9.9"},
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/storage/storage_test.go

    	}{
    		{
    			pod: api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    				Status:     api.PodStatus{PodIPs: []api.PodIP{{IP: expectedIP}}},
    			},
    			query:    "foo",
    			location: expectedIP,
    		},
    		{
    			pod: api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    				Status:     api.PodStatus{PodIPs: []api.PodIP{{IP: expectedIP}}},
    			},
    			query:    "foo:12345",
    			location: expectedIP + ":12345",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 07:18:44 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  7. pkg/api/pod/util_test.go

    	podWithHostIPs := func() *api.PodStatus {
    		return &api.PodStatus{
    			HostIPs: makeHostIPs("10.0.0.1", "fd00:10::1"),
    		}
    	}
    
    	podWithoutHostIPs := func() *api.PodStatus {
    		return &api.PodStatus{
    			HostIPs: nil,
    		}
    	}
    
    	tests := []struct {
    		name          string
    		podStatus     *api.PodStatus
    		oldPodStatus  *api.PodStatus
    		wantPodStatus *api.PodStatus
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/cni-watcher_test.go

    	defer cancel()
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod-bingo",
    			Namespace: "funkyns",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: fakePodIP,
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	// We are expecting at most 1 calls to the mock, wait for them
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe_test.go

    										Name:          "http",
    										ContainerPort: 9080,
    									},
    								},
    							},
    							{
    								Name: "istio-proxy",
    							},
    						},
    					},
    					Status: corev1.PodStatus{
    						Phase: corev1.PodRunning,
    						ContainerStatuses: []corev1.ContainerStatus{
    							{
    								Name:  "istio-proxy",
    								Ready: true,
    							},
    						},
    					},
    				},
    				&corev1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net_test.go

    		},
    	}
    
    	containers := []corev1.Container{app1}
    
    	var podStatus corev1.PodStatus
    	if v6IP {
    		podStatus = corev1.PodStatus{
    			PodIP:  "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164",
    			PodIPs: []corev1.PodIP{{IP: "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164"}, {IP: "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3165"}},
    		}
    	} else {
    		podStatus = corev1.PodStatus{
    			PodIP:  "2.2.2.2",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top