-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tamal Saha <[email protected]>
- Loading branch information
Showing
67 changed files
with
17,242 additions
and
1,771 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
182 changes: 182 additions & 0 deletions
182
hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/cassandraautoscalers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
apiVersion: meta.k8s.appscode.com/v1alpha1 | ||
kind: ResourceDescriptor | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
k8s.io/group: autoscaling.kubedb.com | ||
k8s.io/kind: CassandraAutoscaler | ||
k8s.io/resource: cassandraautoscalers | ||
k8s.io/version: v1alpha1 | ||
name: autoscaling.kubedb.com-v1alpha1-cassandraautoscalers | ||
spec: | ||
resource: | ||
group: autoscaling.kubedb.com | ||
kind: CassandraAutoscaler | ||
name: cassandraautoscalers | ||
scope: Namespaced | ||
version: v1alpha1 | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
type: string | ||
kind: | ||
type: string | ||
metadata: | ||
properties: | ||
name: | ||
description: 'Name must be unique within a namespace. Is required when | ||
creating resources, although some resources may allow a client to | ||
request the generation of an appropriate name automatically. Name | ||
is primarily intended for creation idempotence and configuration definition. | ||
Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' | ||
type: string | ||
namespace: | ||
description: "Namespace defines the space within which each name must | ||
be unique. An empty namespace is equivalent to the \"default\" namespace, | ||
but \"default\" is the canonical representation. Not all objects are | ||
required to be scoped to a namespace - the value of this field for | ||
those objects will be empty. \n Must be a DNS_LABEL. Cannot be updated. | ||
More info: http://kubernetes.io/docs/user-guide/namespaces" | ||
type: string | ||
labels: | ||
additionalProperties: | ||
type: string | ||
description: 'Map of string keys and values that can be used to organize | ||
and categorize (scope and select) objects. May match selectors of | ||
replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' | ||
type: object | ||
annotations: | ||
additionalProperties: | ||
type: string | ||
description: 'Annotations is an unstructured key value map stored with | ||
a resource that may be set by external tools to store and retrieve | ||
arbitrary metadata. They are not queryable and should be preserved | ||
when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' | ||
type: object | ||
type: object | ||
spec: | ||
properties: | ||
compute: | ||
properties: | ||
cassandra: | ||
properties: | ||
containerControlledValues: | ||
enum: | ||
- RequestsAndLimits | ||
- RequestsOnly | ||
type: string | ||
controlledResources: | ||
items: | ||
type: string | ||
type: array | ||
inMemoryStorage: | ||
properties: | ||
scalingFactorPercentage: | ||
format: int32 | ||
type: integer | ||
usageThresholdPercentage: | ||
format: int32 | ||
type: integer | ||
type: object | ||
maxAllowed: | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
type: object | ||
minAllowed: | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
type: object | ||
podLifeTimeThreshold: | ||
type: string | ||
resourceDiffPercentage: | ||
format: int32 | ||
type: integer | ||
trigger: | ||
type: string | ||
type: object | ||
nodeTopology: | ||
properties: | ||
name: | ||
type: string | ||
scaleDownDiffPercentage: | ||
default: 25 | ||
format: int32 | ||
type: integer | ||
scaleUpDiffPercentage: | ||
default: 15 | ||
format: int32 | ||
type: integer | ||
type: object | ||
type: object | ||
databaseRef: | ||
properties: | ||
name: | ||
default: "" | ||
type: string | ||
type: object | ||
x-kubernetes-map-type: atomic | ||
opsRequestOptions: | ||
properties: | ||
apply: | ||
default: IfReady | ||
enum: | ||
- IfReady | ||
- Always | ||
type: string | ||
timeout: | ||
type: string | ||
type: object | ||
storage: | ||
properties: | ||
cassandra: | ||
properties: | ||
expansionMode: | ||
enum: | ||
- Offline | ||
- Online | ||
type: string | ||
scalingRules: | ||
items: | ||
properties: | ||
appliesUpto: | ||
type: string | ||
threshold: | ||
type: string | ||
required: | ||
- appliesUpto | ||
- threshold | ||
type: object | ||
type: array | ||
scalingThreshold: | ||
format: int32 | ||
type: integer | ||
trigger: | ||
type: string | ||
upperBound: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
usageThreshold: | ||
format: int32 | ||
type: integer | ||
required: | ||
- expansionMode | ||
type: object | ||
type: object | ||
required: | ||
- databaseRef | ||
type: object | ||
required: | ||
- spec | ||
type: object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 94 additions & 0 deletions
94
hub/resourcedescriptors/catalog.kubedb.com/v1alpha1/cassandraversions.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
apiVersion: meta.k8s.appscode.com/v1alpha1 | ||
kind: ResourceDescriptor | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
k8s.io/group: catalog.kubedb.com | ||
k8s.io/kind: CassandraVersion | ||
k8s.io/resource: cassandraversions | ||
k8s.io/version: v1alpha1 | ||
name: catalog.kubedb.com-v1alpha1-cassandraversions | ||
spec: | ||
resource: | ||
group: catalog.kubedb.com | ||
kind: CassandraVersion | ||
name: cassandraversions | ||
scope: Cluster | ||
version: v1alpha1 | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
type: string | ||
kind: | ||
type: string | ||
metadata: | ||
properties: | ||
name: | ||
description: 'Name must be unique within a namespace. Is required when | ||
creating resources, although some resources may allow a client to | ||
request the generation of an appropriate name automatically. Name | ||
is primarily intended for creation idempotence and configuration definition. | ||
Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' | ||
type: string | ||
labels: | ||
additionalProperties: | ||
type: string | ||
description: 'Map of string keys and values that can be used to organize | ||
and categorize (scope and select) objects. May match selectors of | ||
replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' | ||
type: object | ||
annotations: | ||
additionalProperties: | ||
type: string | ||
description: 'Annotations is an unstructured key value map stored with | ||
a resource that may be set by external tools to store and retrieve | ||
arbitrary metadata. They are not queryable and should be preserved | ||
when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' | ||
type: object | ||
type: object | ||
spec: | ||
properties: | ||
db: | ||
properties: | ||
image: | ||
type: string | ||
required: | ||
- image | ||
type: object | ||
initContainer: | ||
properties: | ||
image: | ||
type: string | ||
required: | ||
- image | ||
type: object | ||
securityContext: | ||
properties: | ||
runAsUser: | ||
format: int64 | ||
type: integer | ||
type: object | ||
ui: | ||
items: | ||
properties: | ||
disable: | ||
type: boolean | ||
name: | ||
type: string | ||
values: | ||
x-kubernetes-preserve-unknown-fields: true | ||
version: | ||
type: string | ||
required: | ||
- name | ||
type: object | ||
type: array | ||
version: | ||
type: string | ||
required: | ||
- db | ||
- initContainer | ||
- version | ||
type: object | ||
type: object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.