Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for Shareable (0.23 sec)

  1. staging/src/k8s.io/api/resource/v1alpha2/generated.pb.go

    		`ResourceHandles:` + repeatedStringForResourceHandles + `,`,
    		`AvailableOnNodes:` + strings.Replace(fmt.Sprintf("%v", this.AvailableOnNodes), "NodeSelector", "v1.NodeSelector", 1) + `,`,
    		`Shareable:` + fmt.Sprintf("%v", this.Shareable) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *AllocationResultModel) String() string {
    	if this == nil {
    		return "nil"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 261.9K bytes
    - Viewed (0)
  2. pkg/volume/local/local.go

    			}
    			if fsGroupNew != fsGroupOld {
    				m.plugin.recorder.Eventf(m.pod, v1.EventTypeWarning, events.WarnAlreadyMountedVolume, "The requested fsGroup is %d, but the volume %s has GID %d. The volume may not be shareable.", fsGroupNew, m.volName, fsGroupOld)
    			}
    		}
    
    	}
    
    	if runtime.GOOS != "windows" {
    		// skip below MkdirAll for windows since the "bind mount" logic is implemented differently in mount_wiondows.go
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. pkg/apis/resource/validation/validation.go

    		if resourceClaim.Status.Allocation == nil {
    			allErrs = append(allErrs, field.Forbidden(fldPath.Child("reservedFor"), "may not be specified when `allocated` is not set"))
    		} else {
    			if !resourceClaim.Status.Allocation.Shareable && len(resourceClaim.Status.ReservedFor) > 1 {
    				allErrs = append(allErrs, field.Forbidden(fldPath.Child("reservedFor"), "may not be reserved more than once"))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    	claimParameters = st.MakeClaimParameters().Name(claimName).Namespace(namespace).
    			NamedResourcesRequests("some-driver", "true").
    			Shareable(true).
    			GeneratedFrom(&resourcev1alpha2.ResourceClaimParametersReference{
    			Name:     claimName,
    			Kind:     "ResourceClaimParameters",
    			APIGroup: "example.com",
    		}).
    		Obj()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	defaultClaimParameters := resourcev1alpha2.ResourceClaimParameters{
    		Shareable: true,
    		DriverRequests: []resourcev1alpha2.DriverRequests{
    			{
    				DriverName: class.DriverName,
    				Requests: []resourcev1alpha2.ResourceRequest{
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  6. api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json

                  }
                ],
                "default": {},
                "description": "Standard object metadata"
              },
              "shareable": {
                "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.",
                "type": "boolean"
              }
            },
            "type": "object",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 656.6K bytes
    - Viewed (0)
  7. pkg/generated/openapi/zz_generated.openapi.go

    							Ref:         ref("k8s.io/api/resource/v1alpha2.ResourceClaimParametersReference"),
    						},
    					},
    					"shareable": {
    						SchemaProps: spec.SchemaProps{
    							Description: "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.",
    							Type:        []string{"boolean"},
    							Format:      "",
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  8. api/openapi-spec/swagger.json

              "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
              "description": "Standard object metadata"
            },
            "shareable": {
              "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.",
              "type": "boolean"
            }
          },
          "type": "object",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger-with-shared-parameters.json

                "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceHandle"
              },
              "type": "array",
              "x-kubernetes-list-type": "atomic"
            },
            "shareable": {
              "description": "Shareable determines whether the resource supports more than one consumer at a time.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 2.3M bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.Equal(2, normalCont2Devices.Len())
    	as.True(regularInitCont1Devices.IsSuperset(restartableInitCont2Devices))
    	as.True(regularInitCont1Devices.IsSuperset(restartableInitCont3Devices))
    	// regularInitCont1Devices are sharable with other containers
    
    	dedicatedContainerDevices := []sets.Set[string]{
    		restartableInitCont2Devices,
    		restartableInitCont3Devices,
    		normalCont1Devices,
    		normalCont2Devices,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top