plone

by IMIO

Helm chartv0.0.2App 6.1Apache-2.0Verified publisher

A Helm chart for Plone CMS on Kubernetes with PostgreSQL, Solr, and Memcached

About this chart

Plone Helm Chart

This Helm chart deploys Plone CMS on Kubernetes with all required dependencies.

Components

This chart includes the following components:

  • Plone Instance: Main Plone CMS application
  • PostgreSQL: Database backend using RelStorage
  • Solr: Search engine integration (version 9.6.1)
  • Memcached: Caching layer

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.0+
  • PV provisioner support in the underlying infrastructure (for persistent volumes)

Installation

To install the chart with the release name my-plone:

helm install my-plone .

To install with custom values:

helm install my-plone . -f custom-values.yaml

Configuration

The following table lists the configurable parameters and their default values.

Plone Configuration

ParameterDescriptionDefault
replicaCountNumber of Plone replicas1
image.repositoryPlone image repositoryplone
image.tagPlone image taglatest
image.pullPolicyImage pull policyIfNotPresent
service.typeKubernetes service typeClusterIP
service.portService port8080

PostgreSQL Configuration

ParameterDescriptionDefault
postgresql.enabledEnable PostgreSQLtrue
postgresql.auth.databaseDatabase namezope
postgresql.auth.usernameDatabase userzope
postgresql.auth.passwordDatabase passwordzope
postgresql.primary.persistence.enabledEnable persistencetrue
postgresql.primary.persistence.sizePVC size8Gi

Solr Configuration

ParameterDescriptionDefault
solr.enabledEnable Solrtrue
solr.image.repositorySolr image repositorysolr
solr.image.tagSolr image tag9.6.1-slim
solr.portSolr port8983
solr.persistence.enabledEnable persistencetrue
solr.persistence.sizePVC size8Gi

Memcached Configuration

ParameterDescriptionDefault
memcached.enabledEnable Memcachedtrue
memcached.image.repositoryMemcached image repositorymemcached
memcached.image.tagMemcached image tag1.5.20

Ingress Configuration

ParameterDescriptionDefault
ingress.enabledEnable ingressfalse
ingress.classNameIngress class name""
ingress.hosts[0].hostHostnameportal.localhost

Environment Variables

All Plone environment variables can be configured under plone.env in values.yaml. Default configuration includes:

  • RelStorage configuration for PostgreSQL
  • Solr integration settings
  • Memcached settings
  • Plone extensions and language settings
  • Authentication settings (Authentic integration)

Uninstallation

To uninstall/delete the my-plone deployment:

helm uninstall my-plone

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

Persistence

By default, the chart creates PersistentVolumeClaims for both PostgreSQL and Solr. You can disable persistence by setting:

postgresql:
  primary:
    persistence:
      enabled: false

solr:
  persistence:
    enabled: false

Upgrading

To upgrade the chart:

helm upgrade my-plone .

Notes

  • The Plone image repository should be updated to point to your actual Plone image
  • Database credentials should be changed in production environments
  • For production use, consider enabling ingress and configuring proper hostnames
  • The chart uses service name templating for PostgreSQL and Solr to ensure proper DNS resolution within the cluster

Deploy plone with OpenTenant

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