Skip to content

Commit

Permalink
Add solr docs
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Oct 31, 2024
1 parent 8c9d034 commit 1f0490e
Show file tree
Hide file tree
Showing 128 changed files with 12,829 additions and 23 deletions.
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
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
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
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"
11 changes: 11 additions & 0 deletions content/docs/v2024.9.30/examples/zookeeper/restart/ops.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: ops.kubedb.com/v1alpha1
kind: ZooKeeperOpsRequest
metadata:
name: zk-restart
namespace: demo
spec:
type: Restart
databaseRef:
name: zk-quickstart
timeout: 3m
apply: Always
17 changes: 17 additions & 0 deletions content/docs/v2024.9.30/examples/zookeeper/restart/zookeeper.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: kubedb.com/v1alpha2
kind: ZooKeeper
metadata:
name: zk-quickstart
namespace: demo
spec:
version: "3.8.3"
adminServerPort: 8080
replicas: 3
storage:
resources:
requests:
storage: "1Gi"
storageClassName: "standard"
accessModes:
- ReadWriteOnce
deletionPolicy: "WipeOut"
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: ops.kubedb.com/v1alpha1
kind: ZooKeeperOpsRequest
metadata:
name: upgrade-topology
namespace: demo
spec:
databaseRef:
name: zk-quickstart
type: UpdateVersion
updateVersion:
targetVersion: 3.9.1
timeout: 5m
apply: IfReady
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: kubedb.com/v1alpha2
kind: ZooKeeper
metadata:
name: zk-quickstart
namespace: demo
spec:
version: "3.8.3"
adminServerPort: 8080
replicas: 3
storage:
resources:
requests:
storage: "1Gi"
storageClassName: "standard"
accessModes:
- ReadWriteOnce
deletionPolicy: "WipeOut"
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Application Level Backup & Restore MySQL | KubeStash
description: Application Level Backup and Restore using KubeStash
menu:
docs_v2024.9.30:
identifier: guides-application-level-backup-stashv2
identifier: guides-mysql-application-level-backup-stashv2
name: Application Level Backup
parent: guides-mysql-backup-stashv2
weight: 40
Expand Down
4 changes: 2 additions & 2 deletions content/docs/v2024.9.30/guides/mysql/pitr/archiver.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ spec:
scheduler:
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
schedule: "/30 * * * *"
schedule: "*/30 * * * *"
sessionHistoryLimit: 2
manifestBackup:
scheduler:
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
schedule: "/30 * * * *"
schedule: "*/30 * * * *"
sessionHistoryLimit: 2
backupStorage:
ref:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ spec:
scheduler:
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
schedule: "/30 * * * *"
schedule: "*/30 * * * *"
sessionHistoryLimit: 2
manifestBackup:
scheduler:
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
schedule: "/30 * * * *"
schedule: "*/30 * * * *"
sessionHistoryLimit: 2
backupStorage:
ref:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Application Level Backup & Restore PostgreSQL | KubeStash
description: Application Level Backup and Restore using KubeStash
menu:
docs_v2024.9.30:
identifier: guides-application-level-backup-stashv2
identifier: guides-pg-application-level-backup-stashv2
name: Application Level Backup
parent: guides-pg-backup-stashv2
weight: 40
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,26 @@ metadata:
namespace: demo
spec:
version: "2.3.2-debian"
replicas: 1
replicas: 3
podTemplate:
spec:
containers:
- name: proxysql
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 250m
memory: 64Mi
securityContext:
runAsGroup: 999
runAsNonRoot: true
runAsUser: 999
seccompProfile:
type: RuntimeDefault
podPlacementPolicy:
name: default
syncUsers: true
backend:
name: mysql-server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Application Level Backup & Restore Redis | KubeStash
description: Application Level Backup and Restore using KubeStash
menu:
docs_v2024.9.30:
identifier: guides-application-level-backup-stashv2
identifier: guides-rd-application-level-backup-stashv2
name: Application Level Backup
parent: guides-rd-backup-stashv2
weight: 40
Expand Down
3 changes: 2 additions & 1 deletion content/docs/v2024.9.30/guides/singlestore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ SingleStore, a distributed SQL database for real-time analytics, transactional w

KubeDB supports the following SingleSore Versions.
- `8.1.32`
- `8.5.7`
- `8.5.30`
- `8.7.10`

## Life Cycle of a SingleStore Object

Expand Down
2 changes: 1 addition & 1 deletion content/docs/v2024.9.30/guides/singlestore/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ menu:
identifier: guides-singlestore
name: SingleStore
parent: guides
weight: 10
weight: 20
menu_name: docs_v2024.9.30
info:
autoscaler: v0.33.0
Expand Down
22 changes: 22 additions & 0 deletions content/docs/v2024.9.30/guides/singlestore/autoscaler/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Autoscaling
menu:
docs_v2024.9.30:
identifier: sdb-auto-scaling
name: Autoscaling
parent: guides-singlestore
weight: 46
menu_name: docs_v2024.9.30
info:
autoscaler: v0.33.0
cli: v0.48.0
dashboard: v0.24.0
installer: v2024.9.30
ops-manager: v0.35.0
provisioner: v0.48.0
schema-manager: v0.24.0
ui-server: v0.24.0
version: v2024.9.30
webhook-server: v0.24.0
---

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Compute Autoscaling
menu:
docs_v2024.9.30:
identifier: sdb-compute-auto-scaling
name: Compute Autoscaling
parent: sdb-auto-scaling
weight: 46
menu_name: docs_v2024.9.30
info:
autoscaler: v0.33.0
cli: v0.48.0
dashboard: v0.24.0
installer: v2024.9.30
ops-manager: v0.35.0
provisioner: v0.48.0
schema-manager: v0.24.0
ui-server: v0.24.0
version: v2024.9.30
webhook-server: v0.24.0
---

Loading

0 comments on commit 1f0490e

Please sign in to comment.