dokuwiki
by [riftbit]
DokuWiki is a standards-compliant, simple to use wiki optimized for creating documentation. It is targeted at developer teams, workgroups, and small companies. All data is stored in plain text files, so no database is required.
About this chart
DokuWiki
DokuWiki is a standards-compliant, simple to use wiki optimized for creating documentation. It is targeted at developer teams, workgroups, and small companies. All data is stored in plain text files, so no database is required.
TL;DR
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/dokuwiki
Introduction
This chart bootstraps a DokuWiki deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters. This chart has been tested to work with NGINX Ingress, cert-manager, fluentd and Prometheus on top of the BKPR.
Prerequisites
- Kubernetes 1.12+
- Helm 3.1.0
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release bitnami/dokuwiki
The command deploys DokuWiki 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 my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override dokuwiki.fullname template with a string (will prepend the release name) | "" |
fullnameOverride | String to fully override dokuwiki.fullname template with a string | "" |
commonAnnotations | Annotations to add to all deployed objects | {} |
commonLabels | Labels to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release (evaluated as a template). | [] |
Dokuwiki parameters
| Name | Description | Value |
|---|---|---|
image.registry | DokuWiki image registry | docker.io |
image.repository | DokuWiki image repository | bitnami/dokuwiki |
image.tag | DokuWiki image tag | 20200729.0.0-debian-10-r370 |
image.pullPolicy | Image pull policy | IfNotPresent |
image.pullSecrets | Image pull policy | [] |
image.debug | Enable image debugging | false |
hostAliases | Add deployment host aliases | [] |
dokuwikiUsername | User of the application | user |
dokuwikiPassword | Application password | "" |
existingSecret | Use an existing secret with the dokuwiki password | "" |
dokuwikiEmail | Admin email | [email protected] |
dokuwikiFullName | User's Full Name | User Name |
dokuwikiWikiName | Wiki name | My Wiki |
persistence.enabled | Enable persistence using PVC | true |
persistence.storageClass | PVC Storage Class for DokuWiki volume | "" |
persistence.accessMode | PVC Access Mode for DokuWiki volume | ReadWriteOnce |
persistence.size | PVC Storage Request for DokuWiki volume | 8Gi |
persistence.existingClaim | Name of an existing PVC to be used | "" |
podSecurityContext.enabled | Enable securityContext on for DokuWiki deployment | true |
podSecurityContext.fsGroup | Group to configure permissions for volumes | 1001 |
containerSecurityContext.enabled | Enable securityContext on for DokuWiki deployment | true |
containerSecurityContext.runAsUser | User for the securityContext | 1001 |
resources.requests | The requested resources for the container | {} |
livenessProbe.enabled | Enable/disable the liveness probe | true |
livenessProbe.initialDelaySeconds | Delay before liveness probe is initiated | 120 |
livenessProbe.periodSeconds | How often to perform the probe | 10 |
livenessProbe.timeoutSeconds | When the probe times out | 5 |
livenessProbe.failureThreshold | Minimum consecutive failures to be considered failed | 6 |
livenessProbe.successThreshold | Minimum consecutive successes to be considered successful | 1 |
readinessProbe.enabled | Enable/disable the readiness probe | true |
readinessProbe.initialDelaySeconds | Delay before readinessProbe is initiated | 30 |
readinessProbe.periodSeconds | Period seconds for readinessProbe | 10 |
readinessProbe.timeoutSeconds | When the probe times out | 5 |
readinessProbe.failureThreshold | Minimum consecutive failures to be considered failed | 6 |
readinessProbe.successThreshold | Minimum consecutive successes to be considered successful | 1 |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match Ignored if affinity is set. | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set. | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | Tolerations for pod assignment | [] |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
extraEnvVars | An array to add extra env vars | [] |
extraEnvVarsCM | ConfigMap containing extra env vars | "" |
extraEnvVarsSecret | Secret containing extra env vars (in case of sensitive data) | "" |
podAnnotations | Pod annotations | {} |
customLivenessProbe | Override default liveness probe | {} |
customReadinessProbe | Override default readiness probe | {} |
extraVolumes | Array of extra volumes to be added to the deployment (evaluated as template). Requires setting extraVolumeMounts | [] |
extraVolumeMounts | Array of extra volume mounts to be added to the container (evaluated as template). Normally used with extraVolumes. | [] |
lifecycleHooks | LifecycleHook to set additional configuration at startup. Evaluated as a template |
Deploy dokuwiki with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dokuwiki 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 chartdokuwiki is pinned at v11.2.6 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