Skip to content

Commit

Permalink
Finalize Druid quickstart doc
Browse files Browse the repository at this point in the history
Signed-off-by: Tapajit Chandra Paul <[email protected]>
  • Loading branch information
tapojit047 committed May 6, 2024
1 parent 2567418 commit 9ee2cd8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
1 change: 0 additions & 1 deletion docs/examples/druid/quickstart/deep-storage-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ stringData:
druid.indexer.logs.type: "s3"
druid.indexer.logs.s3Bucket: "druid"
druid.indexer.logs.s3Prefix: "druid/indexing-logs"

2 changes: 1 addition & 1 deletion docs/examples/druid/quickstart/druid-quickstart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ spec:
routers:
replicas: 1
storageType: Durable
terminationPolicy: Delete
terminationPolicy: Delete
2 changes: 1 addition & 1 deletion docs/examples/druid/quickstart/mysql-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ spec:
init:
script:
configMap:
name: my-init-script
name: my-init-script
1 change: 0 additions & 1 deletion docs/examples/druid/quickstart/mysql-init-script.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
CREATE DATABASE druid;

2 changes: 1 addition & 1 deletion docs/examples/druid/quickstart/zk-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ spec:
storageClassName: "standard"
accessModes:
- ReadWriteOnce
terminationPolicy: "WipeOut"
terminationPolicy: "WipeOut"
6 changes: 5 additions & 1 deletion docs/guides/druid/quickstart/overview/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ zookeeper.kubedb.com/zk-demo created

The last external dependency of Druid is deep storage where the segments are stored. It is a storage mechanism that Apache Druid does not provide. Amazon S3, Google Cloud Storage, or Azure Blob Storage, S3-compatible storage (like Minio), or HDFS are generally convenient options for deep storage.

In this tutorial, we will run a minio-server as deep storage using minio operator and create a bucket named `druid` in it which the deployed druid database will use.
In this tutorial, we will run a minio-server as deep storage using `minio-operator` and create a bucket named `druid` in it, which the deployed druid database will use.

```bash
$ helm upgrade --install --namespace "minio-operator" --create-namespace "minio-operator" minio/operator --set operator.replicaCount=1
Expand Down Expand Up @@ -142,11 +142,15 @@ stringData:
druid.indexer.logs.s3Prefix: "druid/indexing-logs"
```
Let’s create the `deep-storage-config` Secret shown above:

```bash
$ kubectl create -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/examples/druid/quickstart/deep-storage-config.yaml
secret/deep-storage-config created
```

You can also use options like Amazon S3, Google Cloud Storage, or Azure Blob Storage and create a connection information `Secret` like this, and you are good to go.

## Create a Druid Cluster

The KubeDB operator implements a Druid CRD to define the specification of Druid.
Expand Down

0 comments on commit 9ee2cd8

Please sign in to comment.