mirror of https://github.com/k3s-io/k3s
Incorporate comments
parent
ad7f131a5b
commit
c535d6d30b
|
@ -20,6 +20,7 @@ While the concepts and architecture in Kubernetes represent years of experience
|
|||
* [Locally](docs/getting-started-guides/locally.md)
|
||||
* [CoreOS](docs/getting-started-guides/coreos.md)
|
||||
* [Fedora](docs/getting-started-guides/fedora.md)
|
||||
* [vSphere](docs/getting-started-guides/vsphere.md)
|
||||
* [kubecfg command line tool](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/cli.md)
|
||||
* [Kubernetes API Documentation](http://cdn.rawgit.com/GoogleCloudPlatform/kubernetes/ce4fcc4ad89ed7b481a46a0ad4c99dee4c6f24ba/api/kubernetes.html)
|
||||
* [Discussion and Community Support](#community-discussion-and-support)
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
- group: root
|
||||
- mode: 755
|
||||
|
||||
refresh routes:
|
||||
refresh-routes:
|
||||
cmd.wait_script:
|
||||
- source: salt://static-routes/refresh
|
||||
- cwd: /etc/network/
|
||||
|
|
|
@ -4,22 +4,31 @@
|
|||
|
||||
1. You need administrator credentials to an ESXi machine or vCenter instance.
|
||||
2. You must have Go (version 1.2 or later) installed: [www.golang.org](http://www.golang.org).
|
||||
3. Install the govc tool to interact with ESXi/vCenter:
|
||||
3. You must have your `GOPATH` set up and include `$GOPATH/bin` in your `PATH`.
|
||||
|
||||
```sh
|
||||
export GOPATH=$HOME/src/go
|
||||
mkdir -p $GOPATH
|
||||
export PATH=$PATH:$GOPATH/bin
|
||||
```
|
||||
|
||||
4. Install the govc tool to interact with ESXi/vCenter:
|
||||
|
||||
```sh
|
||||
go get github.com/vmware/govmomi/govc
|
||||
```
|
||||
4. Install godep:
|
||||
|
||||
5. Install godep:
|
||||
|
||||
```sh
|
||||
export GOBIN=/usr/local/go/bin
|
||||
go get github.com/tools/godep
|
||||
```
|
||||
|
||||
5. Get the Kubernetes source:
|
||||
6. Get the Kubernetes source:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/GoogleCloudPlatform/kubernetes.git
|
||||
go get github.com/GoogleCloudPlatform/kubernetes
|
||||
cd $GOPATH/src/github.com/GoogleCloudPlatform/kubernetes
|
||||
```
|
||||
|
||||
### Setup
|
||||
|
@ -27,7 +36,7 @@
|
|||
Download a prebuilt Debian VMDK to be used as base image:
|
||||
|
||||
```sh
|
||||
wget http://storage.googleapis.com/govmomi/vmdk/kube.vmdk.gz{,.md5}
|
||||
wget https://storage.googleapis.com/govmomi/vmdk/kube.vmdk.gz{,.md5}
|
||||
md5sum -c kube.vmdk.gz.md5
|
||||
gzip -d kube.vmdk.gz
|
||||
```
|
||||
|
@ -53,7 +62,7 @@ parameters. The guest login for the image that you imported is `kube:kube`.
|
|||
|
||||
Now, let's continue with deploying Kubernetes:
|
||||
|
||||
```
|
||||
```sh
|
||||
cd kubernetes
|
||||
|
||||
# Build a release
|
||||
|
|
Loading…
Reference in New Issue