WordPress
Add integration
Deploy
This Helm chart deploys WordPress, the world's most popular content management system, on Kubernetes. WordPress provides a flexible and user-friendly platform for creating websites, blogs, and web applications.
Dependencies
Before installing the chart, you need to download the required dependencies. Run the following command in the chart directory:
This command will:
Read the dependencies from
Chart.yaml
Download the required charts (MySQL and Service) from the specified repositories
Store them in the
charts/
directoryCreate or update the
Chart.lock
file with the exact versions
If you encounter any issues with the dependencies, you can try:
This chart requires the following dependencies to be installed:
MySQL
Chart:
mysql
Version:
0.0.3
Repository:
https://helm.zop.dev
Purpose: Provides the primary database for WordPress content and configuration
Service
Chart:
service
Version:
0.0.17
Repository:
https://helm.zop.dev
Purpose: Manages the WordPress application deployment and service configuration
To install these dependencies automatically, ensure the following in your values.yaml
:
The dependencies will be automatically installed when you deploy the WordPress chart. You can customize their configuration through the respective sections in your values.yaml
file.
Add Helm Repository
Add the Helm repository by running:
For more details, see the Helm Repository Documentation.
Install Helm Chart
To deploy the WordPress Helm chart, use the following command:
Replace [RELEASE_NAME]
with your desired release name. Example:
You can override default values during installation by providing a values.yaml
file.
Refer to the Helm Install Documentation for further details.
Uninstall Helm Chart
To remove the WordPress Helm chart and associated resources, run:
Example:
Check the Helm Uninstall Documentation for more information.
Configuration
The WordPress Helm chart includes several configuration options to tailor the deployment to your needs. Below is a summary of the key configurations:
Service Configuration
Input | Type | Description | Default |
---|---|---|---|
|
| Name of the WordPress service. |
|
|
| Docker image for WordPress. |
|
|
| Minimum CPU resources required. |
|
|
| Minimum memory resources required. |
|
|
| Maximum CPU resources allowed. |
|
|
| Maximum memory resources allowed. |
|
|
| Minimum number of replicas. |
|
|
| Maximum number of replicas. |
|
|
| HTTP port for the WordPress service. |
|
Environment Configuration
Input | Type | Description | Default |
---|---|---|---|
|
| MySQL database host. |
|
|
| MySQL database username. |
|
|
| MySQL database password. |
|
|
| MySQL database name. |
|
MySQL Configuration
Input | Type | Description | Default |
---|---|---|---|
|
| Name of the MySQL service. |
|
|
| Name of the MySQL database. |
|
Ingress Configuration
Input | Type | Description | Default |
---|---|---|---|
|
| Nginx ingress annotations. |
|
Example values.yaml
Features
Deploys WordPress with all dependencies
Automatic MySQL database setup
Configurable resource limits and requests
Horizontal pod autoscaling support
Ingress configuration for external access
Environment variable configuration
Database connection management
Persistent storage for uploads
Customizable WordPress settings
Nginx ingress support
Architecture
The WordPress deployment includes:
WordPress application pods
MySQL database (dependency)
Persistent volume for uploads
Ingress configuration for external access
Environment variable configuration
Database connection management
Health check endpoints
Resource management
Security Features
Database password management
Ingress authentication support
Resource limits and requests
Secure environment variable handling
Database connection security
Pod security context
Network policies
Contributing
We welcome contributions to improve this Helm chart. Please refer to the CONTRIBUTING.md file for contribution guidelines.
Code of Conduct
To maintain a healthy and collaborative community, please adhere to our Code of Conduct.
License
This project is licensed under the LICENSE. Please review it for terms of use.
Prerequisites
Kubernetes 1.19+
Helm 3.0+
kubectl configured to communicate with your cluster
MySQL database (automatically installed as a dependency)
Build By
Zop.dev
Category
See Helm Install Documentation for more information.
Need Help with This Integration?
We’re here to make setup smooth. Let us know what’s confusing—or which tools you'd like to see integrated next.
Need technical support or have product questions?