Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 165 for uids (0.07 sec)

  1. pkg/workloadapi/workload.proto

      // two Workloads with the following UIDs:
      // - cluster1/networking.istio.io/v1alpha3/ServiceEntry/default/external-svc/endpoint1
      // - cluster1/networking.istio.io/v1alpha3/ServiceEntry/default/external-svc/endpoint2
      //
      // For VMs and other workloads other formats are also supported; for example,
      // a single UID string: "0ae5c03d-5fb3-4eb9-9de8-2bd4b51606ba"
      string uid = 20;
      // Name represents the name for the workload.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. pkg/controller/replicaset/replica_set.go

    		if err != nil {
    			return nil, err
    		}
    		if fresh.UID != rs.UID {
    			return nil, fmt.Errorf("original %v %v/%v is gone: got uid %v, wanted %v", rsc.Kind, rs.Namespace, rs.Name, fresh.UID, rs.UID)
    		}
    		return fresh, nil
    	})
    	cm := controller.NewPodControllerRefManager(rsc.podControl, rs, selector, rsc.GroupVersionKind, canAdoptFunc)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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