Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for resourcequotas (0.2 sec)

  1. manifests/charts/istio-cni/templates/resourcequota.yaml

    {{- if .Values.cni.resourceQuotas.enabled }}
    apiVersion: v1
    kind: ResourceQuota
    metadata:
      name: {{ template "name" . }}-resource-quota
      namespace: {{ .Release.Namespace }}
    spec:
      hard:
        pods: {{ .Values.cni.resourceQuotas.pods | quote }}
      scopeSelector:
        matchExpressions:
        - operator: In
          scopeName: PriorityClass
          values:
          - system-node-critical
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 388 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access_test.go

    			cacheInput:    []*corev1.ResourceQuota{resourceQuota},
    			clientInput:   []runtime.Object{resourceQuota},
    			ttl:           -30 * time.Second,
    			namespace:     namespace,
    			expectedQuota: resourceQuota,
    		},
    		{
    			description:   "object does not exist in cache and is not found with client",
    			cacheInput:    []*corev1.ResourceQuota{resourceQuota},
    			ttl:           30 * time.Second,
    			expectedQuota: nil,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 13:54:56 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access.go

    			items = append(items, lruEntry.items[i])
    		}
    	}
    
    	resourceQuotas := []corev1.ResourceQuota{}
    	for i := range items {
    		quota := items[i]
    		quota = e.checkCache(quota)
    		// always make a copy.  We're going to muck around with this and we should never mutate the originals
    		resourceQuotas = append(resourceQuotas, *quota)
    	}
    
    	return resourceQuotas, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 13:54:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. plugin/pkg/admission/resourcequota/admission_test.go

    func TestAdmissionIgnoresSubresources(t *testing.T) {
    	resourceQuota := &corev1.ResourceQuota{}
    	resourceQuota.Name = "quota"
    	resourceQuota.Namespace = "test"
    	resourceQuota.Status = corev1.ResourceQuotaStatus{
    		Hard: corev1.ResourceList{},
    		Used: corev1.ResourceList{},
    	}
    	resourceQuota.Status.Hard[corev1.ResourceMemory] = resource.MustParse("2Gi")
    	resourceQuota.Status.Used[corev1.ResourceMemory] = resource.MustParse("1Gi")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  5. pkg/controller/resourcequota/resource_quota_controller.go

    	dirty := statusLimitsDirty || resourceQuota.Status.Hard == nil || resourceQuota.Status.Used == nil
    
    	used := v1.ResourceList{}
    	if resourceQuota.Status.Used != nil {
    		used = quota.Add(v1.ResourceList{}, resourceQuota.Status.Used)
    	}
    	hardLimits := quota.Add(v1.ResourceList{}, resourceQuota.Spec.Hard)
    
    	var errs []error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. manifests/charts/istio-operator/templates/clusterrole.yaml

      - configmaps
      - endpoints
      - events
      - namespaces
      - pods
      - pods/proxy
      - pods/portforward
      - persistentvolumeclaims
      - secrets
      - services
      - serviceaccounts
      - resourcequotas
      verbs:
      - '*'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. pkg/controlplane/storageversionhashdata/data.go

    	"v1/persistentvolumes":      "HN/zwEC+JgM=",
    	"v1/pods":                   "xPOwRZ+Yhw8=",
    	"v1/podtemplates":           "LIXB2x4IFpk=",
    	"v1/replicationcontrollers": "Jond2If31h0=",
    	"v1/resourcequotas":         "8uhSgffRX6w=",
    	"v1/secrets":                "S6u1pOWzb84=",
    	"v1/serviceaccounts":        "pbx9ZvyFpBE=",
    	"v1/services":               "0/CO1lhkEBI=",
    	"autoscaling/v1/horizontalpodautoscalers": "qwQve8ut294=",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:14:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/operator/output/operator-init.yaml

      - configmaps
      - endpoints
      - events
      - namespaces
      - pods
      - pods/proxy
      - pods/portforward
      - persistentvolumeclaims
      - secrets
      - services
      - serviceaccounts
      - resourcequotas
      verbs:
      - '*'
    ---
    kind: ClusterRoleBinding
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
      name: istio-operator
    subjects:
    - kind: ServiceAccount
      name: istio-operator
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/operator/output/operator-dump.yaml

      - configmaps
      - endpoints
      - events
      - namespaces
      - pods
      - pods/proxy
      - pods/portforward
      - persistentvolumeclaims
      - secrets
      - services
      - serviceaccounts
      - resourcequotas
      verbs:
      - '*'
    ---
    kind: ClusterRoleBinding
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
      name: istio-operator
    subjects:
    - kind: ServiceAccount
      name: istio-operator
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. manifests/charts/istio-cni/values.yaml

        # Set to `type: RuntimeDefault` to use the default profile if available.
        seccompProfile: {}
    
        resources:
          requests:
            cpu: 100m
            memory: 100Mi
    
        resourceQuotas:
          enabled: false
          pods: 5000
    
        # The number of pods that can be unavailable during rolling update (see
        # `updateStrategy.rollingUpdate.maxUnavailable` here:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top