Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for admitPod (0.17 sec)

  1. plugin/pkg/admission/imagepolicy/admission_test.go

    				t.Errorf("%s: failed to admit with AllowAll policy: %v", tt.test, err)
    				return
    			}
    
    			service.Deny()
    			if err := wh.Validate(context.TODO(), attr, nil); err == nil {
    				t.Errorf("%s: incorrectly admitted with DenyAll policy", tt.test)
    			}
    		})
    	}
    }
    
    type webhookCacheTestCase struct {
    	statusCode         int
    	expectedErr        bool
    	expectedAuthorized bool
    	expectedCached     bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      //
      // IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation
      // if the object being admitted is modified by other admission plugins after the initial webhook call.
      // Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted.
      // Note:
      // * the number of additional invocations is not guaranteed to be exactly one.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. pkg/kubelet/metrics/metrics.go

    	MirrorPodCount = metrics.NewGauge(
    		&metrics.GaugeOpts{
    			Subsystem:      KubeletSubsystem,
    			Name:           MirrorPodCountKey,
    			Help:           "The number of mirror pods the kubelet will try to create (one per admitted static pod)",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    	// WorkingPodCount tracks the count of pods in each lifecycle phase, whether they are static pods, and whether they are desired, orphaned, or runtime_only
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/types.go

    	// WildCard is a special GVK to match all resources.
    	// e.g., If you register `{Resource: "*", ActionType: All}` in EventsToRegister,
    	// all coming clusterEvents will be admitted. Be careful to register it, it will
    	// increase the computing pressure in requeueing unless you really need it.
    	//
    	// Meanwhile, if the coming clusterEvent is a wildcard one, all pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/memorymanager/policy_static.go

    	resources := container.Resources.Requests
    	// In-place pod resize feature makes Container.Resources field mutable for CPU & memory.
    	// AllocatedResources holds the value of Container.Resources.Requests when the pod was admitted.
    	// We should return this value because this is what kubelet agreed to allocate for the container
    	// and the value configured with runtime.
    	if utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 12 07:34:55 UTC 2023
    - 34K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/devicemanager/manager.go

    		needed = needed - devices.Len()
    		// A pod's resource is not expected to change once admitted by the API server,
    		// so just fail loudly here. We can revisit this part if this no longer holds.
    		if needed != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods.go

    	for i := range podInfos {
    		if podInfos[i].IsDir() {
    			pods = append(pods, types.UID(podInfos[i].Name()))
    		}
    	}
    	return pods, nil
    }
    
    // GetActivePods returns pods that have been admitted to the kubelet that
    // are not fully terminated. This is mapped to the "desired state" of the
    // kubelet - what pods should be running.
    //
    // WARNING: Currently this list does not include pods that have been force
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/scheduling_queue.go

    	p.lock.Unlock()
    }
    
    // isPodResourcesResizedDown returns true if a pod CPU and/or memory resize request has been
    // admitted by kubelet, is 'InProgress', and results in a net sizing down of updated resources.
    // It returns false if either CPU or memory resource is net resized up, or if no resize is in progress.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/conversion.go

    type parentInfo struct {
    	// InternalName refers to the internal name we can reference it by. For example, "mesh" or "my-ns/my-gateway"
    	InternalName string
    	// AllowedKinds indicates which kinds can be admitted by this parent
    	AllowedKinds []k8s.RouteGroupKind
    	// Hostnames is the hostnames that must be match to reference to the parent. For gateway this is listener hostname
    	// Format is ns/hostname
    	Hostnames []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_test.go

    			podStatus:   v1.PodPending,
    		},
    		{
    			// Expect no patching to happen, label B should be preserved and can be used for nodeAffinity.
    			name:        "new node label, correct pod selector, admitted",
    			nodeLabels:  map[string]string{v1.LabelOSStable: goruntime.GOOS, v1.LabelArchStable: goruntime.GOARCH, "key": "B"},
    			podSelector: map[string]string{"key": "B"},
    			podStatus:   v1.PodPending,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top