plane-ce

by Plane Software Inc

Helm chartv1.9.2App 1.5.1AGPL-3.0Verified publisher

Meet Plane. An open-source software development tool to manage issues, sprints, and product roadmaps with peace of mind.

About this chart

Plane-CE Helm Chart

Pre-requisite

  • A working Kubernetes cluster
  • kubectl and helm on the client system that you will use to install our Helm charts
  • An ingress controller installed in your cluster:
    • Traefik — install via Helm: traefik/traefik
      helm repo add traefik https://traefik.github.io/charts
      helm repo update
      helm upgrade --install traefik traefik/traefik \
        --create-namespace \
        --namespace traefik \
        --wait
      
    • nginx — install via Helm: ingress-nginx/ingress-nginx
      helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
      helm repo update
      helm install ingress-nginx ingress-nginx/ingress-nginx --namespace ingress-nginx --create-namespace
      

Installing Plane

  1. Open Terminal or any other command-line app that has access to Kubernetes tools on your local system.

  2. Add Helm Repo

    helm repo add makeplane https://helm.plane.so/
    
  3. Set-up and customization

    • Quick set-up

      This is the fastest way to deploy Plane with default settings. This will create stateful deployments for Postgres, Rabbitmq, Redis, and Minio with a persistent volume claim using the default storage class. This also sets up the ingress routes for you using nginx ingress class.

      To customize this, see Custom ingress routes below.

      Continue to be on the same Terminal window as you have so far, copy the code below, and paste it on your Terminal screen.

        helm upgrade --install plane-app makeplane/plane-ce \
            --create-namespace \
            --namespace plane-ce \
            --set planeVersion=v1.5.1 \
            --set ingress.appHost="plane.example.com" \
            --set ingress.minioHost="plane-minio.example.com" \
            --set ingress.rabbitmqHost="plane-mq.example.com" \
            --set ingress.ingressClass=nginx \
            --timeout 10m \
            --wait \
            --wait-for-jobs
      

      This is the basic setup required for Plane-CE. You can customize the default values for namespace and appname as needed. Additional settings can be configured by referring to the Configuration Settings section.

      Using a Custom StorageClass

      To specify a custom StorageClass for Plane-CE components, add the following options to the above helm upgrade --install command:

      --set postgres.storageClass=<your-storageclass-name>
      --set redis.storageClass=<your-storageclass-name>
      --set minio.storageClass=<your-storageclass-name>
      --set rabbitmq.storageClass=<your-storageclass-name>
      
    • Advance set-up

      For more control over your set-up, run the script below to download the values.yaml file and and edit using any editor like Vim or Nano.

      helm  show values makeplane/plane-ce > values.yaml
      vi values.yaml
      

      See Available customizations for more details.

      After saving the values.yaml file, continue to be on the same Terminal window as on the previous steps, copy the code below, and paste it on your Terminal screen.

      helm upgrade --install plane-app makeplane/plane-ce \
          --create-namespace \
          --namespace plane-ce \
          -f values.yaml \
          --timeout 10m \
          --wait \
          --wait-for-jobs
      

Migrating the Ingress Controller

The chart selects between two ingress templates based on ingress.ingressClass:

ingressClass valueTemplate renderedResource kind
traefik (or starts with it)templates/ingress-traefik.yamltraefik.io/v1alpha1 IngressRoute
Any other value (e.g. nginx)templates/ingress.yamlnetworking.k8s.io/v1 Ingress

The default value is "traefik". If you previously relied on the implicit default without setting ingressClass explicitly, your cluster is running Traefik IngressRoute CRDs.

Switching from Traefik to a standard Ingress controller (e.g. nginx)

  1. Install your target ingress controller if it is not already running (see Pre-requisites above).

  2. Update ingress.ingressClass in your values.yaml:

    ingress:
      ingressClass: "nginx"   # or whichever class your controller exposes
    
  3. Run helm upgrade:

    helm upgrade plane-app makeplane/plane-ce \
      --namespace plane-ce \
      -f values.yaml \
      --wait
    

    After the upgrade the IngressRoute and Middleware resources are no longer rendered and will be orphaned — delete them manually:

    kubectl delete ingressroute -n plane-ce -l app.kubernetes.io/instance=plane-app
    kubectl delete middleware    -n plane-ce -l app.kubernetes.io/instance=plane-app
    
  4. Verify that the new Ingress is admitted and routes traffic before removing the old Traefik resources.

Switching from a standard Ingress controller to Traefik

  1. Install Traefik with CRD support enabled (see Pre-requisites above).

  2. Update ingress.ingressClass:

    ingress:
      ingressClass: "traefik"
    
  3. Run helm upgrade. The old Ingress resource is orphaned — delete it:

    kubectl delete ingress -n plane-ce <release-name>-ingress
    

Key values controlling template selection

ValueDefaultEffect
ingress.enabledtrueMaster switch — set to false to render neither template.
ingress.appHost(empty)Required for both templates; no ingress is rendered without it.
ingress.ingressClasstraefikSelects which template is active (see table above).
ingress.traefik.*see valuesTraefik-only settings (middleware body limit). Ignored when using the standard Ingress.
ingress.ingress_annotations{}Standard Ingress annotations. Ignored when ingressClass starts with traefik.

Configuration Settings Available

Plane Version

SettingDefaultRequiredDescription
planeVersionv1.5.1Yes
rolloutOnUpgradeautoWhen helm upgrade restarts pods. Every workload carries checksum/config, a hash of the config this chart renders for it, so a change to the image tag, the pod spec or that config restarts it and nothing else does. auto also restarts on every upgrade when the image tag isn't a release version (doesn't start with 1.2 or v1.2, e.g. stable, latest, a branch tag), because a hash can't see a new build pushed under the same tag. always restarts every workload on every upgrade (the behaviour before 1.9.0); never restarts only on a tag, spec or config change.

Postgress DB Setup

SettingDefaultRequiredDescription
postgres.local_setuptruePlane uses postgres as the primary database to store all the transactional data. This database can be hosted within kubernetes as part of helm chart deployment or can be used as hosted service remotely (e.g. aws rds or similar services). Set this to true when you choose to setup stateful deployment of postgres. Mark it as false when using a remotely hosted database
postgres.imagepostgres:15.7-alpineUsing this key, user must provide the docker image name to setup the stateful deployment of postgres. (must be set when postgres.local_setup=true)
postgres.pullPolicyIfNotPresentUsing this key, user can set the pull policy for the stateful deployment of postgres. (must be set when postgres.local_setup=true)
postgres.servicePort5432This key sets the default port number to be used while setting up stateful deployment of postgres.
postgres.volumeSize5GiWhile setting up the stateful deployment, while creating the persistant volume, volume allocation size need to be provided. This key helps you set the volume allocation size. Unit of this value must be in Mi (megabyte) or Gi (gigabyte)
env.pgdb_usernameplaneDatabase credentials are requried to access the hosted stateful deployment of postgres. Use this key to set the username for the stateful deployment.
env.pgdb_passwordplaneDatabase credentials are requried to access the hosted stateful deployment of postgres. Use this key to set the password for the stateful deployment.
env.pgdb_nameplaneDatabase name to be used while setting up stateful deployment of Postgres
env.pgdb_remote_urlUsers can also decide to use the remote hosted database and link to Plane deployment. Ignoring all the above keys, set postgres.local_setup to false and set this key with remote connection url.
postgres.storageClass<k8s-default-storage-class>Creating the persitant volumes for the stateful deployments needs the storageClass name. Set the correct value as per your kubernetes cluster configuration.
postgres.assign_cluster_ipfalseSet it to true if you want to assign ClusterIP to the service
postgres.nodeSelector{}This key allows you to set the node selector for the stateful deployment of postgres. This is useful when you want to run the deployment on specific nodes in your Kubernetes cluster.
postgres.tolerations[]This key allows you to set the tolerations for the stateful deployment of

Deploy plane-ce with OpenTenant

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