Simple and Component-based Kubernetes Guestbook Apps
This example lives in the pulumi/examples repository. Check out just this directory to use it:
git clone --filter=blob:none --sparse https://github.com/pulumi/examples pulumi-examplesgit -C pulumi-examples sparse-checkout set kubernetes-cs-guestbookcd pulumi-examples/kubernetes-cs-guestbookA port of the standard Kubernetes Guestbook to Pulumi. This example shows you how to build and deploy a simple, multi-tier web application using Kubernetes and Docker, and consists of three components:
- A single-instance Redis master to store guestbook entries
- Multiple replicated Redis instances to serve reads
- Multiple web frontend instances
In this directory, you will find two variants of the Guestbook:
- simple/ is a straight port of the original YAML.
- components demonstrates benefits of using a real language, namely eliminating boilerplate through the use of real component abstractions.
Both examples provision the exact same Kubernetes Guestbook application, but showcase different aspects of Pulumi.