Skip to content

Commit

Permalink
guestbook: Move image build instructions out (kubernetes#72)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ahmetb committed Aug 18, 2017
1 parent 696898c commit 144e3b1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 24 deletions.
23 changes: 23 additions & 0 deletions guestbook/MAINTENANCE.md
Original file line number Diff line number Diff line change
@@ -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
```
24 changes: 0 additions & 24 deletions guestbook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,30 +40,6 @@ Download the following configuration files:

{% 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

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.
Expand Down

0 comments on commit 144e3b1

Please sign in to comment.