v1.AppliedClusterResourceQuota

Description

AppliedClusterResourceQuota mirrors ClusterResourceQuota at a project scope, for projection into a project. It allows a project-admin to know which ClusterResourceQuotas are applied to his project and their associated usage.

Object Schema

Expand or mouse-over a field for more information about it.

  1. apiVersion:
  2. kind:
  3. metadata:
  4. annotations:
  5. [string]:
  6. clusterName:
  7. creationTimestamp:
  8. deletionGracePeriodSeconds:
  9. deletionTimestamp:
  10. finalizers:
  11. - [string]:
  12. generateName:
  13. generation:
  14. initializers:
  15. pending:
  16. - name:
  17. result:
  18. apiVersion:
  19. code:
  20. details:
  21. causes:
  22. - field:
  23. message:
  24. reason:
  25. group:
  26. kind:
  27. name:
  28. retryAfterSeconds:
  29. uid:
  30. kind:
  31. message:
  32. metadata:
  33. resourceVersion:
  34. selfLink:
  35. reason:
  36. status:
  37. labels:
  38. [string]:
  39. name:
  40. namespace:
  41. ownerReferences:
  42. - apiVersion:
  43. blockOwnerDeletion:
  44. controller:
  45. kind:
  46. name:
  47. uid:
  48. resourceVersion:
  49. selfLink:
  50. uid:
  51. spec:
  52. quota:
  53. hard:
  54. [string]:
  55. scopes:
  56. - [string]:
  57. selector:
  58. annotations:
  59. [string]:
  60. labels:
  61. matchExpressions:
  62. - key:
  63. operator:
  64. values:
  65. - [string]:
  66. matchLabels:
  67. [string]:
  68. status:
  69. namespaces:
  70. - namespace:
  71. status:
  72. hard:
  73. [string]:
  74. used:
  75. [string]:
  76. total:
  77. hard:
  78. [string]:
  79. used:
  80. [string]:

Operations

Get a AppliedClusterResourceQuota in a namespace

Read the specified AppliedClusterResourceQuota

HTTP request

  1. GET /apis/quota.openshift.io/v1/namespaces/$NAMESPACE/appliedclusterresourcequotas/$NAME HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close

Curl request

  1. $ curl -k \
  2. -H "Authorization: Bearer $TOKEN" \
  3. -H 'Accept: application/json' \
  4. https://$ENDPOINT/apis/quota.openshift.io/v1/namespaces/$NAMESPACE/appliedclusterresourcequotas/$NAME

Path parameters

ParameterDescription

name

name of the AppliedClusterResourceQuota

namespace

object name and auth scope, such as for teams and projects

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.AppliedClusterResourceQuota

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Get all AppliedClusterResourceQuotas

List objects of kind AppliedClusterResourceQuota

HTTP request

  1. GET /apis/quota.openshift.io/v1/appliedclusterresourcequotas HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close

Curl request

  1. $ curl -k \
  2. -H "Authorization: Bearer $TOKEN" \
  3. -H 'Accept: application/json' \
  4. https://$ENDPOINT/apis/quota.openshift.io/v1/appliedclusterresourcequotas

Query parameters

ParameterDescription

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

includeUninitialized

If true, partially initialized resources are included in the response.

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

pretty

If ‘true’, then the output is pretty printed.

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.

timeoutSeconds

Timeout for the list/watch call.

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

Responses

HTTP CodeSchema

200 OK

v1.AppliedClusterResourceQuotaList

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

  • application/json;stream=watch

  • application/vnd.kubernetes.protobuf;stream=watch

Get all AppliedClusterResourceQuotas in a namespace

List objects of kind AppliedClusterResourceQuota

HTTP request

  1. GET /apis/quota.openshift.io/v1/namespaces/$NAMESPACE/appliedclusterresourcequotas HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close

Curl request

  1. $ curl -k \
  2. -H "Authorization: Bearer $TOKEN" \
  3. -H 'Accept: application/json' \
  4. https://$ENDPOINT/apis/quota.openshift.io/v1/namespaces/$NAMESPACE/appliedclusterresourcequotas

Path parameters

ParameterDescription

namespace

object name and auth scope, such as for teams and projects

Query parameters

ParameterDescription

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

includeUninitialized

If true, partially initialized resources are included in the response.

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

pretty

If ‘true’, then the output is pretty printed.

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.

timeoutSeconds

Timeout for the list/watch call.

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

Responses

HTTP CodeSchema

200 OK

v1.AppliedClusterResourceQuotaList

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

  • application/json;stream=watch

  • application/vnd.kubernetes.protobuf;stream=watch