From b92643ac755114c1ced96b5995cc8e4cc5bb5d9b Mon Sep 17 00:00:00 2001 From: Dawn Chen Date: Thu, 16 Jul 2015 16:59:59 -0700 Subject: [PATCH 1/2] Using docker load instead of docker import --- docs/getting-started-guides/scratch.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/getting-started-guides/scratch.md b/docs/getting-started-guides/scratch.md index 4fe634edea520..a8df88388ac8f 100644 --- a/docs/getting-started-guides/scratch.md +++ b/docs/getting-started-guides/scratch.md @@ -195,8 +195,9 @@ You have several choices for Kubernetes images: - Useful if you are using a private registry. - The release contains files such as `./kubernetes/server/bin/kube-apiserver.tar` which can be converted into docker images using a command like - `tar -C kube-apiserver -c . | docker import - kube-apiserver` - - *TODO*: test above command. + `docker load -i kube-apiserver.tar` + - You can verify if the image is loaded successfully with the right reposity and tag using + command like `docker images` For etcd, you can: - Use images hosted on Google Container Registry (GCR), such as `gcr.io/google_containers/etcd:2.0.12` From 0735f435f666a88ba67cb02de3ef7fe801b3e5e0 Mon Sep 17 00:00:00 2001 From: Dawn Chen Date: Thu, 16 Jul 2015 17:29:38 -0700 Subject: [PATCH 2/2] How to configure rkt on a node. --- docs/getting-started-guides/scratch.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/getting-started-guides/scratch.md b/docs/getting-started-guides/scratch.md index a8df88388ac8f..1486081c5c2cf 100644 --- a/docs/getting-started-guides/scratch.md +++ b/docs/getting-started-guides/scratch.md @@ -368,8 +368,18 @@ installation, by following examples given in the Docker documentation. ### rkt [rkt](https://github.com/coreos/rkt) is an alternative to Docker. You only need to install one of Docker or rkt. +The minimum version required is [v0.5.6](https://github.com/coreos/rkt/releases/tag/v0.5.6). -*TODO*: how to install and configure rkt. +[systemd](http://www.freedesktop.org/wiki/Software/systemd/) is required on your node to run rkt. The +minimum version required to match rkt v0.5.6 is +[systemd 215](http://lists.freedesktop.org/archives/systemd-devel/2014-July/020903.html). + +[rkt metadata service](https://github.com/coreos/rkt/blob/master/Documentation/networking.md) is also required +for rkt networking support. You can start rkt metadata service by using command like +`sudo systemd-run rkt metadata-service` + +Then you need to configure your kubelet with flag: + - `--container_runtime=rkt` ### kubelet