/
defaults.go
36 lines (30 loc) · 1022 Bytes
/
defaults.go
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
package v1alpha1
const (
// DefaultAPIPort is the default API and GUI port
DefaultAPIPort uint = 6688
// DefaultTLSPort is the default tls port
DefaultTLSPort uint = 6689
// DefaultP2PPort is the default p2p port
DefaultP2PPort uint = 30303
)
var (
// DefaultCorsDomains is the default cors domains from which to accept requests
DefaultCorsDomains = []string{"*"}
)
const (
// DefaultChainlinkImage is the default chainlink client image
DefaultChainlinkImage = "kotalco/chainlink:v2.2.0"
)
// Resources
const (
// DefaultNodeCPURequest is the cpu requested by chainlink node
DefaultNodeCPURequest = "2"
// DefaultNodeCPULimit is the cpu limit for chainlink node
DefaultNodeCPULimit = "4"
// DefaultNodeMemoryRequest is the memory requested by chainlink node
DefaultNodeMemoryRequest = "2Gi"
// DefaultNodeMemoryLimit is the memory limit for chainlink node
DefaultNodeMemoryLimit = "4Gi"
// DefaultNodeStorageRequest is the Storage requested by chainlink node
DefaultNodeStorageRequest = "20Gi"
)