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/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 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
sub _html_to_pdf { | |
my $cb = ref $_[-1] eq 'CODE' ? pop : undef; | |
my ($c, $html, $opts) = @_; | |
$opts||={}; | |
require PDF::WebKit; | |
PDF::WebKit->configure(sub { | |
# default `which wkhtmltopdf` | |
my $exe= $c->executable( 'wkhtmltopdf' ); | |
$_->wkhtmltopdf($exe); | |
}); |
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
{ | |
"tree" : { | |
"nodeName" : "NODE NAME 1", | |
"name" : "NODE NAME 1", | |
"type" : "type3", | |
"code" : "N1", | |
"label" : "Node name 1", | |
"version" : "v1.0", | |
"link" : { | |
"name" : "Link NODE NAME 1", |