-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add concepts Signed-off-by: Ashraful Haque Tani <[email protected]>
- Loading branch information
1 parent
5025432
commit b4dde67
Showing
115 changed files
with
11,103 additions
and
23 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
docs/examples/singlestore/autoscaling/compute/sdb-cluster-autoscaler.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,21 @@ | ||
apiVersion: autoscaling.kubedb.com/v1alpha1 | ||
kind: SinglestoreAutoscaler | ||
metadata: | ||
name: sdb-cluster-autoscaler | ||
namespace: demo | ||
spec: | ||
databaseRef: | ||
name: sdb-sample | ||
compute: | ||
aggregator: | ||
trigger: "On" | ||
podLifeTimeThreshold: 5m | ||
minAllowed: | ||
cpu: 900m | ||
memory: 3Gi | ||
maxAllowed: | ||
cpu: 2000m | ||
memory: 6Gi | ||
controlledResources: ["cpu", "memory"] | ||
containerControlledValues: "RequestsAndLimits" | ||
resourceDiffPercentage: 10 |
52 changes: 52 additions & 0 deletions
52
docs/examples/singlestore/autoscaling/compute/sdb-compute.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,52 @@ | ||
apiVersion: kubedb.com/v1alpha2 | ||
kind: Singlestore | ||
metadata: | ||
name: sdb-sample | ||
namespace: demo | ||
spec: | ||
version: 8.7.10 | ||
topology: | ||
aggregator: | ||
replicas: 2 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: singlestore | ||
resources: | ||
limits: | ||
memory: "2Gi" | ||
cpu: "0.7" | ||
requests: | ||
memory: "2Gi" | ||
cpu: "0.7" | ||
storage: | ||
storageClassName: "standard" | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
leaf: | ||
replicas: 3 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: singlestore | ||
resources: | ||
limits: | ||
memory: "2Gi" | ||
cpu: "0.7" | ||
requests: | ||
memory: "2Gi" | ||
cpu: "0.7" | ||
storage: | ||
storageClassName: "standard" | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 10Gi | ||
licenseSecret: | ||
name: license-secret | ||
storageType: Durable | ||
deletionPolicy: WipeOut |
52 changes: 52 additions & 0 deletions
52
docs/examples/singlestore/autoscaling/storage/sdb-compute.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,52 @@ | ||
apiVersion: kubedb.com/v1alpha2 | ||
kind: Singlestore | ||
metadata: | ||
name: sdb-sample | ||
namespace: demo | ||
spec: | ||
version: 8.7.10 | ||
topology: | ||
aggregator: | ||
replicas: 2 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: singlestore | ||
resources: | ||
limits: | ||
memory: "2Gi" | ||
cpu: "0.7" | ||
requests: | ||
memory: "2Gi" | ||
cpu: "0.7" | ||
storage: | ||
storageClassName: "standard" | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
leaf: | ||
replicas: 3 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: singlestore | ||
resources: | ||
limits: | ||
memory: "2Gi" | ||
cpu: "0.7" | ||
requests: | ||
memory: "2Gi" | ||
cpu: "0.7" | ||
storage: | ||
storageClassName: "standard" | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 10Gi | ||
licenseSecret: | ||
name: license-secret | ||
storageType: Durable | ||
deletionPolicy: WipeOut |
15 changes: 15 additions & 0 deletions
15
docs/examples/singlestore/autoscaling/storage/sdb-storage-autoscaler.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,15 @@ | ||
apiVersion: autoscaling.kubedb.com/v1alpha1 | ||
kind: SinglestoreAutoscaler | ||
metadata: | ||
name: sdb-cluster-autoscaler | ||
namespace: demo | ||
spec: | ||
databaseRef: | ||
name: sdb-sample | ||
storage: | ||
leaf: | ||
trigger: "On" | ||
usageThreshold: 30 | ||
scalingThreshold: 50 | ||
expansionMode: "Online" | ||
upperBound: "100Gi" |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Autoscaling | ||
menu: | ||
docs_{{ .version }}: | ||
identifier: sdb-auto-scaling | ||
name: Autoscaling | ||
parent: guides-singlestore | ||
weight: 46 | ||
menu_name: docs_{{ .version }} | ||
--- |
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,10 @@ | ||
--- | ||
title: Compute Autoscaling | ||
menu: | ||
docs_{{ .version }}: | ||
identifier: sdb-compute-auto-scaling | ||
name: Compute Autoscaling | ||
parent: sdb-auto-scaling | ||
weight: 46 | ||
menu_name: docs_{{ .version }} | ||
--- |
Oops, something went wrong.