github.com/kotalco/kotal@v0.3.0/apis/ipfs/v1alpha1/defaults.go (about) 1 package v1alpha1 2 3 import "github.com/kotalco/kotal/apis/shared" 4 5 const ( 6 // DefaltReplicas is the default replicas 7 DefaltReplicas uint = 1 8 // DefaultRoutingMode is the default content routing mechanism 9 DefaultRoutingMode = DHTRouting 10 // DefaultAPIPort is the default API port 11 DefaultAPIPort uint = 5001 12 // DefaultGatewayPort is the default local gateway port 13 DefaultGatewayPort uint = 8080 14 // DefaultLogging is the default logging verbosity level 15 DefaultLogging = shared.InfoLogs 16 ) 17 18 const ( 19 // DefaultGoIPFSImage is the default go ipfs client image 20 DefaultGoIPFSImage = "kotalco/kubo:v0.28.0" 21 // DefaultGoIPFSClusterImage is the default go ipfs cluster client image 22 DefaultGoIPFSClusterImage = "kotalco/ipfs-cluster:v1.0.8" 23 ) 24 25 // Resources 26 const ( 27 // DefaultNodeCPURequest is the cpu requested by ipfs node 28 DefaultNodeCPURequest = "1" 29 // DefaultNodeCPULimit is the cpu limit for ipfs node 30 DefaultNodeCPULimit = "2" 31 32 // DefaultNodeMemoryRequest is the memory requested by ipfs node 33 DefaultNodeMemoryRequest = "2Gi" 34 // DefaultNodeMemoryLimit is the memory limit for ipfs node 35 DefaultNodeMemoryLimit = "4Gi" 36 37 // DefaultNodeStorageRequest is the Storage requested by ipfs node 38 DefaultNodeStorageRequest = "10Gi" 39 ) 40 41 // Cluster peer 42 const ( 43 // DefaultIPFSClusterConsensus is the default ipfs cluster consensus algorithm 44 DefaultIPFSClusterConsensus = CRDT 45 )