File tree Expand file tree Collapse file tree
deploy/helm/trino-lb/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # 1 small cluster
2+ {{- range untilStep 1 2 1 }}
3+ ---
4+ apiVersion : trino.stackable.tech/v1alpha1
5+ kind : TrinoCluster
6+ metadata :
7+ name : trino-s-{{ . }}
8+ namespace : default
9+ spec :
10+ image :
11+ productVersion : " 451"
12+ clusterConfig :
13+ catalogLabelSelector :
14+ matchLabels :
15+ trino : trino
16+ listenerClass : external-stable
17+ authentication :
18+ - authenticationClass : trino-users
19+ coordinators :
20+ configOverrides : &configOverrides
21+ config.properties :
22+ tracing.enabled : " true"
23+ tracing.exporter.endpoint : http://jaeger-collector.default.svc.cluster.local:4317
24+ roleGroups :
25+ default :
26+ replicas : 1
27+ workers :
28+ configOverrides : *configOverrides
29+ roleGroups :
30+ default :
31+ replicas : 1
32+ {{- end }}
33+ # 2 medium clusters
34+ {{- range untilStep 1 3 1 }}
35+ ---
36+ apiVersion : trino.stackable.tech/v1alpha1
37+ kind : TrinoCluster
38+ metadata :
39+ name : trino-m-{{ . }}
40+ namespace : default
41+ spec :
42+ image :
43+ productVersion : " 451"
44+ clusterConfig :
45+ catalogLabelSelector :
46+ matchLabels :
47+ trino : trino
48+ listenerClass : external-stable
49+ authentication :
50+ - authenticationClass : trino-users
51+ coordinators :
52+ configOverrides : &configOverrides
53+ config.properties :
54+ tracing.enabled : " true"
55+ tracing.exporter.endpoint : http://jaeger-collector.default.svc.cluster.local:4317
56+ roleGroups :
57+ default :
58+ replicas : 1
59+ workers :
60+ configOverrides : *configOverrides
61+ roleGroups :
62+ default :
63+ replicas : 1
64+ {{- end }}
65+ ---
66+ apiVersion : v1
67+ kind : Secret
68+ metadata :
69+ name : trino-users
70+ namespace : default
71+ type : kubernetes.io/opaque
72+ stringData :
73+ admin : adminadmin
74+ ---
75+ apiVersion : authentication.stackable.tech/v1alpha1
76+ kind : AuthenticationClass
77+ metadata :
78+ name : trino-users
79+ spec :
80+ provider :
81+ static :
82+ userCredentialsSecret :
83+ name : trino-users
84+ ---
85+ apiVersion : trino.stackable.tech/v1alpha1
86+ kind : TrinoCatalog
87+ metadata :
88+ name : tpch
89+ namespace : default
90+ labels :
91+ trino : trino
92+ spec :
93+ connector :
94+ tpch : {}
You can’t perform that action at this time.
0 commit comments