This file contains hidden or 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
| #!/bin/bash | |
| # Configuration | |
| NAMESPACE=${1:-"default"} | |
| RELEASE_NAME=${2:-"postgres"} | |
| DB_NAME=${3:-"postgres"} | |
| DB_USER=${4:-"postgres"} | |
| NUM_USERS=${5:-1000} | |
| NUM_ORDERS=${6:-5000} | |
| NUM_PRODUCTS=${7:-100} |
This file contains hidden or 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
| fluent-bit: | |
| config: | |
| customParsers: | | |
| [PARSER] | |
| Name docker_no_time | |
| Format json | |
| Time_Keep Off | |
| Time_Key time | |
| Time_Format %Y-%m-%dT%H:%M:%S.%L |
This file contains hidden or 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
| apiVersion: "druid.apache.org/v1alpha1" | |
| kind: "Druid" | |
| metadata: | |
| name: tiny-cluster | |
| spec: | |
| image: apache/druid:0.21.1 | |
| # Optionally specify image for all nodes. Can be specify on nodes also | |
| # imagePullSecrets: | |
| # - name: tutu | |
| startScript: /druid.sh |
This file contains hidden or 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
| apiVersion: "druid.apache.org/v1alpha1" | |
| kind: "Druid" | |
| metadata: | |
| name: tiny-cluster | |
| spec: | |
| image: apache/druid:0.20.0 | |
| # Optionally specify image for all nodes. Can be specify on nodes also | |
| # imagePullSecrets: | |
| # - name: tutu | |
| startScript: /druid.sh |
This file contains hidden or 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
| apiVersion: druid.apache.org/v1alpha1 | |
| kind: Druid | |
| metadata: | |
| name: cluster | |
| spec: | |
| commonConfigMountPath: /opt/druid/conf/druid/cluster/_common | |
| rollingDeploy: true | |
| image: "apache/druid:0.19.0" | |
| startScript: /druid.sh | |
| log4j.config: |- |
This file contains hidden or 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
| package main | |
| import ( | |
| "bytes" | |
| "context" | |
| "fmt" | |
| "io/ioutil" | |
| "net/http" | |
| "os" |
This file contains hidden or 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
| package main | |
| import ( | |
| "os" | |
| "os/signal" | |
| "github.com/sirupsen/logrus" | |
| "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" | |
| "k8s.io/apimachinery/pkg/runtime/schema" | |
| "k8s.io/client-go/dynamic" |
This file contains hidden or 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
| adheip@DevOps:~/druid-operator/examples$ k get pods -n druid | |
| NAME READY STATUS RESTARTS AGE | |
| druid-cluster-brokers-0 1/1 Running 0 3h | |
| druid-cluster-coordinators-0 1/1 Running 0 3h | |
| druid-cluster-historicals-0 1/1 Running 0 2m | |
| druid-cluster-middlemanagers-0 1/1 Terminating 0 3h | |
| druid-cluster-overlords-0 1/1 Running 0 1m | |
| druid-cluster-routers-0 1/1 Running 0 3h | |
| druid-prometheus-59ncm 1/1 Running 0 16h | |
| druid-prometheus-7ljjr 1/1 Running 0 16h |
This file contains hidden or 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
| adheip@DevOps:~/druid-operator/examples$ k get pods -n druid | |
| NAME READY STATUS RESTARTS AGE | |
| druid-cluster-brokers-0 1/1 Running 0 3h | |
| druid-cluster-coordinators-0 1/1 Running 0 3h | |
| druid-cluster-historicals-0 1/1 Running 0 2m | |
| druid-cluster-middlemanagers-0 1/1 Terminating 0 3h | |
| druid-cluster-overlords-0 1/1 Running 0 1m | |
| druid-cluster-routers-0 1/1 Running 0 3h | |
| druid-prometheus-59ncm 1/1 Running 0 16h | |
| druid-prometheus-7ljjr 1/1 Running 0 16h |
This file contains hidden or 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
| adheip@DevOps:~/druid-operator/examples$ k get pods -n druid | |
| NAME READY STATUS RESTARTS AGE | |
| druid-cluster-brokers-0 1/1 Running 0 3h | |
| druid-cluster-coordinators-0 1/1 Running 0 3h | |
| druid-cluster-historicals-0 1/1 Running 0 2m | |
| druid-cluster-middlemanagers-0 1/1 Terminating 0 3h | |
| druid-cluster-overlords-0 1/1 Running 0 1m | |
| druid-cluster-routers-0 1/1 Running 0 3h | |
| druid-prometheus-59ncm 1/1 Running 0 16h | |
| druid-prometheus-7ljjr 1/1 Running 0 16h |
NewerOlder