Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

secure metadata storage example #78

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,31 @@
- -instance=instance
- -logFiles=logFiles
```

## Secure Metadata Storage password
```yaml
apiVersion: v1
kind: Secret
metadata:
name: metadata-storage-password
namespace: <NAMESPACE>
type: Opaque
data:
METADATA_STORAGE_PASSWORD: <PASSWORD>
---
spec:
envFrom:
- secretRef:
name: metadata-storage-password
nodes:
master:
runtime.properties: |
# General
druid.service=druid/coordinator

# Metadata Storage
druid.metadata.storage.type=<TYPE>
druid.metadata.storage.connector.connectURI=<URI>
druid.metadata.storage.connector.user=<USERNAME>
druid.metadata.storage.connector.password={ "type": "environment", "variable": "METADATA_STORAGE_PASSWORD" }
```
2 changes: 1 addition & 1 deletion docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
- ```NOTE: User must be aware of this feature, there might be cases where crashloopback might be caused due probe failure, fault image etc, the operator shall keep on deleting on each re-concile loop. Default Behavior is True ```

## Scaling of Druid Nodes
- Operator supports ```HPA autosaling/v2beta2``` Spec in the nodeSpec for druid nodes. In case HPA deployed, HPA controller maintains the replica count/state for the particular statefulset referenced. Refer to ```examples.md``` for HPA configuration.
- Operator supports ```HPA autosaling/v2``` Spec in the nodeSpec for druid nodes. In case HPA deployed, HPA controller maintains the replica count/state for the particular statefulset referenced. Refer to ```examples.md``` for HPA configuration.
- ```NOTE: Prefered to scale only brokers using HPA.```
- In order to scale MM with HPA, its recommended not to use HPA. Refer to these discussions which have adderessed the issues in details.
1. https://github.com/apache/druid/issues/8801#issuecomment-664020630
Expand Down