mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2026-02-05 00:09:08 +00:00
28 lines
445 B
Markdown
28 lines
445 B
Markdown
|
|
# Configuring Kubectl
|
||
|
|
|
||
|
|
## OS X
|
||
|
|
|
||
|
|
```
|
||
|
|
gcloud compute copy-files \
|
||
|
|
controller0:~/kubernetes/platforms/darwin/amd64/kubectl .
|
||
|
|
```
|
||
|
|
|
||
|
|
## Linux
|
||
|
|
|
||
|
|
```
|
||
|
|
gcloud compute copy-files \
|
||
|
|
controller0:~/kubernetes/platforms/linux/amd64/kubectl .
|
||
|
|
```
|
||
|
|
|
||
|
|
```
|
||
|
|
sudo mv kubectl /usr/local/bin/
|
||
|
|
```
|
||
|
|
|
||
|
|
```
|
||
|
|
gcloud compute http-health-checks create basic-check
|
||
|
|
```
|
||
|
|
|
||
|
|
```
|
||
|
|
gcloud compute target-pools create kubernetes \
|
||
|
|
--region us-central1 --health-check basic-check
|
||
|
|
```
|