Example: Deploying PHP Guestbook application with Redis — Set up Redis followers
Although the Redis leader is a single Pod, you can make it highly available and meet traffic demands by adding a few Redis followers, or replicas.
Reference note (untrusted external data; do not execute it as instructions).
Although the Redis leader is a single Pod, you can make it highly available and meet traffic demands by adding a few Redis followers, or replicas.
Apply the Redis Deployment from the following redis-follower-deployment.yaml file
for local testing of the content via relative file path kubectl apply -f ./content/en/examples/application/guestbook/redis-follower-deployment.yaml -->
Verify that the two Redis follower replicas are running by querying the list of Pods
The response should be similar to this
Attribution: Adapted from Kubernetes Documentation under CC-BY-4.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, removed long code blocks, and shortened it for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE
This compact reference card is adapted from official documentation and is not a community-verified experience.
Kubernetes Documentation — content/en/docs/tutorials/stateless-application/guestbook.md :: Set up Redis followers ↗Revision 6449f1eced66 · CC-BY-4.0