Skip to content

Commit 1c5e20a

Browse files
authored
Merge pull request #1039 from projectcalico/emanic-minor-vagrant
Points to Kubernetes docs for kubectl install
2 parents 3a7936b + de7b89d commit 1c5e20a

File tree

3 files changed

+25
-68
lines changed
  • master/getting-started/kubernetes/installation/vagrant
  • v2.4/getting-started/kubernetes/installation/vagrant
  • v2.5/getting-started/kubernetes/installation/vagrant

3 files changed

+25
-68
lines changed

master/getting-started/kubernetes/installation/vagrant/index.md

+9-24
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
title: Deploying Calico and Kubernetes on Container Linux by CoreOS using Vagrant and VirtualBox
3+
redirect_from: latest/getting-started/kubernetes/installation/vagrant/index
34
---
45

5-
These instructions allow you to set up a Kubernetes cluster with Calico networking using Vagrant and the [Calico CNI plugin][cni-plugin]. This guide does not setup TLS between Kubernetes components.
6+
These instructions allow you to set up a Kubernetes cluster with Calico networking using Vagrant and the [Calico CNI plugin][cni-plugin]. This guide does not set up TLS between Kubernetes components.
67

78
## 1. Deploy cluster using Vagrant
89

@@ -24,9 +25,7 @@ Run
2425

2526
vagrant up
2627

27-
> **NOTE**
28-
>
29-
> This will deploy a Kubernetes master and two Kubernetes nodes. To run more nodes, modify the value `num_instances` in the Vagrantfile before running `vagrant up`.
28+
> *Note*: This will deploy a Kubernetes master and two Kubernetes nodes. To run more nodes, modify the value `num_instances` in the Vagrantfile before running `vagrant up`.
3029
3130
To connect to your servers
3231

@@ -63,11 +62,11 @@ From k8s-node-02
6362
ping 172.18.18.101
6463
ping 172.18.18.102
6564

66-
If you see ping failures, the likely culprit is a problem with the VirtualBox network between the VMs. You should
65+
If you see ping failures, the likely culprit is a problem with the VirtualBox network between the VMs. You should
6766
check that each host is connected to the same virtual network adapter in VirtualBox and rebooting the host may also
68-
help. Remember to shut down the VMs with `vagrant halt` before you reboot.
67+
help. Remember to shut down the VMs with `vagrant halt` before you reboot.
6968

70-
You should also verify each host can access etcd. The following will return an error if etcd is not available.
69+
You should also verify each host can access etcd. The following will return an error if etcd is not available.
7170

7271
curl -L http://172.18.18.101:2379/version
7372

@@ -77,23 +76,9 @@ And finally check that Docker is running on both hosts by running
7776

7877
## 2. Configuring the Cluster and `kubectl`
7978

80-
Let's configure `kubectl` so you can access the cluster from your local machine. Make sure you have `kubectl` installed locally. The version you choose depends on your host OS.
79+
Prequisite: [`kubectl` installed](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
8180

82-
For Mac:
83-
84-
```shell
85-
wget http://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/darwin/amd64/kubectl
86-
chmod +x ./kubectl
87-
```
88-
89-
For Linux:
90-
91-
```shell
92-
wget http://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl
93-
chmod +x ./kubectl
94-
```
95-
96-
Then, tell `kubectl` to use the Vagrant cluster we just created.
81+
Let's configure `kubectl` so you can access the cluster from your local machine.
9782

9883
```shell
9984
kubectl config set-cluster vagrant-cluster --server=http://172.18.18.101:8080
@@ -107,7 +92,7 @@ kubectl config use-context vagrant-system
10792

10893
## Next Steps
10994

110-
You should now have a fully functioning Kubernetes cluster using Calico for networking. You're ready to use your cluster.
95+
You should now have a fully functioning Kubernetes cluster using Calico for networking. You're ready to use your cluster.
11196

11297
We recommend you try using [Calico for Kubernetes NetworkPolicy]({{site.baseurl}}/{{page.version}}/getting-started/kubernetes/tutorials/simple-policy).
11398

v2.4/getting-started/kubernetes/installation/vagrant/index.md

+8-22
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Deploying Calico and Kubernetes on Container Linux by CoreOS using Vagrant and VirtualBox
33
---
44

5-
These instructions allow you to set up a Kubernetes cluster with Calico networking using Vagrant and the [Calico CNI plugin][cni-plugin]. This guide does not setup TLS between Kubernetes components.
5+
These instructions allow you to set up a Kubernetes cluster with Calico networking using Vagrant and the [Calico CNI plugin][cni-plugin]. This guide does not set up TLS between Kubernetes components.
66

77
## 1. Deploy cluster using Vagrant
88

@@ -24,7 +24,7 @@ Run
2424

2525
vagrant up
2626

27-
> *Note*: This will deploy a Kubernetes master and two Kubernetes nodes. To run more nodes, modify the value `num_instances` in the Vagrantfile before running `vagrant up`.
27+
> *Note*: This will deploy a Kubernetes master and two Kubernetes nodes. To run more nodes, modify the value `num_instances` in the Vagrantfile before running `vagrant up`.
2828
2929
To connect to your servers
3030

@@ -61,11 +61,11 @@ From k8s-node-02
6161
ping 172.18.18.101
6262
ping 172.18.18.102
6363

64-
If you see ping failures, the likely culprit is a problem with the VirtualBox network between the VMs. You should
64+
If you see ping failures, the likely culprit is a problem with the VirtualBox network between the VMs. You should
6565
check that each host is connected to the same virtual network adapter in VirtualBox and rebooting the host may also
66-
help. Remember to shut down the VMs with `vagrant halt` before you reboot.
66+
help. Remember to shut down the VMs with `vagrant halt` before you reboot.
6767

68-
You should also verify each host can access etcd. The following will return an error if etcd is not available.
68+
You should also verify each host can access etcd. The following will return an error if etcd is not available.
6969

7070
curl -L http://172.18.18.101:2379/version
7171

@@ -75,23 +75,9 @@ And finally check that Docker is running on both hosts by running
7575

7676
## 2. Configuring the Cluster and `kubectl`
7777

78-
Let's configure `kubectl` so you can access the cluster from your local machine. Make sure you have `kubectl` installed locally. The version you choose depends on your host OS.
78+
Prequisite: [`kubectl` installed](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
7979

80-
For Mac:
81-
82-
```shell
83-
wget http://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/darwin/amd64/kubectl
84-
chmod +x ./kubectl
85-
```
86-
87-
For Linux:
88-
89-
```shell
90-
wget http://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl
91-
chmod +x ./kubectl
92-
```
93-
94-
Then, tell `kubectl` to use the Vagrant cluster we just created.
80+
Let's configure `kubectl` so you can access the cluster from your local machine.
9581

9682
```shell
9783
kubectl config set-cluster vagrant-cluster --server=http://172.18.18.101:8080
@@ -105,7 +91,7 @@ kubectl config use-context vagrant-system
10591

10692
## Next Steps
10793

108-
You should now have a fully functioning Kubernetes cluster using Calico for networking. You're ready to use your cluster.
94+
You should now have a fully functioning Kubernetes cluster using Calico for networking. You're ready to use your cluster.
10995

11096
We recommend you try using [Calico for Kubernetes NetworkPolicy]({{site.baseurl}}/{{page.version}}/getting-started/kubernetes/tutorials/simple-policy).
11197

v2.5/getting-started/kubernetes/installation/vagrant/index.md

+8-22
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Deploying Calico and Kubernetes on Container Linux by CoreOS using Vagran
33
redirect_from: latest/getting-started/kubernetes/installation/vagrant/index
44
---
55

6-
These instructions allow you to set up a Kubernetes cluster with Calico networking using Vagrant and the [Calico CNI plugin][cni-plugin]. This guide does not setup TLS between Kubernetes components.
6+
These instructions allow you to set up a Kubernetes cluster with Calico networking using Vagrant and the [Calico CNI plugin][cni-plugin]. This guide does not set up TLS between Kubernetes components.
77

88
## 1. Deploy cluster using Vagrant
99

@@ -25,7 +25,7 @@ Run
2525

2626
vagrant up
2727

28-
> *Note*: This will deploy a Kubernetes master and two Kubernetes nodes. To run more nodes, modify the value `num_instances` in the Vagrantfile before running `vagrant up`.
28+
> *Note*: This will deploy a Kubernetes master and two Kubernetes nodes. To run more nodes, modify the value `num_instances` in the Vagrantfile before running `vagrant up`.
2929
3030
To connect to your servers
3131

@@ -62,11 +62,11 @@ From k8s-node-02
6262
ping 172.18.18.101
6363
ping 172.18.18.102
6464

65-
If you see ping failures, the likely culprit is a problem with the VirtualBox network between the VMs. You should
65+
If you see ping failures, the likely culprit is a problem with the VirtualBox network between the VMs. You should
6666
check that each host is connected to the same virtual network adapter in VirtualBox and rebooting the host may also
67-
help. Remember to shut down the VMs with `vagrant halt` before you reboot.
67+
help. Remember to shut down the VMs with `vagrant halt` before you reboot.
6868

69-
You should also verify each host can access etcd. The following will return an error if etcd is not available.
69+
You should also verify each host can access etcd. The following will return an error if etcd is not available.
7070

7171
curl -L http://172.18.18.101:2379/version
7272

@@ -76,23 +76,9 @@ And finally check that Docker is running on both hosts by running
7676

7777
## 2. Configuring the Cluster and `kubectl`
7878

79-
Let's configure `kubectl` so you can access the cluster from your local machine. Make sure you have `kubectl` installed locally. The version you choose depends on your host OS.
79+
Prequisite: [`kubectl` installed](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
8080

81-
For Mac:
82-
83-
```shell
84-
wget http://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/darwin/amd64/kubectl
85-
chmod +x ./kubectl
86-
```
87-
88-
For Linux:
89-
90-
```shell
91-
wget http://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl
92-
chmod +x ./kubectl
93-
```
94-
95-
Then, tell `kubectl` to use the Vagrant cluster we just created.
81+
Let's configure `kubectl` so you can access the cluster from your local machine.
9682

9783
```shell
9884
kubectl config set-cluster vagrant-cluster --server=http://172.18.18.101:8080
@@ -106,7 +92,7 @@ kubectl config use-context vagrant-system
10692

10793
## Next Steps
10894

109-
You should now have a fully functioning Kubernetes cluster using Calico for networking. You're ready to use your cluster.
95+
You should now have a fully functioning Kubernetes cluster using Calico for networking. You're ready to use your cluster.
11096

11197
We recommend you try using [Calico for Kubernetes NetworkPolicy]({{site.baseurl}}/{{page.version}}/getting-started/kubernetes/tutorials/simple-policy).
11298

0 commit comments

Comments
 (0)