2014-11-06 11:06:30 +00:00
|
|
|
# Install and configure kubecfg
|
|
|
|
|
2014-12-04 18:59:55 +00:00
|
|
|
## Download the kubecfg CLI tool
|
2014-11-06 11:06:30 +00:00
|
|
|
|
|
|
|
### Darwin
|
|
|
|
|
|
|
|
```
|
|
|
|
wget http://storage.googleapis.com/k8s/darwin/kubecfg
|
|
|
|
```
|
|
|
|
|
|
|
|
### Linux
|
|
|
|
|
|
|
|
```
|
2014-11-17 13:01:18 +00:00
|
|
|
wget http://storage.googleapis.com/k8s/linux/kubecfg
|
2014-11-06 11:06:30 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Copy kubecfg to your path
|
|
|
|
|
|
|
|
```
|
|
|
|
chmod +x kubecfg
|
|
|
|
mv kubecfg /usr/local/bin/
|
|
|
|
```
|
|
|
|
|
|
|
|
### Create a secure tunnel for API communication
|
|
|
|
|
|
|
|
```
|
|
|
|
ssh -f -nNT -L 8080:127.0.0.1:8080 core@<master-public-ip>
|
|
|
|
```
|