-
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.
Signed-off-by: Tapajit Chandra Paul <[email protected]>
- Loading branch information
1 parent
2ef313c
commit 3e551e6
Showing
14 changed files
with
776 additions
and
6 deletions.
There are no files selected for viewing
File renamed without changes
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
docs/guides/druid/configuration/podtemplating/yamls/deep-storage-config.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,16 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: deep-storage-config | ||
namespace: demo | ||
stringData: | ||
druid.storage.type: "s3" | ||
druid.storage.bucket: "druid" | ||
druid.storage.baseKey: "druid/segments" | ||
druid.s3.accessKey: "minio" | ||
druid.s3.secretKey: "minio123" | ||
druid.s3.protocol: "http" | ||
druid.s3.enablePathStyleAccess: "true" | ||
druid.s3.endpoint.signingRegion: "us-east-1" | ||
druid.s3.endpoint.url: "http://myminio-hl.demo.svc.cluster.local:9000/" | ||
|
43 changes: 43 additions & 0 deletions
43
docs/guides/druid/configuration/podtemplating/yamls/druid-cluster.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,43 @@ | ||
apiVersion: kubedb.com/v1alpha2 | ||
kind: Druid | ||
metadata: | ||
name: druid-cluster | ||
namespace: demo | ||
spec: | ||
version: 28.0.1 | ||
configSecret: | ||
name: config-secret | ||
deepStorage: | ||
type: s3 | ||
configSecret: | ||
name: deep-storage-config | ||
topology: | ||
coordinators: | ||
replicas: 1 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: druid | ||
resources: | ||
limits: | ||
memory: "2Gi" | ||
cpu: "600m" | ||
requests: | ||
memory: "2Gi" | ||
cpu: "600m" | ||
brokers: | ||
replicas: 1 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: druid | ||
resources: | ||
limits: | ||
memory: "2Gi" | ||
cpu: "600m" | ||
requests: | ||
memory: "2Gi" | ||
cpu: "600m" | ||
routers: | ||
replicas: 1 | ||
deletionPolicy: WipeOut |
20 changes: 20 additions & 0 deletions
20
docs/guides/druid/configuration/podtemplating/yamls/druid-node-selector.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,20 @@ | ||
apiVersion: kubedb.com/v1alpha2 | ||
kind: Druid | ||
metadata: | ||
name: druid-node-selector | ||
namespace: demo | ||
spec: | ||
version: 28.0.1 | ||
deepStorage: | ||
type: s3 | ||
configSecret: | ||
name: deep-storage-config | ||
topology: | ||
routers: | ||
replicas: 1 | ||
coordinators: | ||
podTemplate: | ||
spec: | ||
nodeSelector: | ||
disktype: ssd | ||
deletionPolicy: Delete |
58 changes: 58 additions & 0 deletions
58
docs/guides/druid/configuration/podtemplating/yamls/druid-with-tolerations.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,58 @@ | ||
apiVersion: kubedb.com/v1alpha2 | ||
kind: Druid | ||
metadata: | ||
name: druid-cluster | ||
namespace: demo | ||
spec: | ||
version: 28.0.1 | ||
deepStorage: | ||
type: s3 | ||
configSecret: | ||
name: deep-storage-config | ||
topology: | ||
routers: | ||
podTemplate: | ||
spec: | ||
tolerations: | ||
- key: "key1" | ||
operator: "Equal" | ||
value: "node1" | ||
effect: "NoSchedule" | ||
replicas: 1 | ||
coordinators: | ||
podTemplate: | ||
spec: | ||
tolerations: | ||
- key: "key1" | ||
operator: "Equal" | ||
value: "node1" | ||
effect: "NoSchedule" | ||
replicas: 1 | ||
brokers: | ||
podTemplate: | ||
spec: | ||
tolerations: | ||
- key: "key1" | ||
operator: "Equal" | ||
value: "node1" | ||
effect: "NoSchedule" | ||
replicas: 1 | ||
historicals: | ||
podTemplate: | ||
spec: | ||
tolerations: | ||
- key: "key1" | ||
operator: "Equal" | ||
value: "node1" | ||
effect: "NoSchedule" | ||
replicas: 1 | ||
middleManagers: | ||
podTemplate: | ||
spec: | ||
tolerations: | ||
- key: "key1" | ||
operator: "Equal" | ||
value: "node1" | ||
effect: "NoSchedule" | ||
replicas: 1 | ||
deletionPolicy: Delete |
15 changes: 15 additions & 0 deletions
15
docs/guides/druid/configuration/podtemplating/yamls/druid-without-tolerations.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: kubedb.com/v1alpha2 | ||
kind: Druid | ||
metadata: | ||
name: druid-without-tolerations | ||
namespace: demo | ||
spec: | ||
version: 28.0.1 | ||
deepStorage: | ||
type: s3 | ||
configSecret: | ||
name: deep-storage-config | ||
topology: | ||
routers: | ||
replicas: 1 | ||
deletionPolicy: Delete |
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 |
---|---|---|
|
@@ -13,4 +13,3 @@ spec: | |
routers: | ||
replicas: 1 | ||
deletionPolicy: Delete | ||
|