Difference between revisions of "Helm install mediawiki"
Jump to navigation
Jump to search
Line 31: | Line 31: | ||
CHART VERSION: 17.2.0 | CHART VERSION: 17.2.0 | ||
APP VERSION: 1.40.1 | APP VERSION: 1.40.1 | ||
− | + | ||
− | ** Please be patient while the chart is being deployed | + | ** Please be patient while the chart is being deployed |
− | + | ||
**############################################################################### | **############################################################################### | ||
### ERROR: You did not provide an external host in your 'helm install' call ### | ### ERROR: You did not provide an external host in your 'helm install' call ### | ||
Line 45: | Line 45: | ||
NOTE: It may take a few minutes for the LoadBalancer IP to be available. | NOTE: It may take a few minutes for the LoadBalancer IP to be available. | ||
Watch the status with: '[[kubectl get svc --namespace default -w mymediawiki]]' | Watch the status with: '[[kubectl get svc --namespace default -w mymediawiki]]' | ||
− | + | ||
export APP_HOST=$(kubectl get svc --namespace default mymediawiki --template "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}") | export APP_HOST=$(kubectl get svc --namespace default mymediawiki --template "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}") | ||
export APP_PASSWORD=$(kubectl get secret --namespace default mymediawiki -o jsonpath="{.data.mediawiki-password}" | base64 -d) | export APP_PASSWORD=$(kubectl get secret --namespace default mymediawiki -o jsonpath="{.data.mediawiki-password}" | base64 -d) | ||
Line 51: | Line 51: | ||
export MARIADB_PASSWORD=$(kubectl get secret --namespace default mymediawiki-mariadb -o jsonpath="{.data.mariadb-password}" | base64 -d) | export MARIADB_PASSWORD=$(kubectl get secret --namespace default mymediawiki-mariadb -o jsonpath="{.data.mariadb-password}" | base64 -d) | ||
− | 2. Complete your Mediawiki deployment by running: | + | 2. Complete your Mediawiki deployment by running: |
− | + | ||
helm upgrade --namespace default mymediawiki oci://registry-1.docker.io/bitnamicharts/mediawiki \ | helm upgrade --namespace default mymediawiki oci://registry-1.docker.io/bitnamicharts/mediawiki \ | ||
--set mediawikiHost=$APP_HOST,mediawikiPassword=$APP_PASSWORD,mariadb.auth.rootPassword=$MARIADB_ROOT_PASSWORD,mariadb.auth.password=$MARIADB_PASSWORD | --set mediawikiHost=$APP_HOST,mediawikiPassword=$APP_PASSWORD,mariadb.auth.rootPassword=$MARIADB_ROOT_PASSWORD,mariadb.auth.password=$MARIADB_PASSWORD | ||
− | + | ||
− | 2. Get your MediaWiki login credentials by running: | + | 2. Get your MediaWiki login credentials by running: |
− | + | ||
echo Username: user | echo Username: user | ||
echo Password: $(kubectl get secret --namespace default mymediawiki -o jsonpath="{.data.mediawiki-password}" | base64 -d) | echo Password: $(kubectl get secret --namespace default mymediawiki -o jsonpath="{.data.mediawiki-password}" | base64 -d) | ||
− | |||
== Errors == | == Errors == |
Revision as of 08:58, 6 February 2024
helm install my-release oci://registry-1.docker.io/bitnamicharts/mediawiki
helm install my-release oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=wiki.example.com
helm install my-release oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=wiki.example.com --set mariadb.enabled=true
helm install my-release oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=wiki.example.com mariadb.auth.rootPassword=password
ingress.hostname mediawiki.local
helm install mymediawiki bitnami/mediawiki
Contents
Examples
helm install my-release oci://registry-1.docker.io/bitnamicharts/mediawiki
NAME: mymediawiki LAST DEPLOYED: Wed Jan 3 16:54:21 2024 NAMESPACE: default STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: CHART NAME: mediawiki CHART VERSION: 17.2.0 APP VERSION: 1.40.1 ** Please be patient while the chart is being deployed **############################################################################### ### ERROR: You did not provide an external host in your 'helm install' call ### ############################################################################### This deployment will be incomplete until you configure Mediawiki with a resolvable host. To configure Mediawiki with the URL of your service: 1. Get the Mediawiki URL by running: NOTE: It may take a few minutes for the LoadBalancer IP to be available. Watch the status with: 'kubectl get svc --namespace default -w mymediawiki' export APP_HOST=$(kubectl get svc --namespace default mymediawiki --template "Template:Range (index .status.loadBalancer.ingress 0){{ . }}Template:End") export APP_PASSWORD=$(kubectl get secret --namespace default mymediawiki -o jsonpath="{.data.mediawiki-password}" | base64 -d) export MARIADB_ROOT_PASSWORD=$(kubectl get secret --namespace default mymediawiki-mariadb -o jsonpath="{.data.mariadb-root-password}" | base64 -d) export MARIADB_PASSWORD=$(kubectl get secret --namespace default mymediawiki-mariadb -o jsonpath="{.data.mariadb-password}" | base64 -d) 2. Complete your Mediawiki deployment by running: helm upgrade --namespace default mymediawiki oci://registry-1.docker.io/bitnamicharts/mediawiki \ --set mediawikiHost=$APP_HOST,mediawikiPassword=$APP_PASSWORD,mariadb.auth.rootPassword=$MARIADB_ROOT_PASSWORD,mariadb.auth.password=$MARIADB_PASSWORD 2. Get your MediaWiki login credentials by running: echo Username: user echo Password: $(kubectl get secret --namespace default mymediawiki -o jsonpath="{.data.mediawiki-password}" | base64 -d)Errors
helm install my-mediawiki oci://registry1.docker.io/bitnamicharts/mediawiki Error: INSTALLATION FAILED: Get "https://registry1.docker.io/v2/bitnamicharts/mediawiki/tags/list": dial tcp: lookup registry1.docker.io: no such hostRelated
* Bitnami *helm show values bitnami/mediawiki
* helm install mediawiki-mariadb --set auth.rootPassword=password,auth.database=mediawiki oci://registry-1.docker.io/bitnamicharts/mariadbSee also
*helm install [ --set | --dry-run | --debug | --timeout | --namespace | --create-namespace | --generate-name | --help ] values.yaml
,helm upgrade --install
* Mediawiki: Wikipedia, Install Mediawiki, Install Mediawiki using docker, Mediawiki Release Notes, Manual:Images,php-fpm
, Scribunto, Restart mediawiki, NOTOC,/var/www/html/LocalSettings.php (file)
, wikiless, Nowiki, Wikiapiary, modules, templates, extensions, MediaWiki API
Advertising: