You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
3.4 KiB

  1. ---
  2. apiVersion: apiextensions.k8s.io/v1
  3. kind: CustomResourceDefinition
  4. metadata:
  5. annotations:
  6. api-approved.kubernetes.io: https://github.com/kubernetes-sigs/scheduler-plugins/pull/52
  7. controller-gen.kubebuilder.io/version: v0.11.1
  8. creationTimestamp: null
  9. name: elasticquotas.scheduling.x-k8s.io
  10. spec:
  11. group: scheduling.x-k8s.io
  12. names:
  13. kind: ElasticQuota
  14. listKind: ElasticQuotaList
  15. plural: elasticquotas
  16. shortNames:
  17. - eq
  18. - eqs
  19. singular: elasticquota
  20. scope: Namespaced
  21. versions:
  22. - name: v1alpha1
  23. schema:
  24. openAPIV3Schema:
  25. description: ElasticQuota sets elastic quota restrictions per namespace
  26. properties:
  27. apiVersion:
  28. description: 'APIVersion defines the versioned schema of this representation
  29. of an object. Servers should convert recognized schemas to the latest
  30. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  31. type: string
  32. kind:
  33. description: 'Kind is a string value representing the REST resource this
  34. object represents. Servers may infer this from the endpoint the client
  35. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  36. type: string
  37. metadata:
  38. type: object
  39. spec:
  40. description: ElasticQuotaSpec defines the Min and Max for Quota.
  41. properties:
  42. max:
  43. additionalProperties:
  44. anyOf:
  45. - type: integer
  46. - type: string
  47. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  48. x-kubernetes-int-or-string: true
  49. description: Max is the set of desired max limits for each named resource.
  50. The usage of max is based on the resource configurations of successfully
  51. scheduled pods.
  52. type: object
  53. min:
  54. additionalProperties:
  55. anyOf:
  56. - type: integer
  57. - type: string
  58. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  59. x-kubernetes-int-or-string: true
  60. description: Min is the set of desired guaranteed limits for each
  61. named resource.
  62. type: object
  63. type: object
  64. status:
  65. description: ElasticQuotaStatus defines the observed use.
  66. properties:
  67. used:
  68. additionalProperties:
  69. anyOf:
  70. - type: integer
  71. - type: string
  72. pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  73. x-kubernetes-int-or-string: true
  74. description: Used is the current observed total usage of the resource
  75. in the namespace.
  76. type: object
  77. type: object
  78. type: object
  79. served: true
  80. storage: true
  81. subresources:
  82. status: {}