guestbook: Move image build instructions out (#72)

This does not belong to the README.md which gets rendered at
https://kubernetes.io/docs/tutorials/stateless-application/guestbook/.
Moving these instructions to MAINTENANCE.md.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2017-08-18 15:17:41 -07:00 committed by GitHub
parent 696898c75e
commit 144e3b1de2
2 changed files with 23 additions and 24 deletions

23
guestbook/MAINTENANCE.md Normal file
View File

@ -0,0 +1,23 @@
## Building the Docker images
```console
$ docker build -t gcr.io/google-samples/gb-frontend:v5 php-redis
$ docker build -t gcr.io/google-samples/gb-redisslave:v2 redis-slave
```
Building Multi-architecture docker images
```console
$ make -C php-redis
$ make -C redis-slave
```
Push:
```console
$ make -C php-redis all-push
$ make -C redis-slave all-push
```

View File

@ -40,30 +40,6 @@ Download the following configuration files:
{% capture lessoncontent %} {% capture lessoncontent %}
## Building the Docker images
```console
$ docker build -t gcr.io/google-samples/gb-frontend:v5 php-redis
$ docker build -t gcr.io/google-samples/gb-redisslave:v2 redis-slave
```
Building Multi-architecture docker images
```console
$ make -C php-redis
$ make -C redis-slave
```
Push:
```console
$ make -C php-redis all-push
$ make -C redis-slave all-push
```
## Start up the Redis Master ## Start up the Redis Master
The guestbook application uses Redis to store its data. It writes its data to a Redis master instance and reads data from multiple Redis slave instances. The guestbook application uses Redis to store its data. It writes its data to a Redis master instance and reads data from multiple Redis slave instances.