Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 231 for resourceclaim (0.21 sec)

  1. pkg/controller/resourceclaim/uid_cache.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package resourceclaim
    
    import (
    	"sync"
    
    	"github.com/golang/groupcache/lru"
    
    	"k8s.io/apimachinery/pkg/types"
    )
    
    // uidCache is an LRU cache for uid.
    type uidCache struct {
    	mutex sync.Mutex
    	cache *lru.Cache
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:23:50 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters.go

    	for _, obj := range objs {
    		claim, ok := obj.(*resourcev1alpha2.ResourceClaim)
    		if !ok {
    			return nil, fmt.Errorf("got unexpected object of type %T from claim assume cache", obj)
    		}
    		if obj, ok := inFlightAllocations.Load(claim.UID); ok {
    			// If the allocation is in-flight, then we have to use the allocation
    			// from that claim.
    			claim = obj.(*resourcev1alpha2.ResourceClaim)
    		}
    		if claim.Status.Allocation == nil {
    			continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 09:03:22 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json

            "description": "PodSchedulingContextStatus describes where resources for the Pod can be allocated.",
            "properties": {
              "resourceClaims": {
                "description": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.",
                "items": {
                  "allOf": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 656.6K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/dra/claiminfo.go

    func newClaimInfoFromClaim(claim *resourcev1alpha2.ResourceClaim) *ClaimInfo {
    	// Grab the allocation.resourceHandles. If there are no
    	// allocation.resourceHandles, create a single resourceHandle with no
    	// content. This will trigger processing of this claim by a single
    	// kubelet plugin whose name matches resourceClaim.Status.DriverName.
    	resourceHandles := claim.Status.Allocation.ResourceHandles
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. api/discovery/aggregated_v2.json

                  ]
                },
                {
                  "resource": "resourceclaims",
                  "responseKind": {
                    "group": "",
                    "kind": "ResourceClaim",
                    "version": ""
                  },
                  "scope": "Namespaced",
                  "singularResource": "resourceclaim",
                  "subresources": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:29:14 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. pkg/registry/resource/rest/storage_resource.go

    	resourceclaimstore "k8s.io/kubernetes/pkg/registry/resource/resourceclaim/storage"
    	resourceclaimparametersstore "k8s.io/kubernetes/pkg/registry/resource/resourceclaimparameters/storage"
    	resourceclaimtemplatestore "k8s.io/kubernetes/pkg/registry/resource/resourceclaimtemplate/storage"
    	resourceclassstore "k8s.io/kubernetes/pkg/registry/resource/resourceclass/storage"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. api/discovery/aggregated_v2beta1.json

                  ]
                },
                {
                  "resource": "resourceclaims",
                  "responseKind": {
                    "group": "",
                    "kind": "ResourceClaim",
                    "version": ""
                  },
                  "scope": "Namespaced",
                  "singularResource": "resourceclaim",
                  "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)
  8. pkg/registry/resource/resourceclaimparameters/strategy.go

    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	parameters, ok := obj.(*resource.ResourceClaimParameters)
    	if !ok {
    		return nil, nil, errors.New("not a resourceclaim")
    	}
    	return labels.Set(parameters.Labels), toSelectableFields(parameters), nil
    }
    
    // toSelectableFields returns a field set that represents the object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/node/graph.go

    			e := newDestinationEdge(pvcVertex, podVertex, nodeVertex)
    			g.graph.SetEdge(e)
    			g.addEdgeToDestinationIndex_locked(e)
    		}
    	}
    
    	for _, podResourceClaim := range pod.Spec.ResourceClaims {
    		claimName, _, err := resourceclaim.Name(pod, &podResourceClaim)
    		// Do we have a valid claim name? If yes, add an edge that grants
    		// kubelet access to that claim. An error indicates that a claim
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. pkg/scheduler/eventhandlers.go

    				}
    				handlers = append(handlers, handlerRegistration)
    			}
    		case framework.ResourceClaim:
    			if utilfeature.DefaultFeatureGate.Enabled(features.DynamicResourceAllocation) {
    				if handlerRegistration, err = informerFactory.Resource().V1alpha2().ResourceClaims().Informer().AddEventHandler(
    					buildEvtResHandler(at, framework.ResourceClaim, "ResourceClaim"),
    				); err != nil {
    					return err
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:04 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top