Guestbook is a simple, multi-tier PHP-based web application that uses redis chart.
$ helm install stable/guestbookThis chart bootstraps a guestbook deployment on a Kubernetes cluster using the Helm package manager.
It also packages the Bitnami Redis chart which is required for bootstrapping a Redis deployment for the caching requirements of the guestbook application.
- Kubernetes 1.4+ with Beta APIs enabled
- PV provisioner support in the underlying infrastructure
To install the chart with the release name my-release:
$ helm install --name my-release stable/guestbookThe command deploys the guestbook on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
To uninstall/delete the my-release deployment:
$ helm delete my-releaseThe command removes all the Kubernetes components associated with the chart and deletes the release.
The following tables lists the configurable parameters of the WordPress chart and their default values.
| Parameter | Description | Default |
|---|---|---|
image |
apapche-php image | google-samples/gb-frontend:{VERSION} |
imagePullPolicy |
Image pull policy | IfNotPresent |
nodeSelector |
Node labels for pod assignment | {} |
The above parameters map to the env variables defined in bitnami/wordpress. For more information please refer to the bitnami/wordpress image documentation.
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
$ helm install --name my-release \
--set redis.usePassword=false \
stable/guestbook$ helm install --name my-release -f values.yaml stable/guestbookTip: You can use the default values.yaml