ipfs-cluster

by ethPandaOps

Helm chartv0.1.15Verified publisher

Run ipfs cluster along with kubo (go-ipfs)

About this chart

ipfs-cluster

Run ipfs cluster along with kubo (go-ipfs)

Values

KeyTypeDefaultDescription
cluster.affinityobject{}
cluster.extraEnvlist[]
cluster.image.pullPolicystring"IfNotPresent"
cluster.image.repositorystring"ipfs/ipfs-cluster"
cluster.image.tagstring"latest"
cluster.imagePullSecretslist[]
cluster.nameOverridestring""
cluster.nodeSelectorobject{}
cluster.podSecurityContextobject{}
cluster.resourcesobject{}
cluster.service.typestring""
cluster.storage.storageClassNamestring""
cluster.storage.volumeSizestring""
cluster.tolerationslist[]
fullnameOverridestring""
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
ipfs.affinityobject{}
ipfs.customCommandlist[]Command replacement for the container
ipfs.extraArgslist[]Additional args for the container
ipfs.extraEnvlist[]Additional env variables
ipfs.extraVolumeMountslist[]Additional volume mounts
ipfs.extraVolumeslist[]Additional volumes
ipfs.image.pullPolicystring"IfNotPresent"
ipfs.image.repositorystring"ipfs/kubo"
ipfs.image.tagstring"latest"
ipfs.imagePullSecretslist[]
ipfs.initContainerslist[]Additional init containers
ipfs.initScripts."001-peers.sh"stringSee values.yamlScripts that will run in an init container before the ipfs node starts. This is useful to setup some configuration parameters
ipfs.nameOverridestring""
ipfs.nodeSelectorobject{}
ipfs.podSecurityContextobject{}
ipfs.resourcesobject{}
ipfs.service.typestring"ClusterIP"
ipfs.storage.storageClassNamestring""
ipfs.storage.volumeSizestring""
ipfs.tolerationslist[]
p2pNodePort.enabledbooltrue
p2pNodePort.initContainer.image.pullPolicystring"IfNotPresent"Container pull policy
p2pNodePort.initContainer.image.repositorystring"lachlanevenson/k8s-kubectl"Container image to fetch nodeport information
p2pNodePort.initContainer.image.tagstring"v1.25.4"Container tag
p2pNodePort.nodePortint32000
persistentVolumeClaimRetentionPolicyobject{}PersistentVolumeClaim retention policy for the cluster and ipfs StatefulSets' volumeClaimTemplates (whenDeleted, whenScaled: Retain or Delete). Not rendered when empty, so Kubernetes keeps its default of retaining the PVCs. Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
podAnnotationsobject{}
rbac.clusterRuleslistSee values.yamlRequired ClusterRole rules
rbac.createbooltrueSpecifies whether RBAC resources are to be created
rbac.ruleslistSee values.yamlRequired ClusterRole rules
replicaCountint1
securityContextobject{}
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
sharedSecretstring""

Based on: https://github.com/monaparty/helm-ipfs-cluster

Deploy ipfs-cluster with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ipfs-cluster on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartipfs-cluster is pinned at v0.1.15 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply