mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 07:03:31 +00:00
Fix some readme and script bugs in examples (take 2).
v2: Resolve issues from comments, fix bugs in update-demo example, rename files for clarity, add turn-down steps. v3: Add more set commands, clean up rest of env var checks.
This commit is contained in:
committed by
Filipe Brandenburger
parent
57b721dd05
commit
bd196ea49c
@@ -8,6 +8,11 @@ The example combines a web frontend, a redis master for storage and a replicated
|
||||
|
||||
This example assumes that you have forked the repository and [turned up a Kubernetes cluster](https://github.com/GoogleCloudPlatform/kubernetes#contents):
|
||||
|
||||
```shell
|
||||
$ cd kubernetes
|
||||
$ hack/dev-build-and-up.sh
|
||||
```
|
||||
|
||||
### Step One: Turn up the redis master.
|
||||
|
||||
Use the file `examples/guestbook/redis-master.json` which describes a single pod running a redis key-value server in a container.
|
||||
@@ -307,3 +312,11 @@ For details about limiting traffic to specific sources, see the [gcutil document
|
||||
|
||||
[cloud-console]: https://console.developer.google.com
|
||||
[gcutil-docs]: https://developers.google.com/compute/docs/gcutil/reference/firewall#addfirewall
|
||||
|
||||
### Step Six: Cleanup
|
||||
|
||||
To turn down a Kubernetes cluster:
|
||||
|
||||
```shell
|
||||
$ cluster/kube-down.sh
|
||||
```
|
||||
|
Reference in New Issue
Block a user