Difference between revisions of "Helm install mediawiki"
Jump to navigation
Jump to search
(47 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | * https://github.com/bitnami/charts/tree/main/bitnami/mediawiki/#parameters | ||
− | + | helm install my-release [[oci://]]registry-1.docker.io/bitnamicharts/mediawiki | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ** Please be patient while the chart is being deployed | + | [[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 --set mariadb.auth.rootPassword=password [[--set]] mariadb.auth.password=password | ||
+ | |||
+ | [[helm install mywiki]] oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=mediawiki.local --set mediawikiPassword=password --set mariadb.auth.rootPassword=password --set mariadb.auth.password=password --set allowEmptyPassword=no | ||
+ | |||
+ | [[helm install mywiki]] oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=mediawiki.local --set mediawikiPassword=passwordXXXXX --set mariadb.auth.rootPassword=password --set mariadb.auth.password=password --set allowEmptyPassword=no --set [[image.debug]]=true --set ingress.enabled=true --set ingress.tls=true | ||
+ | |||
+ | |||
+ | |||
+ | ingress.hostname [[mediawiki.local]] | ||
+ | |||
+ | |||
+ | [[helm install]] mymediawiki bitnami/mediawiki | ||
+ | |||
+ | == 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 ### | ### ERROR: You did not provide an external host in your 'helm install' call ### | ||
Line 27: | Line 48: | ||
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<nowiki> APP_HOST=$(kubectl get svc --namespace default mymediawiki --template "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}") </nowiki> | ||
+ | |||
+ | export<nowiki> APP_PASSWORD=$(kubectl get secret --namespace default mymediawiki -o jsonpath="{.data.mediawiki-password}" | base64 -d)</nowiki> | ||
+ | |||
+ | export<nowiki> MARIADB_ROOT_PASSWORD=$(kubectl get secret --namespace default mymediawiki-mariadb -o jsonpath="{.data.mariadb-root-password}" | base64 -d)</nowiki> | ||
+ | |||
+ | export<nowiki> MARIADB_PASSWORD=$(kubectl get secret --namespace default mymediawiki-mariadb -o jsonpath="{.data.mariadb-password}" | base64 -d)</nowiki> | ||
+ | |||
+ | |||
+ | 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 == | ||
Line 50: | Line 75: | ||
"https://registry1.docker.io/v2/bitnamicharts/mediawiki/tags/list": | "https://registry1.docker.io/v2/bitnamicharts/mediawiki/tags/list": | ||
dial tcp: lookup [[registry1.docker.io]]: no such host | dial tcp: lookup [[registry1.docker.io]]: no such host | ||
+ | |||
+ | [[Running MediaWiki install script]] | ||
+ | |||
+ | mediawiki 11:27:08.69 INFO ==> Running MediaWiki install script | ||
+ | Invalid wiki admin password: | ||
+ | * Passwords must be at least 10 characters. | ||
+ | * The password entered is in a list of very commonly used passwords. Please choose a more unique password. | ||
== Related == | == Related == | ||
* [[Bitnami]] | * [[Bitnami]] | ||
− | + | * <code>[[helm show values bitnami/mediawiki]]</code> | |
+ | * [[helm install mediawiki-mariadb --set auth.rootPassword=password,auth.database=mediawiki oci://registry-1.docker.io/bitnamicharts/mariadb]] | ||
+ | * [[minikube service mywiki-mediawiki]] | ||
== See also == | == See also == | ||
* {{helm install}} | * {{helm install}} | ||
* {{Mediawiki}} | * {{Mediawiki}} | ||
+ | |||
+ | [[Category:Mediawiki]] |
Latest revision as of 13:29, 12 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 --set mariadb.auth.rootPassword=password --set mariadb.auth.password=password
helm install mywiki oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=mediawiki.local --set mediawikiPassword=password --set mariadb.auth.rootPassword=password --set mariadb.auth.password=password --set allowEmptyPassword=no
helm install mywiki oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=mediawiki.local --set mediawikiPassword=passwordXXXXX --set mariadb.auth.rootPassword=password --set mariadb.auth.password=password --set allowEmptyPassword=no --set image.debug=true --set ingress.enabled=true --set ingress.tls=true
ingress.hostname mediawiki.local
helm install mymediawiki bitnami/mediawiki
Contents
Examples[edit]
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 "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ 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[edit]
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 host
Running MediaWiki install script
mediawiki 11:27:08.69 INFO ==> Running MediaWiki install script Invalid wiki admin password: * Passwords must be at least 10 characters. * The password entered is in a list of very commonly used passwords. Please choose a more unique password.
Related[edit]
- Bitnami
helm show values bitnami/mediawiki
- helm install mediawiki-mariadb --set auth.rootPassword=password,auth.database=mediawiki oci://registry-1.docker.io/bitnamicharts/mariadb
- minikube service mywiki-mediawiki
See also[edit]
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: