Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for resourcequotas (0.25 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. 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)
  7. 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)
  8. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    	Chained *wrapperspb.BoolValue `protobuf:"bytes,14,opt,name=chained,proto3" json:"chained,omitempty"`
    	// The resource quotas configration for the CNI DaemonSet.
    	ResourceQuotas *ResourceQuotas `protobuf:"bytes,16,opt,name=resource_quotas,json=resourceQuotas,proto3" json:"resource_quotas,omitempty"`
    	// The k8s resource requests and limits for the istio-cni Pods.
    	Resources *Resources `protobuf:"bytes,17,opt,name=resources,proto3" json:"resources,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/core.go

    		name:     names.ResourceQuotaController,
    		aliases:  []string{"resourcequota"},
    		initFunc: startResourceQuotaController,
    	}
    }
    
    func startResourceQuotaController(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller.Interface, bool, error) {
    	resourceQuotaControllerClient := controllerContext.ClientBuilder.ClientOrDie("resourcequota-controller")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
  10. operator/pkg/apis/istio/v1alpha1/values_types.proto

      // the configuration is added as a standalone file in the CNI configuration directory.
      google.protobuf.BoolValue chained = 14;
    
      // The resource quotas configration for the CNI DaemonSet.
      ResourceQuotas resource_quotas = 16;
    
      // The k8s resource requests and limits for the istio-cni Pods.
      Resources resources = 17;
    
      // No longer used for CNI. See: https://github.com/istio/istio/issues/49004
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
Back to top