-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvalues.yaml
executable file
·79 lines (68 loc) · 1.79 KB
/
values.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Default values for Tezos.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
terminationGracePeriodSeconds: 30
image:
repository: tezos/tezos
tag: latest-release
pullPolicy: Always
service:
rpcPortName: jsonrpc
rpcPort: "8732"
# port should be inside k8s node ports range
p2pPort: "30000"
p2pPortName: p2p
externalLB: false
externalLBIP: ""
externalLBSourceRanges: {}
externalLBp2p: false
externalLBp2pIP: ""
internalLB: true
internalLBIP: ""
persistence:
enabled: true
storageClass: "ssd"
accessMode: ReadWriteOnce
size: "200Gi"
## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
resources:
requests:
cpu: "1000m"
memory: "3000Mi"
limits:
cpu: "3000m"
memory: "6000Mi"
# magic numbers are from tezos docker base image
# https://gitlab.com/tezos/opam-repository/-/blob/master/minimal.Dockerfile
securityContext:
runAsUser: 100
runAsGroup: 65533
fsGroup: 65533
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: "tezos"
topologyKey: failure-domain.beta.kubernetes.io/zone
tezos:
base_path: "/var/run/tezos"
# possible values are sandbox, mainnet, carthagenet
network: "mainnet"
chain_id: "main"
# possible values are archive, full and experimental-rolling
history_mode: "archive"
# how many seconds should liveness check wait for a new block.
maxHealthyAge: 3600
# enable this to run tezos-upgrade-storage as init container
tezos_upgrade_storage: false
livenessProbe:
initialDelaySeconds: 600
periodSeconds: 600
timeoutSeconds: 500
successThreshold: 1
failureThreshold: 2