Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for resourceslices (0.22 sec)

  1. api/discovery/aggregated_v2beta1.json

                  ]
                },
                {
                  "resource": "resourceslices",
                  "responseKind": {
                    "group": "",
                    "kind": "ResourceSlice",
                    "version": ""
                  },
                  "scope": "Cluster",
                  "singularResource": "resourceslice",
                  "verbs": [
                    "create",
                    "delete",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/resource/v1alpha2/types_swagger_doc_generated.go

    }
    
    func (ResourceSlice) SwaggerDoc() map[string]string {
    	return map_ResourceSlice
    }
    
    var map_ResourceSliceList = map[string]string{
    	"":         "ResourceSliceList is a collection of ResourceSlices.",
    	"metadata": "Standard list metadata",
    	"items":    "Items is the list of node resource capacity objects.",
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  3. pkg/apis/resource/types.go

    // ResourceSlice provides information about available
    // resources on individual nodes.
    type ResourceSlice struct {
    	metav1.TypeMeta
    	// Standard object metadata
    	metav1.ObjectMeta
    
    	// NodeName identifies the node which provides the resources
    	// if they are local to a node.
    	//
    	// A field selector can be used to list only ResourceSlice
    	// objects with a certain node name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/resource/v1alpha2/generated.proto

    }
    
    // ResourceSliceList is a collection of ResourceSlices.
    message ResourceSliceList {
      // Standard list metadata
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // Items is the list of node resource capacity objects.
      repeated ResourceSlice items = 2;
    }
    
    // StructuredResourceHandle is the in-tree representation of the allocation result.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 22:07:50 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. plugin/pkg/admission/noderestriction/admission.go

    	if a.GetOperation() == admission.Create {
    		slice, ok := a.GetObject().(*resource.ResourceSlice)
    		if !ok {
    			return admission.NewForbidden(a, fmt.Errorf("unexpected type %T", a.GetObject()))
    		}
    
    		if slice.NodeName != nodeName {
    			return admission.NewForbidden(a, errors.New("can only create ResourceSlice with the same NodeName as the requesting node"))
    		}
    	}
    
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/resource/v1alpha2/types.go

    // ResourceSliceList is a collection of ResourceSlices.
    type ResourceSliceList struct {
    	metav1.TypeMeta `json:",inline"`
    	// Standard list metadata
    	// +optional
    	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    
    	// Items is the list of node resource capacity objects.
    	Items []ResourceSlice `json:"items" protobuf:"bytes,2,rep,name=items"`
    }
    
    // +genclient
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 10:22:35 UTC 2024
    - 30K bytes
    - Viewed (0)
  7. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    			rbacv1helpers.NewRule(ReadUpdate...).Groups(legacyGroup).Resources("pods/finalizers").RuleOrDie(),
    			rbacv1helpers.NewRule(Read...).Groups(resourceGroup).Resources("resourceslices", "resourceclassparameters", "resourceclaimparameters").RuleOrDie(),
    		)
    	}
    	roles = append(roles, rbacv1.ClusterRole{
    		// a role to use for the kube-scheduler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	// assigned to such a claim. Alternatively, claim allocation state
    	// could also get tracked across pod scheduling cycles, but that
    	// - adds complexity (need to carefully sync state with informer events
    	//   for claims and ResourceSlices)
    	// - would make integration with cluster autoscaler harder because it would need
    	//   to trigger informer callbacks.
    	//
    	// When implementing cluster autoscaler support, this assume cache or
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  9. plugin/pkg/admission/noderestriction/admission_test.go

    	apiResource := resourceapi.SchemeGroupVersion.WithResource("resourceslices")
    	nodename := "mynode"
    	mynode := &user.DefaultInfo{Name: "system:node:" + nodename, Groups: []string{"system:nodes"}}
    	err := "can only create ResourceSlice with the same NodeName as the requesting node"
    
    	sliceNode := &resourceapi.ResourceSlice{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "something",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceSlice.yaml

    apiVersion: resource.k8s.io/v1alpha2
    driverName: driverNameValue
    kind: ResourceSlice
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
      - apiVersion: apiVersionValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top