Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 795 for podIps (0.21 sec)

  1. pkg/kube/krt/index_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "name",
    			Namespace: "namespace",
    		},
    		Status: corev1.PodStatus{PodIP: "1.2.3.4"},
    	}
    	pc.CreateOrUpdateStatus(pod)
    	tt.WaitUnordered("add/namespace/name")
    	assert.Equal(t, fetchSorted("1.2.3.4"), []SimplePod{{NewNamed(pod), Labeled{}, "1.2.3.4"}})
    
    	pod.Status.PodIP = "1.2.3.5"
    	pc.UpdateStatus(pod)
    	tt.WaitUnordered("update/namespace/name")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/example/v1/types.go

    	HostIP string `json:"hostIP,omitempty" protobuf:"bytes,5,opt,name=hostIP"`
    	// IP address allocated to the pod. Routable at least within the cluster.
    	// Empty if not yet allocated.
    	// +optional
    	PodIP string `json:"podIP,omitempty" protobuf:"bytes,6,opt,name=podIP"`
    
    	// RFC 3339 date and time at which the object was acknowledged by the Kubelet.
    	// This is before the Kubelet pulled the container image(s) for the pod.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. pkg/kube/krt/bench_test.go

    	}
    	c.pods = kclient.New[*v1.Pod](cl)
    	c.services = kclient.New[*v1.Service](cl)
    	c.queue = controllers.NewQueue("pods", controllers.WithReconciler(c.Reconcile))
    	c.pods.AddEventHandler(controllers.ObjectHandler(c.queue.AddObject))
    	c.services.AddEventHandler(controllers.FromEventHandler(func(e controllers.Event) {
    		o := e.Latest()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. pkg/kube/krt/join_test.go

    	}
    	sec.Create(se)
    	assert.EventuallyEqual(t, fetch, []SimpleEndpoint{
    		{pod.Name, se.Name, pod.Namespace, pod.Status.PodIP},
    		{pod2.Name, se.Name, pod2.Namespace, pod2.Status.PodIP},
    		{pod.Name, svc.Name, pod.Namespace, pod.Status.PodIP},
    		{pod2.Name, svc.Name, pod2.Namespace, pod2.Status.PodIP},
    	})
    }
    
    func TestCollectionJoinSync(t *testing.T) {
    	c := kube.NewFakeClient(&corev1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	}
    	fx.Clear()
    }
    
    func cleanup(ki kubernetes.Interface) {
    	for _, n := range []string{"nsa", "nsb"} {
    		n := n
    		pods, err := ki.CoreV1().Pods(n).List(context.TODO(), metav1.ListOptions{})
    		if err == nil {
    			// Make sure the pods don't exist
    			for _, pod := range pods.Items {
    				_ = ki.CoreV1().Pods(pod.Namespace).Delete(context.TODO(), pod.Name, metav1.DeleteOptions{})
    			}
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.28.md

      Burstable QoS pods. For Best-Effort/Guaranteed QoS pods, swap would be disabled.
      
      Containers with memory requests equal to their memory limits also won't have
      swap access, and it is a way to opt-out of swap for a single container.
      
      The formula for the swap limit for Burstable QoS pods is:
      `(<memory-request>/<node-memory-capacity>)*<node-swap-capacity>`.
      
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:47:59 UTC 2024
    - 408.3K bytes
    - Viewed (0)
  7. pkg/registry/core/pod/storage/eviction_test.go

    			expectError: "Cannot evict pod as it would violate the pod's disruption budget.: TooManyRequests: The disruption budget foo needs 0 healthy pods and has 0 currently",
    			podPhase:    api.PodRunning,
    			podName:     "t1",
    			policies:    []*policyv1.UnhealthyPodEvictionPolicyType{nil, unhealthyPolicyPtr(policyv1.IfHealthyBudget)}, // AlwaysAllow would terminate the pod since Running pods are not guarded by this policy
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    	require.NoError(t, err)
    	podRV, err := versioner.ParseResourceVersion(pod.ResourceVersion)
    	require.NoError(t, err)
    	require.Equal(t, currentStorageRV, podRV, "expected the global etcd RV to be equal to pod's RV")
    
    	// now create a replicaset (new resource) and make sure the target function returns global etcd RV
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. pkg/controller/job/indexed_job_utils_test.go

    			activePods := controller.FilterActivePods(logger, tc.pods)
    			failedIndexes := calculateFailedIndexes(logger, &tc.job, tc.pods)
    			_, succeededIndexes := calculateSucceededIndexes(logger, &tc.job, tc.pods)
    			jobCtx := &syncJobCtx{
    				job:                  &tc.job,
    				pods:                 tc.pods,
    				activePods:           activePods,
    				succeededIndexes:     succeededIndexes,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.proto

    }
    
    // PodList is a list of Pods.
    message PodList {
      // Standard list metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // List of pods.
      // More info: http://kubernetes.io/docs/user-guide/pods
      repeated Pod items = 2;
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top