Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for podIps (0.12 sec)

  1. 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)
  2. 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)
  3. pkg/kubelet/pod_workers_test.go

    		t.Fatalf("unexpected started static pods: %s", cmp.Diff(e, a))
    	}
    	if e, a := map[string][]types.UID{}, podWorkers.waitingToStartStaticPodsByFullname; !reflect.DeepEqual(e, a) {
    		t.Fatalf("unexpected waiting static pods: %s", cmp.Diff(e, a))
    	}
    
    	// initiate a sync with all pods remaining
    	state := podWorkers.SyncKnownPods([]*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/queue/scheduling_queue.go

    }
    
    // NominatedPodsForNode returns a copy of pods that are nominated to run on the given node,
    // but they are waiting for other pods to be removed from the node.
    func (npm *nominator) NominatedPodsForNode(nodeName string) []*framework.PodInfo {
    	npm.lock.RLock()
    	defer npm.lock.RUnlock()
    	// Make a copy of the nominated Pods so the caller can mutate safely.
    	pods := make([]*framework.PodInfo, len(npm.nominatedPods[nodeName]))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	"k8s.io/utils/pointer"
    )
    
    func newTestCacherWithoutSyncing(s storage.Interface) (*Cacher, storage.Versioner, error) {
    	prefix := "pods"
    	config := Config{
    		Storage:        s,
    		Versioner:      storage.APIObjectVersioner{},
    		GroupResource:  schema.GroupResource{Resource: "pods"},
    		ResourcePrefix: prefix,
    		KeyFunc:        func(obj runtime.Object) (string, error) { return storage.NamespaceKeyFunc(prefix, obj) },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    			Labels: config.Labels,
    		},
    	}
    	// assign additional IPs
    	additionalIPs := apitest.FakePodSandboxIPs[1:]
    	additionalPodIPs := make([]*runtimeapi.PodIP, 0, len(additionalIPs))
    	for _, ip := range additionalIPs {
    		additionalPodIPs = append(additionalPodIPs, &runtimeapi.PodIP{
    			Ip: ip,
    		})
    	}
    	podSandBoxStatus.Network.AdditionalIps = additionalPodIPs
    	return podSandBoxStatus
    
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_utils_test.go

    	}
    }
    
    func TestAscendingOrdinal(t *testing.T) {
    	set := newStatefulSet(10)
    	pods := make([]*v1.Pod, 10)
    	perm := rand.Perm(10)
    	for i, v := range perm {
    		pods[i] = newStatefulSetPod(set, v)
    	}
    	sort.Sort(ascendingOrdinal(pods))
    	if !sort.IsSorted(ascendingOrdinal(pods)) {
    		t.Error("ascendingOrdinal fails to sort Pods")
    	}
    }
    
    func TestOverlappingStatefulSets(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  8. tests/integration/ambient/baseline_test.go

    func TestWaypointChanges(t *testing.T) {
    	framework.NewTest(t).Run(func(t framework.TestContext) {
    		getGracePeriod := func(want int64) bool {
    			pods, err := kubetest.NewPodFetch(t.AllClusters()[0], apps.Namespace.Name(), constants.GatewayNameLabel+"=waypoint")()
    			assert.NoError(t, err)
    			for _, p := range pods {
    				grace := p.Spec.TerminationGracePeriodSeconds
    				if grace != nil && *grace == want {
    					return true
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  9. cluster/gce/windows/k8s-node-setup.psm1

    #  - Document functions using proper syntax:
    #    https://technet.microsoft.com/en-us/library/hh847834(v=wps.620).aspx
    
    $GCE_METADATA_SERVER = "169.254.169.254"
    # The "management" interface is used by the kubelet and by Windows pods to talk
    # to the rest of the Kubernetes cluster *without NAT*. This interface does not
    # exist until an initial HNS network has been created on the Windows node - see
    # Add_InitialHnsNetwork().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/init.go

    						return path.Dir(com), nil
    					}
    				}
    			}
    		}
    	}
    
    	// Look for Godeps.json declaring import path.
    	data, _ := os.ReadFile(filepath.Join(dir, "Godeps/Godeps.json"))
    	var cfg1 struct{ ImportPath string }
    	json.Unmarshal(data, &cfg1)
    	if cfg1.ImportPath != "" {
    		return cfg1.ImportPath, nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
Back to top