lancache

by funkypenguin

Helm chartv0.6.2App 1.0.0Verified publisher

LanCache Monolithic - a caching proxy server for game download content

About this chart

lancache

LanCache Monolithic - a caching proxy server for game download content

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

Requirements

Kubernetes: >=1.16.0-0

Dependencies

RepositoryNameVersion
https://library-charts.k8s-at-home.comcommon4.5.2

TL;DR

helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
helm install lancache k8s-at-home/lancache

Installing the Chart

To install the chart with the release name lancache

helm install lancache k8s-at-home/lancache

Uninstalling the Chart

To uninstall the lancache deployment

helm uninstall lancache

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

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.

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

helm install lancache \
  --set env.TZ="America/New York" \
    k8s-at-home/lancache

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

helm install lancache k8s-at-home/lancache -f values.yaml

Custom configuration

N/A

Values

Important: When deploying an application Helm chart you can add more values from our common library chart here

KeyTypeDefaultDescription
dns.enabledboolSee values.yamlEnable and configure LanCache DNS sidecar and service.
dns.envobject{}environment variables. See more environment variables in the LanCache DNS documentation. Most variables are inherited from the top-level env. LANCACHE_IP is auto-generated from the loadBalancerIP of the main service if specified.
dns.image.pullPolicystring"Always"image pull policy
dns.image.repositorystring"lancachenet/lancache-dns"image repository
dns.image.tagstring"latest"image tag
dnsConfig.nameservers[0]string"127.0.0.1"
dnsPolicystring"None"LanCache uses custom upstream nameservers, overridable with the UPSTREAM_DNS variable.
envobjectSee belowenvironment variables. See more environment variables in the LanCache Monolithic documentation.
env.TZstring"UTC"Set the container timezone
image.pullPolicystring"Always"image pull policy
image.repositorystring"lancachenet/monolithic"image repository
image.tagstring"latest"image tag
nodeSelectorobject{"kubernetes.io/arch":"amd64"}The official LanCache image is only available for x86_64.
persistenceobjectSee values.yamlConfigure persistence settings for the chart under this key.
probes.liveness.custombooltrue
probes.liveness.spec.httpGet.pathstring"/lancache-heartbeat"
probes.liveness.spec.httpGet.portint80
probes.readiness.custombooltrue
probes.readiness.spec.httpGet.pathstring"/lancache-heartbeat"
probes.readiness.spec.httpGet.portint80
probes.startup.custombooltrue
probes.startup.spec.httpGet.pathstring"/lancache-heartbeat"
probes.startup.spec.httpGet.portint80
serviceobjectSee values.yamlConfigures service settings for the chart.

Changelog

Version 0.6.2

Added

N/A

Changed

  • Upgraded common chart dependency to version 4.5.2

Fixed

N/A

Older versions

A historical overview of changes can be found on ArtifactHUB

Support


Autogenerated from chart metadata using helm-docs v0.1.1

Deploy lancache with OpenTenant

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