-
Notifications
You must be signed in to change notification settings - Fork 0
/
presto-1x8G.yaml
57 lines (57 loc) · 1.27 KB
/
presto-1x8G.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
kind: ConfigMap
apiVersion: v1
metadata:
name: privileged-bootstrap-script
data:
bootstrap.sh: |-
touch /i.need.root.txt
---
apiVersion: starburstdata.com/v1
kind: Presto
metadata:
name: example-presto
spec:
nameOverride: example-presto
prometheus:
enabled: true
additionalRules:
- pattern: 'presto.execution<name=TaskManager><>FailedTasks.TotalCount'
name: 'failed_tasks'
type: COUNTER
additionalBootstrapScriptVolumes:
- configMap:
name: privileged-bootstrap-script
service:
type: ClusterIP
name: example-presto
memory:
nodeMemoryHeadroom: 1Gi
coordinator:
cpuRequest: "1"
memoryAllocation: "4Gi"
worker:
count: 1
prestoWorkerShutdownGracePeriodSeconds: 1
cpuRequest: "2"
memoryAllocation: "8Gi"
hive:
awsSecretName: aws-secret-name
internalMetastore:
image:
pullPolicy: Always
internalPostgreSql:
enabled: true
memory: 0.5Gi
cpu: 0.1
additionalProperties: |
hive.allow-drop-table=true
additionalCatalogs:
tpcds: |
connector.name=tpcds
additionalEtcPrestoTextFiles:
some.text.file: |
Hello world
another.text.file: Hello world
additionalEtcPrestoBinaryFiles:
some.binary.file: |
aGVsbG8gd29ybGQ=