-
Notifications
You must be signed in to change notification settings - Fork 3
/
values.yaml
executable file
·79 lines (68 loc) · 1.6 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 iotex.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
terminationGracePeriodSeconds: 30
image:
repository: iotex/iotex-core
tag: v1.1.0
pullPolicy: Always
service:
rpcPortName: jsonrpc
rpcPort: "14014"
p2pPort: "4689"
p2pPortName: p2p
externalLB: false
externalLBIP: ""
externalLBSourceRanges: {}
externalLBp2p: false
externalLBp2pIP: ""
internalLB: true
internalLBIP: ""
persistence:
enabled: true
storageClass: "ssd"
# storageClass: "-"
accessMode: ReadWriteOnce
size: "100Gi"
## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
resources:
requests:
cpu: "128m"
memory: "128Mi"
limits:
cpu: "512m"
memory: "512Mi"
# 'nobody' IDs
securityContext:
runAsUser: 65534
runAsGroup: 65534
fsGroup: 65534
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: "iotex"
topologyKey: failure-domain.beta.kubernetes.io/zone
iotex:
base_path: "/var/data"
configurationFileName: "config.yaml"
# mainnet/testnet
network: "mainnet"
# how many seconds should liveness check wait for a new block.
maxHealthyAge: 3600
config:
# specify ETH archive node RPC here
eth_api_url: ""
# enable this to run iotex-get-genesis as init container
iotex_get_genesis: false
livenessProbe:
initialDelaySeconds: 600
periodSeconds: 600
timeoutSeconds: 500
successThreshold: 1
failureThreshold: 2