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
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 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: | |
podAnnotations: | |
iam.amazonaws.com/role: arn:aws:iam::9806916998632986329863220374:role/dsfdghjkl | |
env: | |
- name: AWS_REGION | |
value: ap-south-1 |
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
--- | |
- name: LAUNCH AN EC2 INSTANCE | |
hosts: localhost | |
vars: ##################### THESE VARS WILL LAUNCH THE EC2 INSTANCE ################# ON LINE 56 57 58 MENTION THE AMI VARS ####################### | |
region: us-east-1 ## The region you want to provision the EC2 | |
ec2_key_name: Ansible-Keypair ## The key which shall launch the instance | |
instance_type: t2.micro ## Instance Type | |
image: ## Image ID for which Base OS | |
subnet_id: ## The subnet id in which the ec2 shall be launched | |
security_group_name: launch-wizard-2 ## Name of security group which shall be allocated to the instance launched |
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
apiVersion: druid.apache.org/v1alpha1 | |
kind: Druid | |
metadata: | |
name: cluster | |
spec: | |
podAnnotations: | |
iam.amazonaws.com/role: arn:aws:iam::91243143143423403742:role/my-role | |
env: | |
- name: AWS_REGION | |
value: ap-south-1 |
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
adheip@DevOps:~/juspay/druid-operator/examples$ k get sts druid-my-druid-coordinators -n druid -o yaml | |
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
annotations: | |
druidOpResourceHash: N3ctP81z9eXQb/sJd73iRaLT0Ro= | |
creationTimestamp: 2020-02-20T14:26:09Z | |
generation: 1 | |
labels: | |
app: druid |
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
--- | |
apiVersion: druid.apache.org/v1alpha1 | |
kind: Druid | |
metadata: | |
name: my-druid | |
spec: | |
common.runtime.properties: |- | |
# | |
# Extensions | |
# |
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
apiVersion: "druid.apache.org/v1alpha1" | |
kind: "Druid" | |
metadata: | |
name: tiny-cluster | |
spec: | |
image: apache/incubator-druid:0.16.0-incubating | |
startScript: /druid.sh | |
securityContext: | |
fsGroup: 1000 | |
runAsUser: 1000 |
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
type Trace struct { | |
Data []struct { | |
TraceID string `json:"traceID"` | |
Spans []struct { | |
TraceID string `json:"traceID"` | |
SpanID string `json:"spanID"` | |
OperationName string `json:"operationName"` | |
References []interface{} `json:"references"` | |
StartTime int64 `json:"startTime"` | |
Duration int `json:"duration"` |
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
{ | |
"data": [ | |
{ | |
"traceID": "dc516d25315cb28c33701f9dd37dee22", | |
"spans": [ | |
{ | |
"traceID": "dc516d25315cb28c33701f9dd37dee22", | |
"spanID": "33701f9dd37dee22", | |
"operationName": "productpage.default.svc.cluster.local:9080/productpage", | |
"references": [], |
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
{ | |
"data": [ | |
{ | |
"traceID": "6a0795da25410ad4", | |
"spans": [ | |
{ | |
"traceID": "6a0795da25410ad4", | |
"spanID": "6fde6f7d72942984", | |
"operationName": "details.default.svc.cluster.local:9080/*", | |
"references": [ |