Skip to content

Commit

Permalink
Add druid reconfigure
Browse files Browse the repository at this point in the history
Signed-off-by: Tapajit Chandra Paul <[email protected]>
  • Loading branch information
tapojit047 committed Nov 1, 2024
1 parent 9834a5c commit 749579e
Show file tree
Hide file tree
Showing 28 changed files with 962 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/guides/druid/autoscaler/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ menu:
identifier: guides-druid-autoscaler
name: Autoscaling
parent: guides-druid
weight: 46
weight: 100
menu_name: docs_{{ .version }}
---
2 changes: 1 addition & 1 deletion docs/guides/druid/autoscaler/compute/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Druid Compute Autoscaling Overview
menu:
docs_{{ .version }}:
identifier: guides-druid-autoscaler-compute-guide
identifier: guides-druid-autoscaler-compute-overview
name: Overview
parent: guides-druid-autoscaler-compute
weight: 10
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/druid/clustering/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Druid Clustering
menu:
docs_{{ .version }}:
identifier: guides-druid-clustering
name: Druid Clustering
name: Clustering
parent: guides-druid
weight: 30
menu_name: docs_{{ .version }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Druid Topology Cluster Guide
menu:
docs_{{ .version }}:
identifier: guides-druid-clustering-topology-cluster-guide
identifier: guides-druid-clustering-guide
name: Guide
parent: guides-druid-clustering
weight: 20
Expand All @@ -20,7 +20,7 @@ This tutorial will show you how to use KubeDB to provision a Druid Cluster.

Before proceeding:

- Read [druid topology cluster overview](/docs/guides/druid/clustering/topology-cluster-overview/index.md) to get a basic idea about the design and architecture of Druid.
- Read [druid topology cluster overview](/docs/guides/druid/clustering/overview/index.md) to get a basic idea about the design and architecture of Druid.

- You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. If you do not already have a cluster, you can create one by using [kind](https://kind.sigs.k8s.io/docs/user/quick-start/).

Expand Down Expand Up @@ -107,7 +107,7 @@ spec:
```

```bash
$ kubectl create -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/druid/clustering/topology-cluster-guide/yamls/druid-with-monitoring.yaml
$ kubectl create -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/druid/clustering/guide/yamls/druid-with-monitoring.yaml
druid.kubedb.com/druid-cluster created
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Druid Topology Cluster Overview
menu:
docs_{{ .version }}:
identifier: guides-druid-clustering-topology-cluster-overview
identifier: guides-druid-clustering-overview
name: Overview
parent: guides-druid-clustering
weight: 15
Expand All @@ -18,7 +18,7 @@ Druid has a distributed architecture that is designed to be cloud-friendly and e

The following diagram shows the services that make up the Druid architecture, their typical arrangement across servers, and how queries and data flow through this architecture.

![Druid Architecture](/docs/guides/druid/clustering/topology-cluster-overview/images/druid-architecture.svg)
![Druid Architecture](/docs/guides/druid/clustering/overview/images/druid-architecture.svg)

Image ref: <https://druid.apache.org/assets/images/druid-architecture-7db1cd79d2d70b2e5ccc73b6bebfcaa4.svg>

Expand Down
6 changes: 3 additions & 3 deletions docs/guides/druid/concepts/druid.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,15 @@ spec:
labels:
release: prometheus
interval: 10s
version: 30.0.1
version: 30.0.0
```
### spec.version
`spec.version` is a required field specifying the name of the [DruidVersion](/docs/guides/druid/concepts/druidversion.md) crd where the docker images are specified. Currently, when you install KubeDB, it creates the following `Druid` resources,

- `28.0.1`
- `30.0.1`
- `30.0.0`

### spec.replicas

Expand Down Expand Up @@ -521,7 +521,7 @@ Know details about KubeDB Health checking from this [blog post](https://appscode
## Next Steps

- Learn how to use KubeDB to run Apache Druid cluster [here](/docs/guides/druid/README.md).
- Deploy [dedicated topology cluster](/docs/guides/druid/clustering/topology-cluster-guide/index.md) for Apache Druid
- Deploy [dedicated topology cluster](/docs/guides/druid/clustering/guide/index.md) for Apache Druid
- Deploy [combined cluster](/docs/guides/druid/clustering/combined-cluster/index.md) for Apache Druid
- Monitor your Druid cluster with KubeDB using [`out-of-the-box` Prometheus operator](/docs/guides/druid/monitoring/using-prometheus-operator.md).
- Detail concepts of [DruidVersion object](/docs/guides/druid/concepts/druidversion.md).
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/druid/configuration/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ secret/deep-storage-config created

## Use Custom Configuration

Say we want to change the default log retention time and default replication factor of creating a topic of brokers. Let's create the `middleManagers.properties` file with our desire configurations.
Say we want to change the default maximum number of tasks the MiddleManager can accept. Let's create the `middleManagers.properties` file with our desire configurations.

**middleManagers.properties:**

```properties
druid.worker.capacity=5
```

and we also want to change the metadata.log.dir of the all historicals nodes. Let's create the `historicals.properties` file with our desire configurations.
and we also want to change the number of processing threads to have available for parallel processing of segments of the historicals nodes. Let's create the `historicals.properties` file with our desire configurations.

**historicals.properties:**

Expand Down Expand Up @@ -256,7 +256,7 @@ Now hit the `http://localhost:8888` from any browser, and you will be prompted t
After providing the credentials correctly, you should be able to access the web console like shown below.

<p align="center">
  <img alt="lifecycle" src="/docs/guides/druid/configuration/images/druid-ui.png">
  <img alt="lifecycle" src="/docs/guides/druid/reconfigure/images/druid-updated-ui.png">
</p>


Expand Down
Binary file modified docs/guides/druid/configuration/images/druid-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/guides/druid/configuration/yamls/config-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: config-secret
name: new-config
namespace: demo
stringData:
middleManagers.properties: |-
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/druid/monitoring/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ menu:
identifier: guides-druid-monitoring
name: Monitoring
parent: guides-druid
weight: 50
weight: 140
menu_name: docs_{{ .version }}
---
2 changes: 1 addition & 1 deletion docs/guides/druid/reconfigure-tls/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ menu:
identifier: guides-druid-reconfigure-tls
name: Reconfigure TLS/SSL
parent: guides-druid
weight: 46
weight: 120
menu_name: docs_{{ .version }}
---
10 changes: 10 additions & 0 deletions docs/guides/druid/reconfigure/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Reconfigure
menu:
docs_{{ .version }}:
identifier: guides-druid-reconfigure
name: Reconfigure
parent: guides-druid
weight: 110
menu_name: docs_{{ .version }}
---
Loading

0 comments on commit 749579e

Please sign in to comment.