Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 257 for uids (0.07 sec)

  1. cni/pkg/nodeagent/net.go

    func (s *NetServer) buildZtunnelSnapshot(ambientPodUIDs map[types.UID]*corev1.Pod) error {
    	// first add all the pods as empty:
    	for uid := range ambientPodUIDs {
    		s.currentPodSnapshot.Ensure(string(uid))
    	}
    
    	// populate full pod snapshot from cgroups
    	return s.scanProcForPodsAndCache(ambientPodUIDs)
    }
    
    func (s *NetServer) scanProcForPodsAndCache(pods map[types.UID]*corev1.Pod) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    						Succeeded: func() []types.UID {
    							uids := make([]types.UID, 499)
    							for i := range uids {
    								uids[i] = types.UID(strconv.Itoa(i))
    							}
    							return uids
    						}(),
    						Failed: []types.UID{"b"},
    					},
    					Failed: 1,
    				},
    				{
    					UncountedTerminatedPods: &batch.UncountedTerminatedPods{
    						Failed: []types.UID{"b"},
    					},
    					Succeeded: 499,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    // sharing the same UID but different fields. Nor do we know what might break.
    // In the future we may just dedup/reject owner references with the same UID.
    func dedupOwnerReferences(refs []metav1.OwnerReference) ([]metav1.OwnerReference, []string) {
    	var result []metav1.OwnerReference
    	var duplicates []string
    	seen := make(map[types.UID]struct{})
    	for _, ref := range refs {
    		_, ok := seen[ref.UID]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go

    	"uid":                        "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 49.2K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/policy/v1beta1/generated.proto

    message RunAsUserStrategyOptions {
      // rule is the strategy that will dictate the allowable RunAsUser values that may be set.
      optional string rule = 1;
    
      // ranges are the allowed ranges of uids that may be used. If you would like to force a single uid
      // then supply a single range with the same start and end. Required for MustRunAs.
      // +optional
      repeated IDRange ranges = 2;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. pkg/kubelet/util/manager/cache_based_manager_test.go

    }
    
    func podWithSecretsAndUID(ns, podName, podUID string, toAttach secretsToAttach) *v1.Pod {
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Namespace: ns,
    			Name:      podName,
    			UID:       types.UID(podUID),
    		},
    		Spec: v1.PodSpec{},
    	}
    	for _, name := range toAttach.imagePullSecretNames {
    		pod.Spec.ImagePullSecrets = append(
    			pod.Spec.ImagePullSecrets, v1.LocalObjectReference{Name: name})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. pkg/scheduler/eventhandlers_test.go

    			if tt.oldObj.(*v1.Pod).UID != tt.newObj.(*v1.Pod).UID {
    				if pod, err := sched.Cache.GetPod(tt.oldObj.(*v1.Pod)); err == nil {
    					t.Errorf("Get pod UID %v from cache but it should not happen", pod.UID)
    				}
    			}
    			pod, err := sched.Cache.GetPod(tt.newObj.(*v1.Pod))
    			if err != nil {
    				t.Errorf("Failed to get pod from scheduler: %v", err)
    			}
    			if pod.UID != tt.newObj.(*v1.Pod).UID {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 10 14:38:54 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    // Make sure there are no two workloads in the index with similar UIDs
    func (s *ambientTestServer) assertUniqueWorkloads(t *testing.T) {
    	t.Helper()
    	uids := sets.New[string]()
    	workloads := s.lookup("")
    	for _, wl := range workloads {
    		if wl.GetWorkload() != nil && uids.InsertContains(wl.GetWorkload().GetUid()) {
    			t.Fatal("Index has workloads with the same UID")
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // Name of the referent.
      // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
      optional string name = 3;
    
      // UID of the referent.
      // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
      optional string uid = 4;
    
      // If true, this reference points to the managing controller.
      // +optional
      optional bool controller = 6;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // Name of the referent.
      // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
      optional string name = 3;
    
      // UID of the referent.
      // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
      optional string uid = 4;
    
      // If true, this reference points to the managing controller.
      // +optional
      optional bool controller = 6;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 53.7K bytes
    - Viewed (0)
Back to top