Return of the Clustering: Kubernetes for Drupal
summary
Shows a concrete Kubernetes deployment for Drupal using a three-worker minimal cluster on DigitalOcean managed Kubernetes, with exact components: one MySQL stateful set, three memcache pods, three web pods each as a varnish+Apache pod, and one persistent volume per DB. Static files move to an S3-compatible object store instead of shared disks. CI builds site into Docker images pushed to a private registry and Ansible + GitLab CI drives provisioning and updates with rolling deploys using unique image tags via Ansible + GitLab CI pipeline.
AI-written summary · about
chapters (22)
- 0:00Introduction and speaker intro
- 1:11About presenter and company
- 2:38Docker in production challenges
- 9:45Kubernetes introduction and benefits
- 12:56Kubernetes architecture basics
- 15:07Self-hosting Kubernetes options
- 16:52Managed Kubernetes providers
- 18:38Building a Kubernetes cluster
- 21:06Deployment and service definitions
- 23:14Handling secrets securely
- 25:03Persistent storage solutions
- 26:10Offloading files to object storage
- 28:17Stateful sets for predictable hosts
- 31:07HTTPS termination with ingress
- 33:12Multi-tenant setups with namespaces
- 34:16Automating cluster deployment
- 37:07DigitalOcean cluster provisioning
- 38:51Automating Kubernetes objects
- 39:57Drupal deployment workflow
- 41:42Private registry for Drupal images
- 42:45Rolling updates and versioning
- 44:29Resources and closing
