Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for admitPV (0.15 sec)

  1. pkg/kubelet/cm/topologymanager/topology_manager.go

    	return m.scope.RemoveContainer(containerID)
    }
    
    func (m *manager) Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAdmitResult {
    	klog.InfoS("Topology Admit Handler", "podUID", attrs.Pod.UID, "podNamespace", attrs.Pod.Namespace, "podName", attrs.Pod.Name)
    	metrics.TopologyManagerAdmissionRequestsTotal.Inc()
    
    	startTime := time.Now()
    	podAdmitResult := m.scope.Admit(attrs.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 12:43:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    			scope.Resource,
    			scope.Subresource,
    			admission.Update,
    			patchToUpdateOptions(options),
    			dryrun.IsDryRun(options.DryRun),
    			userInfo,
    		)
    
    		admit = fieldmanager.NewManagedFieldsValidatingAdmissionController(admit)
    
    		mutatingAdmission, _ := admit.(admission.MutationInterface)
    		createAuthorizerAttributes := authorizer.AttributesRecord{
    			User:            userInfo,
    			ResourceRequest: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	// GetValidatingWebhook if the accessor contains a ValidatingWebhook, returns it and true, else returns false.
    	GetValidatingWebhook() (*v1.ValidatingWebhook, bool)
    
    	// GetType returns the type of the accessor (validate or admit)
    	GetType() string
    }
    
    // NewMutatingWebhookAccessor creates an accessor for a MutatingWebhook.
    func NewMutatingWebhookAccessor(uid, configurationName string, h *v1.MutatingWebhook) WebhookAccessor {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. pkg/kubeapiserver/admission/initializer_test.go

    limitations under the License.
    */
    
    package admission
    
    import (
    	"context"
    	"testing"
    
    	"k8s.io/apiserver/pkg/admission"
    )
    
    type doNothingAdmission struct{}
    
    func (doNothingAdmission) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	return nil
    }
    func (doNothingAdmission) Handles(o admission.Operation) bool { return false }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. pkg/controlplane/apiserver/admission/initializer_test.go

    	"context"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apiserver/pkg/admission"
    	quota "k8s.io/apiserver/pkg/quota/v1"
    )
    
    type doNothingAdmission struct{}
    
    func (doNothingAdmission) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	return nil
    }
    func (doNothingAdmission) Handles(o admission.Operation) bool { return false }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. pkg/kubelet/preemption/preemption.go

    	"k8s.io/kubernetes/pkg/kubelet/eviction"
    	"k8s.io/kubernetes/pkg/kubelet/lifecycle"
    	"k8s.io/kubernetes/pkg/kubelet/metrics"
    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    )
    
    const message = "Preempted in order to admit critical pod"
    
    // CriticalPodAdmissionHandler is an AdmissionFailureHandler that handles admission failure for Critical Pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 16:53:19 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. src/runtime/pprof/label.go

    		return labelMap(nil)
    	}
    	return *labels
    }
    
    // labelMap is the representation of the label set held in the context type.
    // This is an initial implementation, but it will be replaced with something
    // that admits incremental immutable modification more efficiently.
    type labelMap map[string]string
    
    // String satisfies Stringer and returns key, value pairs in a consistent
    // order.
    func (l *labelMap) String() string {
    	if l == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/AbstractValueGraph.java

     * this class rather than implement {@link ValueGraph} directly.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    	)
    	return manager, manager
    }
    
    // Admit rejects all pods if node is shutting
    func (m *managerImpl) Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAdmitResult {
    	nodeShuttingDown := m.ShutdownStatus() != nil
    
    	if nodeShuttingDown {
    		return lifecycle.PodAdmitResult{
    			Admit:   false,
    			Reason:  nodeShutdownNotAdmittedReason,
    			Message: nodeShutdownNotAdmittedMessage,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/AbstractValueGraph.java

     * this class rather than implement {@link ValueGraph} directly.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top