forked from thiagodiogo/presto-on-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
coordinator-presto.yaml
45 lines (45 loc) · 1.06 KB
/
coordinator-presto.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
apiVersion: v1
kind: Service
metadata:
name: presto-coordinator
spec:
ports:
- name: client
port: 8080
selector:
app: presto-coordinator
---
apiVersion: v1
kind: ReplicationController
metadata:
name: presto-coordinator
spec:
replicas: 1
template:
metadata:
labels:
app: presto-coordinator
spec:
containers:
- name: presto-coordinator
image: thiagodiogo/docker-presto:0.214
imagePullPolicy: Always
env:
- name: CONFIG_CONF_DISCOVERY___SERVER_ENABLED
value: "true"
- name: JVM_CONF_XMS
value: "8G"
- name: JVM_CONF_XMX
value: "12G"
- name: HIVE_CONF_HIVE_METASTORE_URI
value: thrift://hive-metastore.presto:9083
- name: LOG_CONF_COM_FACEBOOK_PRESTO
value: INFO
ports:
- containerPort: 8080
- containerPort: 8889
resources:
requests:
memory: "8Gi"
limits:
memory: "12Gi"