wordpress
WordPress is the world's most popular blogging and content management platform. Powerful yet simple, everyone from students to global corporations use it to build beautiful, functional websites.
About this chart
WordPress packaged by Bitnami
WordPress is the world's most popular blogging and content management platform. Powerful yet simple, everyone from students to global corporations use it to build beautiful, functional websites.
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/wordpress
Introduction
This chart bootstraps a WordPress 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 WordPress application, and the Bitnami Memcached chart that can be used to cache database queries.
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/wordpress
The command deploys WordPress 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 | Override Kubernetes version | "" |
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 resources | {} |
commonAnnotations | Annotations to add to all deployed resources | {} |
clusterDomain | Kubernetes Cluster Domain | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | ["sleep"] |
diagnosticMode.args | Args to override all containers in the deployment | ["infinity"] |
WordPress Image parameters
| Name | Description | Value |
|---|---|---|
image.registry | WordPress image registry | docker.io |
image.repository | WordPress image repository | bitnami/wordpress |
image.tag | WordPress image tag (immutable tags are recommended) | 6.1.0-debian-11-r5 |
image.digest | WordPress image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | WordPress image pull policy | IfNotPresent |
image.pullSecrets | WordPress image pull secrets | [] |
image.debug | Specify if debug values should be set | false |
WordPress Configuration parameters
| Name | Description | Value |
|---|---|---|
wordpressUsername | WordPress username | user |
wordpressPassword | WordPress user password | "" |
existingSecret | Name of existing secret containing WordPress credentials | "" |
wordpressEmail | WordPress user email | [email protected] |
wordpressFirstName | WordPress user first name | FirstName |
wordpressLastName | WordPress user last name | LastName |
wordpressBlogName | Blog name | User's Blog! |
wordpressTablePrefix | Prefix to use for WordPress database tables | wp_ |
wordpressScheme | Scheme to use to generate WordPress URLs | http |
wordpressSkipInstall | Skip wizard installation | false |
wordpressExtraConfigContent | Add extra content to the default wp-config.php file | "" |
wordpressConfiguration | The content for your custom wp-config.php file (advanced feature) | "" |
existingWordPressConfigurationSecret | The name of an existing secret with your custom wp-config.php file (advanced feature) | "" |
wordpressConfigureCache | Enable W3 Total Cache plugin and configure cache settings | false |
wordpressPlugins | Array of plugins to install and activate. Can be specified as all or none. | none |
apacheConfiguration | The content for your custom httpd.conf file (advanced feature) | "" |
existingApacheConfigurationConfigMap | The name of an existing secret with your custom httpd.conf file (advanced feature) | "" |
customPostInitScripts | Custom post-init.d user scripts | {} |
smtpHost | SMTP server host | "" |
smtpPort | SMTP server port | "" |
smtpUser | SMTP username | "" |
smtpPassword | SMTP user password | "" |
smtpProtocol | SMTP protocol | "" |
smtpExistingSecret | The name of an existing secret with SMTP credentials | "" |
allowEmptyPassword | Allow the container to be started with blank passwords | true |
allowOverrideNone | Configure Apache to prohibit overriding directives with htaccess files | false |
overrideDatabaseSettings | Allow overriding the database settings persisted in wp-config.php | false |
htaccessPersistenceEnabled | Persist custom changes on htaccess files | false |
customHTAccessCM | The name of an existing ConfigMap with custom htaccess rules | "" |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
extraEnvVars | Array with extra environment variables to add to the WordPress container | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | "" |
extraEnvVarsSecret | Name of existing Secret containing extra env vars | "" |
WordPress Multisite Configuration parameters
| Name | Description | Value |
|---|---|---|
multisite.enable | Whether to enable WordPress Multisite configuration. | false |
multisite.host | WordPress Multisite hostname/address. This value is mandatory when enabling Multisite mode. | "" |
multisite.networkType | WordPress Multisite network type to enable. Allowed values: subfolder, subdirectory or subdomain. | subdomain |
multisite.enableNipIoRedirect | Whether to enable IP address redirection to nip.io wildcard DNS. Useful when running on an IP address with subdomain network type. | false |
WordPress deployment parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of WordPress replicas to deploy | 1 |
updateStrategy.type | WordPress deployment strategy type | RollingUpdate |
updateStrategy.rollingUpdate | WordPress deployment rolling update configuration parameters | {} |
schedulerName | Alternate scheduler | "" |
topologySpreadConstraints | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a te |
Deploy wordpress with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has wordpress 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 chartwordpress is pinned at v15.2.13 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