This is basic demo running wikimedia inside kubernetes in one pod.
-
use helm3
-
wikimedia is packaged as single container with apache+php+sqlite database.
-
I have sqlite db and LocalSettings.php files inside the same repository under config
-
I fetch sqlite db config tar, wikimedia tar and LocalSettings.php file using initContainer.
helm repo add wikimedia https://shivpathak.github.io/wikimedia/
helm repo update
helm search repo wiki
helm install demo wikimedia/helm-chart-wikimedia
After installation follow the screen to port-forward and access it over http://localhost:8080
username: wikimedia
password: wikimedia@123
Note:
-
Not all features might be available as all php extensions are not installed in container:)
-
Tested on kubernetes 1.16+ and minikube version v1.13.0 with docker engine version 19.03.12
helm uninstall demo
Click on helm-chart