Back to Charts

⚠️ Repo Archive Notice

stable/ipfs/README.md

latest3.7 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

IPFS

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

DEPRECATION NOTICE

This chart is deprecated and no longer supported.

TL;DR;

bash
$ 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:

bash
$ 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:

bash
$ 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
ingressApi.enabledEnables Ingress for the IPFS apifalse
ingressApi.annotationsIPFS api ingress annotationsNone:
ingressApi.hostsIPFS api ingress accepted hostnamesNone:
ingressApi.tlsIPFS api ingress TLS configurationNone:
ingressGateway.enabledEnables Ingress for the IPFS gatewayfalse
ingressGateway.annotationsIPFS gateway ingress annotationsNone:
ingressGateway.hostsIPFS gateway ingress accepted hostnamesNone:
ingressGateway.tlsIPFS gateway ingress TLS configurationNone:
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
service.swarm.enabledExpose port 4001 (IPFS swarm network port)false
service.swarm.typeService type for swarmLoadBalancer
service.swarm.nodePortDesired nodePort for service of type NodePort used for swarm requestsblank ('') - will assign a dynamic node port

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

bash
$ helm install --name my-release \
  --set persistence.size="20Gi" \
    stable/ipfs

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,

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

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