Fix for kube-up.sh and update several documments.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
@@ -51,7 +51,8 @@ $ docker pull k8s.gcr.io/pause-amd64:3.1
|
||||
Status: Downloaded newer image for k8s.gcr.io/pause-amd64:3.1
|
||||
$ docker save k8s.gcr.io/pause-amd64:3.1 -o pause.tar
|
||||
```
|
||||
Then load the container image into the container runtime:
|
||||
Then use [`ctr`](https://github.com/containerd/containerd/blob/master/docs/man/ctr.1.md)
|
||||
to load the container image into the container runtime:
|
||||
```console
|
||||
$ sudo ctr cri load pause.tar
|
||||
Loaded image: k8s.gcr.io/pause-amd64:3.1
|
||||
|
||||
@@ -9,14 +9,12 @@ Unpack release tarball to any directory, using `${CRI_CONTAINERD_PATH}` to indic
|
||||
tar -C ${CRI_CONTAINERD_PATH} -xzf cri-containerd-${VERSION}.linux-amd64.tar.gz
|
||||
```
|
||||
## Set Environment Variables for CRI-Containerd
|
||||
Use environment variable `CRI_CONTAINERD_VERSION` to specify `cri-containerd` version. By default,
|
||||
latest version will be used.
|
||||
```bash
|
||||
. ${CRI_CONTAINERD_PATH}/opt/cri-containerd/cluster/gce/env
|
||||
. ${CRI_CONTAINERD_PATH}/opt/containerd/cluster/gce/env
|
||||
```
|
||||
## Create Kubernetes Cluster on GCE
|
||||
Follow these instructions [here](https://kubernetes.io/docs/getting-started-guides/gce/) to create a production quality Kubernetes cluster on GCE.
|
||||
|
||||
**Make sure the Kubernetes version you are using is v1.9 or greater:**
|
||||
**Make sure the Kubernetes version you are using is v1.10 or greater:**
|
||||
* When using `https://get.k8s.io`, use the environment variable `KUBERNETES_RELEASE` to set version.
|
||||
* When using a Kubernetes release tarball, make sure to select version 1.9 or greater.
|
||||
* When using a Kubernetes release tarball, make sure to select version 1.10 or greater.
|
||||
|
||||
Reference in New Issue
Block a user