Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 138 for resourcequotas (0.33 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/validation/validation_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package validation
    
    import (
    	"testing"
    
    	resourcequotaapi "k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota"
    )
    
    func TestValidateConfiguration(t *testing.T) {
    	successCases := []resourcequotaapi.Configuration{{
    		LimitedResources: []resourcequotaapi.LimitedResource{{
    			Resource:      "pods",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/validation/validation.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package validation
    
    import (
    	resourcequotaapi "k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota"
    
    	"k8s.io/apimachinery/pkg/util/validation/field"
    )
    
    // ValidateConfiguration validates the configuration.
    func ValidateConfiguration(config *resourcequotaapi.Configuration) field.ErrorList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 04 12:53:52 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/core/v1/types.go

    	// Services, number
    	ResourceServices ResourceName = "services"
    	// ReplicationControllers, number
    	ResourceReplicationControllers ResourceName = "replicationcontrollers"
    	// ResourceQuotas, number
    	ResourceQuotas ResourceName = "resourcequotas"
    	// ResourceSecrets, number
    	ResourceSecrets ResourceName = "secrets"
    	// ResourceConfigMaps, number
    	ResourceConfigMaps ResourceName = "configmaps"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/register.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 resourcequota
    
    import (
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    var (
    	// SchemeBuilder is a pointer used to call AddToScheme
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 04 12:53:52 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/api__v1_openapi.json

            "x-kubernetes-group-version-kind": {
              "group": "",
              "kind": "ResourceQuota",
              "version": "v1"
            }
          }
        },
        "/api/v1/namespaces/{namespace}/resourcequotas/{name}": {
          "delete": {
            "description": "delete a ResourceQuota",
            "operationId": "deleteCoreV1NamespacedResourceQuota",
            "parameters": [
              {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/types.go

    limitations under the License.
    */
    
    package resourcequota
    
    import (
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // Configuration provides configuration for the ResourceQuota admission controller.
    type Configuration struct {
    	metav1.TypeMeta
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 04 12:53:52 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  7. cluster/gce/addons/admission-resource-quota-critical-pods/resource-quota.yaml

    # which means they are disallowed unless explicitly allowed by a namespaced quota object.
    # This quota effectively removes the restriction on the number of critical pods allowed in the kube-system namespace.
    apiVersion: v1
    kind: ResourceQuota
    metadata:
      name: gcp-critical-pods
      namespace: kube-system
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
    spec:
      hard:
        pods: "1000000000"
      scopeSelector:
        matchExpressions:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 13:52:19 UTC 2020
    - 644 bytes
    - Viewed (0)
  8. pkg/quota/v1/evaluator/core/persistent_volume_claims.go

    		return true
    	}
    	return false
    }
    
    // Matches returns true if the evaluator matches the specified quota with the provided input item
    func (p *pvcEvaluator) Matches(resourceQuota *corev1.ResourceQuota, item runtime.Object) (bool, error) {
    	return generic.Matches(resourceQuota, item, p.MatchingResources, generic.MatchesNoScopeFunc)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:36:24 UTC 2022
    - 9.2K bytes
    - Viewed (0)
  9. pkg/controller/resourcequota/config/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // +k8s:deepcopy-gen=package
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 682 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/quota/v1/interfaces.go

    	Handles(operation admission.Attributes) bool
    	// Matches returns true if the specified quota matches the input item
    	Matches(resourceQuota *corev1.ResourceQuota, item runtime.Object) (bool, error)
    	// MatchingScopes takes the input specified list of scopes and input object and returns the set of scopes that matches input object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 30 21:02:09 UTC 2021
    - 3.8K bytes
    - Viewed (0)
Back to top