Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 568 for podIps (0.08 sec)

  1. plugin/pkg/admission/noderestriction/admission.go

    		existingPod, err := p.podsGetter.Pods(a.GetNamespace()).Get(a.GetName())
    		if apierrors.IsNotFound(err) {
    			return err
    		}
    		if err != nil {
    			return admission.NewForbidden(a, err)
    		}
    		// only allow a node to delete a pod bound to itself
    		if existingPod.Spec.NodeName != nodeName {
    			return admission.NewForbidden(a, fmt.Errorf("node %q can only delete pods with spec.nodeName set to itself", nodeName))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. cluster/gce/gci/audit_policy_test.go

    		podMetrics      = resource("podmetrics", "default", "metrics.k8s.io")
    		nodeMetrics     = resource("nodemetrics", "", "metrics.k8s.io")
    		pods            = resource("pods", "default")
    		podStatus       = resource("pods", "default", "", "status")
    		secrets         = resource("secrets", "default")
    		tokenReviews    = resource("tokenreviews", "", "authentication.k8s.io")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 9.8K bytes
    - Viewed (0)
  3. pkg/features/kube_features.go

    	// beta: v1.29
    	//
    	// Allow users to specify recreating pods of a job only when
    	// pods have fully terminated.
    	JobPodReplacementPolicy featuregate.Feature = "JobPodReplacementPolicy"
    
    	// owner: @tenzen-y
    	// kep: https://kep.k8s.io/3998
    	// alpha: v1.30
    	//
    	// Allow users to specify when a Job can be declared as succeeded
    	// based on the set of succeeded pods.
    	JobSuccessPolicy featuregate.Feature = "JobSuccessPolicy"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go

    	Resource string
    	// Subresource is the name of the subresource being requested.  This is a different resource, scoped to the parent resource, but it may have a different kind.
    	// For instance, /pods has the resource "pods" and the kind "Pod", while /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 13:24:29 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/manager.go

    // ActivePodsFunc is a function that returns a list of pods to reconcile.
    type ActivePodsFunc func() []*v1.Pod
    
    // ManagerImpl is the structure in charge of managing Device Plugins.
    type ManagerImpl struct {
    	checkpointdir string
    
    	endpoints map[string]endpointInfo // Key is ResourceName
    	mutex     sync.Mutex
    
    	server plugin.Server
    
    	// activePods is a method for listing active pods on the node
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission_test.go

    	pod := newPod(namespace)
    	err = handler.Admit(context.TODO(), admission.NewAttributesRecord(&pod, nil, v1.SchemeGroupVersion.WithKind("Pod").GroupKind().WithVersion("version"), pod.Namespace, pod.Name, v1.Resource("pods").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, nil), nil)
    	if err == nil {
    		actions := ""
    		for _, action := range mockClient.Actions() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. pkg/kube/krt/README.md

    ```go
    Endpoints := krt.NewManyCollection[Endpoint](func(ctx krt.HandlerContext, svc *v1.Service) (res []Endpoint) {
        for _, c := range krt.Fetch(ctx, Pods, krt.FilterLabel(svc.Spec.Selector)) {
          res = append(res, Endpoint{Service: svc.Name, Pod: pod.Name, IP: pod.status.PodIP})
        }
        return res
    }) // Results in a Collection[Endpoint]
    ```
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 18 17:21:50 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. security/pkg/server/ca/server_test.go

    			server, _ := New(c.ca, time.Duration(1), c.authenticators, multiClusterController)
    
    			var pods []runtime.Object
    			for _, p := range c.pods {
    				pods = append(pods, toPod(p, strings.HasPrefix(p.name, "ztunnel")))
    			}
    			client := kube.NewFakeClient(pods...)
    			stop := test.NewStop(t)
    			multiClusterController.Add("fake", client, stop)
    			client.RunAndWait(stop)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/storage/v1/generated.proto

    // in future we may allow also inline volumes in pods.
    // Exactly one member can be set.
    message VolumeAttachmentSource {
      // persistentVolumeName represents the name of the persistent volume to attach.
      // +optional
      optional string persistentVolumeName = 1;
    
      // inlineVolumeSpec contains all the information necessary to attach
      // a persistent volume defined by a pod's inline VolumeSource. This field
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/storage/v1beta1/generated.proto

    // in future we may allow also inline volumes in pods.
    // Exactly one member can be set.
    message VolumeAttachmentSource {
      // persistentVolumeName represents the name of the persistent volume to attach.
      // +optional
      optional string persistentVolumeName = 1;
    
      // inlineVolumeSpec contains all the information necessary to attach
      // a persistent volume defined by a pod's inline VolumeSource. This field
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top