penpot

by Kubito

Helm chartv1.2.1App 2.2.1Verified publisher

Kubito Penpot Helm Chart

About this chart

Penpot

Penpot is the first Open Source design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, Penpot is web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return.

TL;DR

helm repo add kubitodev https://charts.kubito.dev
helm install penpot kubitodev/penpot

Introduction

Penpot makes design and prototyping accessible to every team in the world. It has a clear focus on design and code teams and its capabilities reflect exactly that. The less hand-off mindset, the more fun for everyone. Being web based, Penpot is not dependent on operating systems or local installations, you will only need to run a modern browser. Using SVG as no other design and prototyping tool does, Penpot files sport compatibility with most of the vectorial tools, are tech friendly and extremely easy to use on the web. It makes sure you will always own your work.

Prerequisites

  • Kubernetes 1.18+
  • Helm 3.2.0+

Installing the Chart

To install the chart with the release name penpot:

helm install penpot kubitodev/penpot

The command deploys penpot on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the penpot deployment:

helm delete penpot

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

Parameters

Global parameters

NameDescriptionValue
global.postgresqlEnabledWhether to deploy the Bitnami PostgreSQL chart as subchart. Check the official chart for configuration.true
global.redisEnabledWhether to deploy the Bitnami Redis chart as subchart. Check the official chart for configuration.true
global.imagePullSecretsGlobal Docker registry secret names as an array.[]

Common parameters

NameDescriptionValue
serviceAccount.enabledSpecifies whether a ServiceAccount should be created.true
serviceAccount.annotationsAnnotations for service account. Evaluated as a template. Only used if create is true.{}
serviceAccount.nameThe name of the ServiceAccount to use. If not set and enabled is true, a name is generated using the fullname template.""

Backend parameters

NameDescriptionValue
backend.image.repositoryThe Docker repository to pull the image from.penpotapp/backend
backend.image.tagThe image tag to use.2.2.1
backend.image.imagePullPolicyThe image pull policy to use.IfNotPresent
backend.replicaCountThe number of replicas to deploy.1
backend.service.typeThe service type to create.ClusterIP
backend.service.portThe service port to use.6060
backend.podSecurityContext.enabledEnabled Penpot pods' security context. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-podtrue
backend.podSecurityContext.fsGroupSet Penpot pod's security context fsGroup1001
backend.containerSecurityContext.enabledEnabled Penpot containers' security context. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-podtrue
backend.containerSecurityContext.runAsUserSet Penpot containers' security context runAsUser1001
backend.containerSecurityContext.allowPrivilegeEscalationSet Penpot containers' security context allowPrivilegeEscalationfalse
backend.containerSecurityContext.capabilities.dropSet Penpot containers' security context capabilities to be dropped["all"]
backend.containerSecurityContext.readOnlyRootFilesystemSet Penpot containers' security context readOnlyRootFilesystemfalse
backend.containerSecurityContext.runAsNonRootSet Penpot container's security context runAsNonRoottrue
backend.affinityAffinity for Penpot pods assignment. Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity{}
backend.nodeSelectorNode labels for Penpot pods assignment. Ref: https://kubernetes.io/docs/user-guide/node-selection/{}
backend.tolerationsTolerations for Penpot pods assignment. Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/[]
backend.resources.limitsThe resources limits for the Penpot backend containers. Ref: https://kubernetes.io/docs/user-guide/compute-resources/{}
backend.resources.requestsThe requested resources for the Penpot backend containers. Ref: https://kubernetes.io/docs/user-guide/compute-resources/{}

Frontend parameters

NameDescriptionValue
frontend.image.repositoryThe Docker repository to pull the image from.penpotapp/frontend
frontend.image.tagThe image tag to use.2.2.1
frontend.image.imagePullPolicyThe image pull policy to use.IfNotPresent
frontend.replicaCountThe number of replicas to deploy.1
frontend.service.typeThe service type to create.ClusterIP
frontend.service.portThe service port to use. Don't change unless you plan to configure NGINX yourself.80
frontend.ingress.enabledEnable ingress record generation for Penpot frontend.false
frontend.ingress.annotationsMapped annotations for the frontend ingress.{}
frontend.ingress.hostsArray style hosts for the frontend ingress.[]
frontend.ingress.tlsArray style TLS secrets for the frontend ingress.[]
frontend.affinityAffinity for Penpot pods assignment. Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity{}
frontend.nodeSelectorNode labels for Penpot pods assignment. Ref: https://kubernetes.io/docs/user-guide/node-selection/{}
frontend.tolerationsTolerations for Penpot pods assignment. Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/[]
frontend.resources.limitsThe resources limits for the Penpot frontend containers. Ref: https://kubernetes.io/docs/user-guide/compute-resources/{}
frontend.resources.requestsThe requested resources for the Penpot frontend containers. Ref: https://kubernetes.io/docs/user-guide/compute-resources/{}

Exporter parameters

NameDescriptionValue
exporter.image.repositoryThe Docker repository to pull the image from.penpotapp/exporter
exporter.image.tagThe image tag to use.2.2.1
exporter.image.imagePullPolicyThe image pull policy to use.IfNotPresent
exporter.replicaCountThe number of replicas to deploy.1
exporter.service.typeThe service type to create.ClusterIP
`exporter.serv

Deploy penpot with OpenTenant

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