Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#46843] Include helm charts documentation directly in the main docum… (#12398)

Andrej Sandorfb62f73f562c3
diff --git a/docs/installation-and-operations/installation/helm-chart/README.md b/docs/installation-and-operations/installation/helm-chart/README.md
new file mode 100644
index 00000000000..9a5fc20597e
--- /dev/null
+++ b/docs/installation-and-operations/installation/helm-chart/README.md
@@ -0,0 +1,84 @@
+---
+sidebar_navigation:
+ title: Helm Chart
+ priority: 280
+---
+
+# Helm Chart
+
+## Basic commands
+
+```bash
+helm repo add openproject https://charts.openproject.org
+helm upgrade --install my-openproject openproject/openproject
+```
+
+## Introduction
+
+This chart bootstraps an OpenProject instance and optional with PostgreSQL database and instance and Memcached.
+
+## Prerequisites
+- Kubernetes 1.16+
+- Helm 3.0.0+
+- PV provisioner support in the underlying infrastructure
+
+## Installing the Chart
+
+You can install the chart with the release name `my-openproject` in its own namespace like this:
+
+```bash
+helm upgrade --create-namespace --namespace openproject --install my-openproject openproject/openproject
+```
+
+The namespace is optional, but using it does make it easier to manage the resources
+created for OpenProject.
+
+## Updating the configuration
+
+The OpenProject configuration can be changed through environment variables.
+You can use `helm upgrade` to set individual values.
+
+For instance:
+
+```
+helm upgrade --reuse-values --namespace openproject my-openproject --set environment.OPENPROJECT_IMPRESSUM__LINK=https://www.openproject.org/legal/imprint/ --set environment.OPENPROJECT_APP__TITLE='My OpenProject'
+```
+
+Find out more about the [configuration](../../configuration/environment/) section.
+
+## Uninstalling the Chart
+
+To install the release with name my-openproject:
+
+```bash
+helm uninstall --namespace openproject my-openproject
+```
+
+> **Note**: This will not remove the persistent volumes created while installing.
+> The easiest way to ensure all PVCs are deleted as well is to delete the openproject namespace
+> (`kubectl delete namespace openproject`). If you installed OpenProject into the default
+> namespace, you can delete the volumes manually one by one.
+
+## Troubleshooting
+
+### Web deployment stuck in `CrashLoopBackoff`
+
+Describing the pod may yield an error like the following:
+
+```
+65s) kubelet Error: failed to start container "openproject": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: failed to write "400000": write /sys/fs/cgroup/cpu,cpuacct/kubepods/burstable/pod990fa25e-dbf0-4fb7-9b31-9d7106473813/openproject/cpu.cfs_quota_us: invalid argument: unknown
+```
+
+This can happen when using **minikube**. By default, it initialised the cluster with 2 CPUs only.
+
+Either increase the cluster's resources to have at least 4 CPUs or install the OpenProject helm chart with a reduced CPU limit by adding the following option to the install command:
+
+```
+--set resources.limits.cpu=2
+```
+
+### Root access in OpenShift
+
+The OpenProject container performs tasks as root during setup.
+In [OpenShift](https://www.redhat.com/en/technologies/cloud-computing/openshift) this is not allowed. You will have to [add](https://examples.openshift.pub/deploy/scc-anyuid/) the `anyuid` SCC (Security Context Constraint)
+to OpenProject's service account.
diff --git a/docs/installation-and-operations/installation/kubernetes/README.md b/docs/installation-and-operations/installation/kubernetes/README.md
index 60fbcae8c8a..734fa6db1d7 100644
--- a/docs/installation-and-operations/installation/kubernetes/README.md
+++ b/docs/installation-and-operations/installation/kubernetes/README.md
@@ -1,5 +1,7 @@
---
-sidebar_navigation: false
+sidebar_navigation:
+ title: Kubernetes
+ priority: 290
---
# Kubernetes
@@ -8,7 +10,3 @@ Kubernetes is a container orchestration tool. As such it can use the
OpenProject docker container in the same manner as shown in the [docker section](../docker/#one-container-per-process-recommended).
In the [openproject-deploy](https://github.com/opf/openproject-deploy/blob/stable/12/kubernetes/README.md) repository we provide further information and an exemplary set of YAML files defining a complete OpenProject setup on Kubernetes.
-
-## Helm
-
-You can find instructions for the official Helm charts under https://charts.openproject.org.