Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for podIps (0.36 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	// instead of trying to figure out if we have 0 < len(podIPs)
    	// everytime, we short circuit it here
    	podIP := ""
    	if len(podIPs) != 0 {
    		podIP = podIPs[0]
    	}
    
    	// Get podSandboxConfig for containers to start.
    	configPodSandboxResult := kubecontainer.NewSyncResult(kubecontainer.ConfigPodSandbox, podSandboxID)
    	result.AddSyncResult(configPodSandboxResult)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller_test.go

    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{{
    				Name: "container-1",
    			}},
    			NodeName: "node-1",
    		},
    		Status: v1.PodStatus{
    			PodIP: fmt.Sprintf("1.2.3.%d", 4+n),
    			PodIPs: []v1.PodIP{{
    				IP: fmt.Sprintf("1.2.3.%d", 4+n),
    			}},
    			Conditions: []v1.PodCondition{
    				{
    					Type:   v1.PodReady,
    					Status: status,
    				},
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  3. pkg/registry/core/pod/strategy_test.go

    		},
    		{
    			in: &api.Pod{
    				Status: api.PodStatus{
    					PodIPs: []api.PodIP{
    						{IP: "1.2.3.4"},
    					},
    				},
    			},
    			fieldSelector: fields.ParseSelectorOrDie("status.podIP=1.2.3.4"),
    			expectMatch:   true,
    		},
    		{
    			in: &api.Pod{
    				Status: api.PodStatus{
    					PodIPs: []api.PodIP{
    						{IP: "1.2.3.4"},
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  4. pkg/controller/endpoint/endpoints_controller_test.go

    		var ip string
    		if family == v1.IPv4Protocol {
    			ip = fmt.Sprintf("1.2.3.%d", 4+id)
    		} else {
    			ip = fmt.Sprintf("2000::%d", 4+id)
    		}
    		p.Status.PodIPs = append(p.Status.PodIPs, v1.PodIP{IP: ip})
    	}
    	p.Status.PodIP = p.Status.PodIPs[0].IP
    
    	return p
    }
    
    func addPods(store cache.Store, namespace string, nPods int, nPorts int, nNotReady int, ipFamilies []v1.IPFamily) {
    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. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	opts, cleanupAction, err := m.runtimeHelper.GenerateRunContainerOptions(ctx, pod, container, podIP, podIPs)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	uid, username, err := m.getImageUser(ctx, container.Image)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.json

        "reason": "reasonValue",
        "nominatedNodeName": "nominatedNodeNameValue",
        "hostIP": "hostIPValue",
        "hostIPs": [
          {
            "ip": "ipValue"
          }
        ],
        "podIP": "podIPValue",
        "podIPs": [
          {
            "ip": "ipValue"
          }
        ],
        "startTime": "2007-01-01T01:01:01Z",
        "initContainerStatuses": [
          {
            "name": "nameValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 52K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Pod.json

        "reason": "reasonValue",
        "nominatedNodeName": "nominatedNodeNameValue",
        "hostIP": "hostIPValue",
        "hostIPs": [
          {
            "ip": "ipValue"
          }
        ],
        "podIP": "podIPValue",
        "podIPs": [
          {
            "ip": "ipValue"
          }
        ],
        "startTime": "2007-01-01T01:01:01Z",
        "initContainerStatuses": [
          {
            "name": "nameValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json

        "reason": "reasonValue",
        "nominatedNodeName": "nominatedNodeNameValue",
        "hostIP": "hostIPValue",
        "hostIPs": [
          {
            "ip": "ipValue"
          }
        ],
        "podIP": "podIPValue",
        "podIPs": [
          {
            "ip": "ipValue"
          }
        ],
        "startTime": "2007-01-01T01:01:01Z",
        "initContainerStatuses": [
          {
            "name": "nameValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    		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,
    			},
    		}
    		s.pc.UpdateStatus(newPod)
    	} else {
    		s.pc.Update(pod)
    	}
    }
    
    // just overwrites the labels
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/serviceregistry_test.go

    	// events - since PodIP will be "".
    	newPod.Status.PodIP = pod.Status.PodIP
    	newPod.Status.PodIPs = []v1.PodIP{
    		{
    			IP: pod.Status.PodIP,
    		},
    	}
    	newPod.Status.Phase = v1.PodRunning
    
    	// Also need to sets the pod to be ready as now we only add pod into service entry endpoint when it's ready
    	setPodReady(newPod)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top