mediawiki
MediaWiki is the free and open source wiki software that powers Wikipedia. Used by thousands of organizations, it is extremely powerful, scalable software and a feature-rich wiki implementation.
About this chart
MediaWiki packaged by Bitnami
MediaWiki is the free and open source wiki software that powers Wikipedia. Used by thousands of organizations, it is extremely powerful, scalable software and a feature-rich wiki implementation.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/mediawiki
Introduction
This chart bootstraps a MediaWiki deployment on a Kubernetes cluster using the Helm package manager.
It also packages the Bitnami MariaDB chart which is required for bootstrapping a MariaDB deployment for the database requirements of the MediaWiki application.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.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 my-repo/mediawiki
The command deploys MediaWiki 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 common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Default Kubernetes cluster domain | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
Mediawiki parameters
| Name | Description | Value |
|---|---|---|
image.registry | MediaWiki image registry | docker.io |
image.repository | MediaWiki image repository | bitnami/mediawiki |
image.tag | MediaWiki image tag (immutable tags are recommended) | 1.38.4-debian-11-r6 |
image.digest | MediaWiki image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | Image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Enable MediaWiki image debug mode | false |
hostAliases | Deployment pod host aliases | [] |
mediawikiUser | User of the application | user |
mediawikiPassword | Application password | "" |
mediawikiSecret | Existing Secret containing the password for the mediawikiUser user; must contain the key mediawiki-password and optional key smtp-password | "" |
mediawikiEmail | Admin email | [email protected] |
mediawikiName | Name for the wiki | My Wiki |
mediawikiHost | Mediawiki host to create application URLs | "" |
allowEmptyPassword | Allow DB blank passwords | yes |
smtpHost | SMTP host | "" |
smtpPort | SMTP port | "" |
smtpHostID | SMTP host ID | "" |
smtpUser | SMTP user | "" |
smtpPassword | SMTP password | "" |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
lifecycleHooks | for the Mediawiki container(s) to automate configuration before or after startup | {} |
extraEnvVars | Extra environment variables to be set on Mediawki container | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | "" |
extraEnvVarsSecret | Name of existing Secret containing extra env vars | "" |
Mediawiki deployment parameters
| Name | Description | Value |
|---|---|---|
updateStrategy.type | StrategyType can be set to RollingUpdate or OnDelete | RollingUpdate |
podSecurityContext.enabled | Enable Mediawiki pods' Security Context | true |
podSecurityContext.fsGroup | Group ID for the volumes of the pod | 1001 |
containerSecurityContext.enabled | Enable Mediawiki containers' SecurityContext | true |
containerSecurityContext.runAsUser | User ID to run Mediawiki containers | 1001 |
containerSecurityContext.runAsNonRoot | Set Mediawiki container's Security Context runAsNonRoot | true |
resources.limits | The resources limits for the Mediawki container | {} |
resources.requests | The requested resources for the Mediawki container | {} |
startupProbe.enabled | Enable startupProbe | false |
startupProbe.httpGet.path | Request path for startupProbe | /api.php?action=query&meta=siteinfo&format=none |
startupProbe.httpGet.port | Port for startupProbe | http |
startupProbe.httpGet.httpHeaders | Headers for startupProbe | [] |
startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 120 |
startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 5 |
startupProbe.failureThreshold | Failure threshold for startupProbe | 6 |
startupProbe.successThreshold | Success threshold for startupProbe | 1 |
livenessProbe.enabled | Enable livenessProbe | true |
livenessProbe.httpGet.path | Request path for livenessProbe | /api.php?action=query&meta=siteinfo&format=none |
livenessProbe.httpGet.port | Port for livenessProbe | http |
livenessProbe.httpGet.httpHeaders | Headers for livenessProbe |
Deploy mediawiki with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mediawiki 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 chartmediawiki is pinned at v14.3.7 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