Developer Documentation

NamespacesResourceQuotaOptionsV1

The ResourceQuotaOptionsV1 structure represents the resource quota limits which can be applied on the namespace. Refer to for information related to the properties of this object and what they map to.


Properties

Required Property Name Type Description
optional config_map_count integer

This represents ‘count/configmaps’ option which is the maximum number of ConfigMaps in the namespace. If unset, no configmap limits are set on the namespace.

optional cpu_limit integer

This is equivalent to ‘limits.cpu’ option which is the maximum CPU limit (in MHz) across all pods which exist in a non-terminal state in the namespace. If specified, this limit should be at least 10 MHz. This value translates to the CPU limit on the ResourcePool in vCenter Server created for the namespace. If unset, no CPU limits are set on the ResourcePool for the namespace.

optional cpu_limit_default integer

This represents the default cpu limit (in MHz) for containers in the pod. If unset, no default CPU limits are set on containers in the pod. Refer for information about LimitRange. If specified, this limit should be at least 10 MHz.

optional cpu_request_default integer

This represents the default CPU request (in MHz) for containers in the pod. If unset, no default CPU requests are set on containers in the pod. Refer for information about LimitRange. If specified, this field should be at least 10 MHz.

optional daemon_set_count integer

This represents ‘count/daemonsets.apps’ option which is the maximum number of DaemonSets in the namespace. If unset, no daemonset limits are set on the namespace.

optional deployment_count integer

This represents ‘count/deployments.apps’ option which is the maximum number of deployments in the namespace. If unset, no deployment limits are set on the namespace.

optional job_count integer

This represents ‘count/jobs.batch’ option which is the maximum number jobs in the namespace. If unset, no job limits are set on the namespace.

optional memory_limit integer

This is equivalent to ‘limits.memory’ option which is the maximum memory limit (in mebibytes) across all pods which exist in a non-terminal state in the namespace. This value translates to the memory limit on the ResourcePool in vCenter Server created for the namespace. If unset, no memory limits are set on the ResourcePool for the namespace.

optional memory_limit_default integer

This represents the default memory limit (in mebibytes) for containers in the pod. This translates to default memory limit in a LimitRange object. Refer for information about LimitRange. If unset, no default memory limits are set on containers in the pod.

optional memory_request_default integer

This represents the default memory request (in mebibytes) for containers in the pod. This translates to default memory request in a LimitRange object. Refer for information about LimitRange. If unset, no default memory requests are set on containers in the pod.

optional persistent_volume_claim_count integer

This represents ‘count/persistentvolumeclaims’ option which is the maximum number of PersistentVolumeClaims in the namespace. If unset, no persistentvolumeclaim limits are set on the namespace.

optional pod_count integer

This represents ‘pods’ option which is the maximum number of pods which exist in a non-terminal state in the namespace. If unset, no pod limits are set on the namespace.

optional replica_set_count integer

This represents ‘count/replicasets.apps’ option which is the maximum number of ReplicaSets in the namespace. If unset, no replicaset limits are set on the namespace.

optional replication_controller_count integer

This represents ‘count/replicationcontrollers’ option which is the maximum number of ReplicationControllers in the namespace. If unset, no replicationcontroller limits are set on the namespace.

optional secret_count integer

This represents ‘count/secrets’ option which is the maximum number of secrets in the namespace. If unset, no secret limits are set on the namespace.

optional service_count integer

This represents ‘count/services’ option which is the maximum number of services in the namespace. If unset, no service limits are set on the namespace.

optional stateful_set_count integer

This represents ‘count/statefulsets.apps’ option which is the maximum number of StatefulSets in the namespace. If unset, no statefulset limits are set on the namespace.

optional storage_request_limit integer

This represents ‘requests.storage’ option which is the maximum storage request (in mebibytes) across all persistent volume claims from pods which exist in a non-terminal state in the namespace. If unset, no storage request limits are set on the namespace.

Feedback

Was this page helpful?