go-ipfs
client for IPFS peers, that's why there's no .spec.client
option.initProfiles
is al list of initial ipfs configuration profile.initialProfiles
available values are server
, randomports
, default-datastore
, local-discovery
, test
, default-networking
, flatfs
, badgerds
, and lowpower
.initProfiles
can't be updated (immutable).profiles
is the list of configuration profiles to apply after peer initialization.profiles
available values are server
, randomports
, default-datastore
, local-discovery
, test
, default-networking
, flatfs
, badgerds
, and lowpower
.apiHost
is API server host.apiHost
to host other than 0.0.0.0
, api calls forwarded to the container won't hit the API server. This is useful if you want to disallow calls to API server.apiPort
is API server port.gatewayHost
is local ipfs gateway host.gatewayHost
to host other than 0.0.0.0
, gateway won't work. This is useful if you want to disable to access gateway from outside.gatewayPort
is API server port.routing
is the content routing mechanism.routing
available values are none
, dht
, dhtclient
, dhtserver.
swarmKeySecretName
is the kubernetes secret name that's holding the swarm key in a key called secret
.resources
allocates compute and storage resources to the peer.resources
object has the following fields:1
2
2Gi
4Gi
10Gi
^[1-9][0-9]*[KMGTPE]i$
for example 1500Mi
, 30Gi
, and 1Ti
.^[1-9][0-9]*m?$
for example 1000m
(which is equal to 1
core), 1500m
which is 1.5 core, 2
cores, and 4
cores.cpuLimit
can't be less than cpu
.memoryLimit
can't be less than or equal to memory
.storageClass
field is immutable, it cannot be changed after creation.ipfs-cluster-service
for IPFS cluster peers that runs along with go-ipfs
, that's why there's no .spec.client
option.*
if consensus is crdt
id
is cluster peer id derived from private key.id
is required if privateKeySecretName
is provided.privateKeySecretName
is the name of the k8s secret holding base64 cluster peer privatekey in a key called key
.privateKeySecretName
is required if id
is provided.trustedPeers
is a list of peer IDs that can manage the cluster pinset in crdt
consensus clusters.trustedPeers
is ignored in raft
consensus clusters.trustedPeers
default value is *
which is trust all peers.bootstrapPeers
is a list of peers to connect to on startup.bootstrapPeers
will be trusted peers in crdt
clusters.consensus
is the cluster consensus algorithm.peerEndpoint
id ipfs peer http API endpoint.peerEndpoint
is required for the cluster peer to function correctly.clusterSecretName
is the k8s secret name holding 32-bit hex-encoded (without 0x) cluster secret in a key called secret
.clusterSecretName
can be generated using openssl tool:resources
allocates compute and storage resources to the peer.resources
object has the following fields:1
2
2Gi
4Gi
10Gi
^[1-9][0-9]*[KMGTPE]i$
for example 1500Mi
, 30Gi
, and 1Ti
.^[1-9][0-9]*m?$
for example 1000m
(which is equal to 1
core), 1500m
which is 1.5 core, 2
cores, and 4
cores.cpuLimit
can't be less than cpu
.memoryLimit
can't be less than or equal to memory
.