|
| 1 | +apiVersion: meta.k8s.appscode.com/v1alpha1 |
| 2 | +kind: ResourceDescriptor |
| 3 | +metadata: |
| 4 | + labels: |
| 5 | + k8s.io/group: autoscaling.kubedb.com |
| 6 | + k8s.io/kind: AerospikeAutoscaler |
| 7 | + k8s.io/resource: aerospikeautoscalers |
| 8 | + k8s.io/version: v1alpha1 |
| 9 | + name: autoscaling.kubedb.com-v1alpha1-aerospikeautoscalers |
| 10 | +spec: |
| 11 | + resource: |
| 12 | + group: autoscaling.kubedb.com |
| 13 | + kind: AerospikeAutoscaler |
| 14 | + name: aerospikeautoscalers |
| 15 | + scope: Namespaced |
| 16 | + version: v1alpha1 |
| 17 | + validation: |
| 18 | + openAPIV3Schema: |
| 19 | + properties: |
| 20 | + apiVersion: |
| 21 | + type: string |
| 22 | + kind: |
| 23 | + type: string |
| 24 | + metadata: |
| 25 | + properties: |
| 26 | + name: |
| 27 | + description: 'Name must be unique within a namespace. Is required when |
| 28 | + creating resources, although some resources may allow a client to |
| 29 | + request the generation of an appropriate name automatically. Name |
| 30 | + is primarily intended for creation idempotence and configuration definition. |
| 31 | + Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' |
| 32 | + type: string |
| 33 | + namespace: |
| 34 | + description: "Namespace defines the space within which each name must |
| 35 | + be unique. An empty namespace is equivalent to the \"default\" namespace, |
| 36 | + but \"default\" is the canonical representation. Not all objects are |
| 37 | + required to be scoped to a namespace - the value of this field for |
| 38 | + those objects will be empty. \n Must be a DNS_LABEL. Cannot be updated. |
| 39 | + More info: http://kubernetes.io/docs/user-guide/namespaces" |
| 40 | + type: string |
| 41 | + labels: |
| 42 | + additionalProperties: |
| 43 | + type: string |
| 44 | + description: 'Map of string keys and values that can be used to organize |
| 45 | + and categorize (scope and select) objects. May match selectors of |
| 46 | + replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' |
| 47 | + type: object |
| 48 | + annotations: |
| 49 | + additionalProperties: |
| 50 | + type: string |
| 51 | + description: 'Annotations is an unstructured key value map stored with |
| 52 | + a resource that may be set by external tools to store and retrieve |
| 53 | + arbitrary metadata. They are not queryable and should be preserved |
| 54 | + when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' |
| 55 | + type: object |
| 56 | + type: object |
| 57 | + spec: |
| 58 | + properties: |
| 59 | + compute: |
| 60 | + properties: |
| 61 | + aerospike: |
| 62 | + properties: |
| 63 | + containerControlledValues: |
| 64 | + enum: |
| 65 | + - RequestsAndLimits |
| 66 | + - RequestsOnly |
| 67 | + type: string |
| 68 | + controlledResources: |
| 69 | + items: |
| 70 | + type: string |
| 71 | + type: array |
| 72 | + inMemoryStorage: |
| 73 | + properties: |
| 74 | + scalingFactorPercentage: |
| 75 | + format: int32 |
| 76 | + type: integer |
| 77 | + usageThresholdPercentage: |
| 78 | + format: int32 |
| 79 | + type: integer |
| 80 | + type: object |
| 81 | + maxAllowed: |
| 82 | + additionalProperties: |
| 83 | + anyOf: |
| 84 | + - type: integer |
| 85 | + - type: string |
| 86 | + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ |
| 87 | + x-kubernetes-int-or-string: true |
| 88 | + type: object |
| 89 | + minAllowed: |
| 90 | + additionalProperties: |
| 91 | + anyOf: |
| 92 | + - type: integer |
| 93 | + - type: string |
| 94 | + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ |
| 95 | + x-kubernetes-int-or-string: true |
| 96 | + type: object |
| 97 | + podLifeTimeThreshold: |
| 98 | + type: string |
| 99 | + resourceDiffPercentage: |
| 100 | + format: int32 |
| 101 | + type: integer |
| 102 | + trigger: |
| 103 | + type: string |
| 104 | + type: object |
| 105 | + nodeTopology: |
| 106 | + properties: |
| 107 | + name: |
| 108 | + type: string |
| 109 | + scaleDownDiffPercentage: |
| 110 | + default: 25 |
| 111 | + format: int32 |
| 112 | + type: integer |
| 113 | + scaleUpDiffPercentage: |
| 114 | + default: 15 |
| 115 | + format: int32 |
| 116 | + type: integer |
| 117 | + type: object |
| 118 | + type: object |
| 119 | + databaseRef: |
| 120 | + properties: |
| 121 | + name: |
| 122 | + default: "" |
| 123 | + type: string |
| 124 | + type: object |
| 125 | + x-kubernetes-map-type: atomic |
| 126 | + opsRequestOptions: |
| 127 | + properties: |
| 128 | + apply: |
| 129 | + default: IfReady |
| 130 | + enum: |
| 131 | + - IfReady |
| 132 | + - Always |
| 133 | + type: string |
| 134 | + maxRetries: |
| 135 | + default: 1 |
| 136 | + format: int32 |
| 137 | + type: integer |
| 138 | + timeout: |
| 139 | + type: string |
| 140 | + type: object |
| 141 | + required: |
| 142 | + - databaseRef |
| 143 | + type: object |
| 144 | + required: |
| 145 | + - spec |
| 146 | + type: object |
0 commit comments