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:
parent
696898c75e
commit
144e3b1de2
|
@ -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
|
||||
```
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue