penpot
by Kubito
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
| Name | Description | Value |
|---|---|---|
global.postgresqlEnabled | Whether to deploy the Bitnami PostgreSQL chart as subchart. Check the official chart for configuration. | true |
global.redisEnabled | Whether to deploy the Bitnami Redis chart as subchart. Check the official chart for configuration. | true |
global.imagePullSecrets | Global Docker registry secret names as an array. | [] |
Common parameters
| Name | Description | Value |
|---|---|---|
serviceAccount.enabled | Specifies whether a ServiceAccount should be created. | true |
serviceAccount.annotations | Annotations for service account. Evaluated as a template. Only used if create is true. | {} |
serviceAccount.name | The name of the ServiceAccount to use. If not set and enabled is true, a name is generated using the fullname template. | "" |
Backend parameters
| Name | Description | Value |
|---|---|---|
backend.image.repository | The Docker repository to pull the image from. | penpotapp/backend |
backend.image.tag | The image tag to use. | 2.2.1 |
backend.image.imagePullPolicy | The image pull policy to use. | IfNotPresent |
backend.replicaCount | The number of replicas to deploy. | 1 |
backend.service.type | The service type to create. | ClusterIP |
backend.service.port | The service port to use. | 6060 |
backend.podSecurityContext.enabled | Enabled Penpot pods' security context. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod | true |
backend.podSecurityContext.fsGroup | Set Penpot pod's security context fsGroup | 1001 |
backend.containerSecurityContext.enabled | Enabled Penpot containers' security context. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod | true |
backend.containerSecurityContext.runAsUser | Set Penpot containers' security context runAsUser | 1001 |
backend.containerSecurityContext.allowPrivilegeEscalation | Set Penpot containers' security context allowPrivilegeEscalation | false |
backend.containerSecurityContext.capabilities.drop | Set Penpot containers' security context capabilities to be dropped | ["all"] |
backend.containerSecurityContext.readOnlyRootFilesystem | Set Penpot containers' security context readOnlyRootFilesystem | false |
backend.containerSecurityContext.runAsNonRoot | Set Penpot container's security context runAsNonRoot | true |
backend.affinity | Affinity for Penpot pods assignment. Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity | {} |
backend.nodeSelector | Node labels for Penpot pods assignment. Ref: https://kubernetes.io/docs/user-guide/node-selection/ | {} |
backend.tolerations | Tolerations for Penpot pods assignment. Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ | [] |
backend.resources.limits | The resources limits for the Penpot backend containers. Ref: https://kubernetes.io/docs/user-guide/compute-resources/ | {} |
backend.resources.requests | The requested resources for the Penpot backend containers. Ref: https://kubernetes.io/docs/user-guide/compute-resources/ | {} |
Frontend parameters
| Name | Description | Value |
|---|---|---|
frontend.image.repository | The Docker repository to pull the image from. | penpotapp/frontend |
frontend.image.tag | The image tag to use. | 2.2.1 |
frontend.image.imagePullPolicy | The image pull policy to use. | IfNotPresent |
frontend.replicaCount | The number of replicas to deploy. | 1 |
frontend.service.type | The service type to create. | ClusterIP |
frontend.service.port | The service port to use. Don't change unless you plan to configure NGINX yourself. | 80 |
frontend.ingress.enabled | Enable ingress record generation for Penpot frontend. | false |
frontend.ingress.annotations | Mapped annotations for the frontend ingress. | {} |
frontend.ingress.hosts | Array style hosts for the frontend ingress. | [] |
frontend.ingress.tls | Array style TLS secrets for the frontend ingress. | [] |
frontend.affinity | Affinity for Penpot pods assignment. Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity | {} |
frontend.nodeSelector | Node labels for Penpot pods assignment. Ref: https://kubernetes.io/docs/user-guide/node-selection/ | {} |
frontend.tolerations | Tolerations for Penpot pods assignment. Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ | [] |
frontend.resources.limits | The resources limits for the Penpot frontend containers. Ref: https://kubernetes.io/docs/user-guide/compute-resources/ | {} |
frontend.resources.requests | The requested resources for the Penpot frontend containers. Ref: https://kubernetes.io/docs/user-guide/compute-resources/ | {} |
Exporter parameters
| Name | Description | Value |
|---|---|---|
exporter.image.repository | The Docker repository to pull the image from. | penpotapp/exporter |
exporter.image.tag | The image tag to use. | 2.2.1 |
exporter.image.imagePullPolicy | The image pull policy to use. | IfNotPresent |
exporter.replicaCount | The number of replicas to deploy. | 1 |
exporter.service.type | The 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartpenpot is pinned at v1.2.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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