Run a Drupal website on Kubernetes
Leverage the power of Kubernetes to manage a Drupal deployment
Drupal is a popular, free, and open source CMS (content management system) that is used as the backend for millions of web sites worldwide. This pattern demonstrates how to break a Drupal site into microservices for speed and resiliency. This pattern is for the developer who’s specifically looking to run a Drupal site on Kubernetes. Powered by Kubernetes, the orchestration provides an easy way to leverage the scalability and power of Drupal, so that you can easily stay current with its new releases without compromising your site.
In this pattern, we will set up a Drupal site by using Kubernetes and Postgres. Drupal is a popular open-source CMS (content management system) that is used as the backend for millions of web sites worldwide. By splitting out the services into containers, we have the ability to leverage the power of Kubernetes.
When you complete this pattern, you will understand how to:
- Configure an app that runs multiple containers in Kubernetes.
- Run a website hosted via Kubernetes.
- Use Kubernetes-persistent volumes to maintain Drupal configurations between container restarts.
- User interacts with the Drupal web interface.
- The Drupal container uses its persistent volume to store website data (but not content).
- Drupal container connects to PostgreSQL container to access website content.
- PostgreSQL container uses its persistent volume to store the database contents.
- Clone the repo.
- Create a Kubernetes cluster.
- Create the service and deployment.
- Access Drupal.
Ready to put this pattern to use? Complete details on how to get started running and using this application are in the README.