Skip to content

Latest commit

 

History

History
 
 

dokuwiki

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

DokuWiki

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 install stable/dokuwiki

Introduction

This chart bootstraps a DokuWiki deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.4+ with Beta APIs enabled
  • PV provisioner support in the underlying infrastructure

Installing the Chart

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

$ helm install --name my-release stable/dokuwiki

The command deploys DokuWiki on the Kubernetes cluster in the default configuration. The configuration 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.

Configuration

The following tables lists the configurable parameters of the DokuWiki chart and their default values.

Parameter Description Default
image DokuWiki image bitnami/dokuwiki:{VERSION}
imagePullPolicy Image pull policy Always if imageTag is latest, else IfNotPresent
dokuwikiUsername User of the application user
dokuwikiFullName User's full name Full Name
dokuwikiPassword Application password random 10 character alphanumeric string
dokuwikiEmail User email user@example.com
dokuwikiWikiName Wiki name My Wiki
serviceType Kubernetes Service type LoadBalancer
persistence.enabled Enable persistence using PVC true
persistence.apache.storageClass PVC Storage Class for apache volume nil (uses alpha storage class annotation)
persistence.apache.accessMode PVC Access Mode for apache volume ReadWriteOnce
persistence.apache.size PVC Storage Request for apache volume 1Gi
persistence.dokuwiki.storageClass PVC Storage Class for DokuWiki volume nil (uses alpha storage class annotation)
persistence.dokuwiki.accessMode PVC Access Mode for DokuWiki volume ReadWriteOnce
persistence.dokuwiki.size PVC Storage Request for DokuWiki volume 8Gi
resources CPU/Memory resource requests/limits Memory: 512Mi, CPU: 300m

The above parameters map to the env variables defined in bitnami/dokuwiki. For more information please refer to the bitnami/dokuwiki image documentation.

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install --name my-release \
  --set dokuwikiUsername=admin,dokuwikiPassword=password \
    stable/dokuwiki

The above command sets the DokuWiki administrator account username and password to admin and password respectively.

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml stable/dokuwiki

Tip: You can use the default values.yaml

Persistence

The Bitnami DokuWiki image stores the DokuWiki data and configurations at the /bitnami/dokuwiki and /bitnami/apache paths of the container.

Persistent Volume Claims are used to keep the data across deployments. This is known to work in GCE, AWS, and minikube. See the Configuration section to configure the PVC or to disable persistence.