This Helm chart will install WordPress in a Kubernetes cluster.
Install the app with default settings:
# adds the repo
helm repo add suse-lab-setup https://opensource.suse.com/lab-setup
helm repo update
# installs the chart
helm upgrade --install wordpress suse-lab-setup/wordpress --namespace demo --create-namespace
Look at values.yaml for the configuration.
Clean-up:
helm delete wordpress
kubectl delete ns demo
Ingress (NGINX class with self-signed certificate) + WordPress password as secret + Azure storage class
secrets:
wordpressPassword:
encryptedValue: xxx
wordpress:
global:
storageClass: azureblob-fuse
wordpressUsername: myuser
wordpressBlogName: "My WordPress!"
existingSecret: wordpress-credentials
ingress:
enabled: true
ingressClassName: nginx
hostname: wordpress.demo
tls: true
selfSigned: true
mariadb:
auth:
rootPassword: "xxx"
password: "xxx"
Check storage class compatibility
View pod logs
Increase livenessProbe initialDelaySeconds as WordPress installation may take several minutes (see Issue #9563)
Make sure Kubernetes wordpress
service exists (may also be linked to long installation time and disabled probes)
- Look for the available versions:
# adds bitnami helm chart repository
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
# lists available charts
helm search repo wordpress
-
Update Chart.yaml
-
Update Chart.lock file:
helm dependency update