Helm chartv0.2.2App v0.4.9

A Helm chart for the Interplanetary File System

About this chart

IPFS

IPFS is a part of the distributed web - a peer-to-peer hypermedia protocol to make the web faster, safer, and more open.

TL;DR;

$ helm install <helm-repo>/ipfs

$ helm install stable/ipfs

Introduction

This chart bootstraps an IPFS deployment on a Kubernetes cluster using the Helm package manager.

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release <helm-repo>/ipfs

$ helm install --name my-release stable/ipfs The command deploys IPFS on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the Memcached chart and their default values.

ParameterDescriptionDefault
replicaCountThe number of replicas of go-ipfs to run1
service.typeType of the service: ClusterIP, LoadBalancer or NodePortClusterIP
service.nameOverrideThe name to use for the serviceThe full name of the release
persistence.enabledTurn on persistent storage for the IPFS data directorytrue
persistence.storageClassStorageClass to set for the persistent volume claim.The default storageclass in the cluster
persistence.annotationsExtra annotations for the persistent volume claim.{}
persistence.accessModesList of access modes for use with the persistent volume claim["ReadWriteOnce"]
persistence.sizeSize of the PVC for each IPFS pod, used as persistent cache8Gi

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
$ helm install --name my-release \
  --set storage.size="20Gi" \
    <helm-repo>/ipfs
$ helm install --name my-release \

The above command sets the disk size to 20Gi.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml <helm-repo>/ipfs

$ helm install --name my-release -f values.yaml stable/ipfs

Tip: You can use the default values.yaml as a base for customization.

Deploy ipfs with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ipfs 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 is pinned at v0.2.2 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