Skip to content

A helm chart to help deploy a lemmy instance

Notifications You must be signed in to change notification settings

ndragon798/lemmy-chart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lemmy Helm Chart

This chart is designed to make running Lemmy (https://join-lemmy.org/) easy on a kubernetes cluster.

Warnings

This is mostly for experimental use by me. There are a number of things to improve, but for now I would consider this chart experimental.

Example installation

To start, create the namespace you wish to install into, then create secrets for postgres credentials and pictrs keys:

kubectl create namespace lemmy

If postgres.enabled is set to true (default is false), we don't need to configure postgres credentials. Otherwise, run the following after filling in each parameter (user, password, host, and db):

kubectl create secret -n lemmy generic my-release-lemmy-postgres-creds \
    --from-literal=user= \
    --from-literal=password= \
    --from-literal=host= \
    --from-literal=db=

This is an example values.yaml that I use to run my test instance. I assume the disk space is inadequate at the moment, but lacking any definitive data requirements I have no better guess.

configuration:
  host: lemmy.dudeami.win
  adminUsername: "dudeami0"
  enableTLS: true

lemmy-ui:
  config:
    externalHost: lemmy.dudeami.win:443
    https: true
    debug: false

pictrs:
  storage:
    kind: "persistentVolumeClaim"
    pvc:
      storageClassName: "ceph-filesystem"
      size: 16Gi

postgres:
  enabled: true
  storage:
    kind: "persistentVolumeClaim"
    pvc:
      storageClassName: "ceph-filesystem"
      size: 8Gi

ingress:
  enabled: true
  className: nginx
  hosts:
    - lemmy.dudeami.win
  tls:
  - secretName: lemmy-dudeami-win-cert
    hosts:
      - lemmy.dudeami.win
  annotations:
    cert-manager.io/cluster-issuer: cluster-issuer

Bugs, help, etc

I'm new to lemmy so everything might not have been covered by this helm chart. I will actively help develop this chart for various usages. I would like to eventually support horizontal scaling via the postgres operator and figuring out a good way to horizontally scale lemmy instances.

About

A helm chart to help deploy a lemmy instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Smarty 100.0%