README: more copy-pastable code sample

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-09-08 09:26:38 -04:00
parent 3c468b6f51
commit 87aa0f58e4
Signed by: vbatts
GPG Key ID: 10937E57733F1362
1 changed files with 6 additions and 1 deletions

View File

@ -220,7 +220,12 @@ You can run a local version of kubernetes with cri-o using `local-up-cluster.sh`
1. Clone the [kubernetes repository](https://github.com/kubernetes/kubernetes)
1. Start the cri-o daemon (`crio`)
1. From the kubernetes project directory, run: `CONTAINER_RUNTIME=remote CONTAINER_RUNTIME_ENDPOINT='/var/run/crio.sock --runtime-request-timeout=15m' ./hack/local-up-cluster.sh`
1. From the kubernetes project directory, run:
```shell
CONTAINER_RUNTIME=remote \
CONTAINER_RUNTIME_ENDPOINT='/var/run/crio.sock --runtime-request-timeout=15m' \
./hack/local-up-cluster.sh
```
To run a full cluster, see [the instructions](kubernetes.md).