WordPress on Kubernetes

The Definitive Guide to WordPress on k8s

Installing Redis in Kubernetes

Redis is a very fast and flexible in-memory key-value store, which is perfect to run as a persistent object caching backend for WordPress. In this section we’ll explore a couple of deployment options for a Redis service in Kubernetes and create our own StatefulSet in our cluster.

Note: all code samples from this section are available on GitHub.

Redis Persistence

When we refer to an object caching backend for WordPress, we often use the term persistent which in that context means the data can persist across HTTP requests, contrary to how the native object caching works. However, in Redis, persistence means something else.

This article is for premium members only. Memberships start from $95/year and unlock access to all existing and future content on kubeadm.org, including all reference architectures.

Already a member? Login here