Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for podschedulingcontexts (0.46 sec)

  1. api/discovery/apis__resource.k8s.io__v1alpha2.json

    {
      "apiVersion": "v1",
      "groupVersion": "resource.k8s.io/v1alpha2",
      "kind": "APIResourceList",
      "resources": [
        {
          "kind": "PodSchedulingContext",
          "name": "podschedulingcontexts",
          "namespaced": true,
          "singularName": "podschedulingcontext",
          "storageVersionHash": "qtdNX2rnDEA=",
          "verbs": [
            "create",
            "delete",
            "deletecollection",
            "get",
            "list",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. pkg/registry/resource/podschedulingcontext/storage/storage.go

    		NewListFunc:               func() runtime.Object { return &resource.PodSchedulingContextList{} },
    		PredicateFunc:             podschedulingcontext.Match,
    		DefaultQualifiedResource:  resource.Resource("podschedulingcontexts"),
    		SingularQualifiedResource: resource.Resource("podschedulingcontext"),
    
    		CreateStrategy:      podschedulingcontext.Strategy,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:18:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. pkg/registry/resource/rest/storage_resource.go

    		resourceClaimTemplateStorage, err := resourceclaimtemplatestore.NewREST(restOptionsGetter)
    		if err != nil {
    			return nil, err
    		}
    		storage[resource] = resourceClaimTemplateStorage
    	}
    
    	if resource := "podschedulingcontexts"; apiResourceConfigSource.ResourceEnabled(resourcev1alpha2.SchemeGroupVersion.WithResource(resource)) {
    		podSchedulingStorage, podSchedulingStatusStorage, err := podschedulingcontextsstore.NewREST(restOptionsGetter)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. pkg/registry/resource/podschedulingcontext/storage/storage_test.go

    		ResourcePrefix:          "podschedulingcontexts",
    	}
    	podSchedulingStorage, statusStorage, err := NewREST(restOptions)
    	if err != nil {
    		t.Fatalf("unexpected error from REST storage: %v", err)
    	}
    	return podSchedulingStorage, statusStorage, server
    }
    
    func validNewPodSchedulingContexts(name, ns string) *resource.PodSchedulingContext {
    	schedulingCtx := &resource.PodSchedulingContext{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. pkg/controller/resourceclaim/controller.go

    			claim.Status.Allocation == nil {
    			scheduling, err := ec.podSchedulingLister.PodSchedulingContexts(pod.Namespace).Get(pod.Name)
    			if apierrors.IsNotFound(err) {
    				return true, "need to create PodSchedulingContext for scheduled pod"
    			}
    			if err != nil {
    				// Shouldn't happen.
    				return true, fmt.Sprintf("internal error while checking for PodSchedulingContext: %v", err)
    			}
    			if scheduling.Spec.SelectedNode != pod.Spec.NodeName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. pkg/controller/resourceclaim/controller_test.go

    			Name:              pod.Spec.ResourceClaims[0].Name,
    			ResourceClaimName: &generatedTestClaim.Name,
    		})
    		return pod
    	}()
    
    	podSchedulingContext = resourcev1alpha2.PodSchedulingContext{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testPodName,
    			Namespace: testNamespace,
    			OwnerReferences: []metav1.OwnerReference{
    				{
    					APIVersion: "v1",
    					Kind:       "Pod",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 08:56:16 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    			// At a high enough log level, dump the entire object.
    			loggerV.Info("Updating PodSchedulingContext", "podSchedulingCtx", klog.KObj(schedulingCtx), "podSchedulingCtxObject", klog.Format(schedulingCtx))
    		} else {
    			logger.V(5).Info("Updating PodSchedulingContext", "podSchedulingCtx", klog.KObj(schedulingCtx))
    		}
    		_, err = clientset.ResourceV1alpha2().PodSchedulingContexts(schedulingCtx.Namespace).Update(ctx, schedulingCtx, metav1.UpdateOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    						scheduling: func(in *resourcev1alpha2.PodSchedulingContext) *resourcev1alpha2.PodSchedulingContext {
    							return st.FromPodSchedulingContexts(in).
    								SelectedNode(workerNode.Name).
    								Obj()
    						},
    					},
    				},
    			},
    		},
    		"delayed-allocation-scheduling-finish-concurrent-label-update": {
    			// Use the populated PodSchedulingContext object to select a
    			// node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    			rbacv1helpers.NewRule(ReadWrite...).Groups(resourceGroup).Resources("podschedulingcontexts").RuleOrDie(),
    			rbacv1helpers.NewRule(Read...).Groups(resourceGroup).Resources("podschedulingcontexts/status").RuleOrDie(),
    			rbacv1helpers.NewRule(ReadUpdate...).Groups(legacyGroup).Resources("pods/finalizers").RuleOrDie(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. api/discovery/aggregated_v2beta1.json

              "resources": [
                {
                  "resource": "podschedulingcontexts",
                  "responseKind": {
                    "group": "",
                    "kind": "PodSchedulingContext",
                    "version": ""
                  },
                  "scope": "Namespaced",
                  "singularResource": "podschedulingcontext",
                  "subresources": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top