Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 201 for uids (0.06 sec)

  1. pkg/scheduler/extender.go

    	metaPod *extenderv1.MetaPod,
    	nodeInfo *framework.NodeInfo) (*v1.Pod, error) {
    	for _, p := range nodeInfo.Pods {
    		if string(p.Pod.UID) == metaPod.UID {
    			return p.Pod, nil
    		}
    	}
    	return nil, fmt.Errorf("extender: %v claims to preempt pod (UID: %v) on node: %v, but the pod is not found on that node",
    		h.extenderURL, metaPod, nodeInfo.Node().Name)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    				mount.UidMappings = cl.SecurityContext.NamespaceOptions.UsernsOptions.Uids
    				mount.GidMappings = cl.SecurityContext.NamespaceOptions.UsernsOptions.Gids
    			}
    		}
    	}
    	return nil
    }
    
    // generateLinuxContainerConfig generates linux container config for kubelet runtime v1.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top