You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
6
7
7
8
## 1. Deploy cluster using Vagrant
8
9
@@ -24,9 +25,7 @@ Run
24
25
25
26
vagrant up
26
27
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`.
30
29
31
30
To connect to your servers
32
31
@@ -63,11 +62,11 @@ From k8s-node-02
63
62
ping 172.18.18.101
64
63
ping 172.18.18.102
65
64
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
67
66
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.
69
68
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.
71
70
72
71
curl -L http://172.18.18.101:2379/version
73
72
@@ -77,23 +76,9 @@ And finally check that Docker is running on both hosts by running
77
76
78
77
## 2. Configuring the Cluster and `kubectl`
79
78
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.
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.
111
96
112
97
We recommend you try using [Calico for Kubernetes NetworkPolicy]({{site.baseurl}}/{{page.version}}/getting-started/kubernetes/tutorials/simple-policy).
Copy file name to clipboardExpand all lines: v2.4/getting-started/kubernetes/installation/vagrant/index.md
+8-22
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Deploying Calico and Kubernetes on Container Linux by CoreOS using Vagrant and VirtualBox
3
3
---
4
4
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.
6
6
7
7
## 1. Deploy cluster using Vagrant
8
8
@@ -24,7 +24,7 @@ Run
24
24
25
25
vagrant up
26
26
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`.
28
28
29
29
To connect to your servers
30
30
@@ -61,11 +61,11 @@ From k8s-node-02
61
61
ping 172.18.18.101
62
62
ping 172.18.18.102
63
63
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
65
65
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.
67
67
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.
69
69
70
70
curl -L http://172.18.18.101:2379/version
71
71
@@ -75,23 +75,9 @@ And finally check that Docker is running on both hosts by running
75
75
76
76
## 2. Configuring the Cluster and `kubectl`
77
77
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.
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.
109
95
110
96
We recommend you try using [Calico for Kubernetes NetworkPolicy]({{site.baseurl}}/{{page.version}}/getting-started/kubernetes/tutorials/simple-policy).
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.
7
7
8
8
## 1. Deploy cluster using Vagrant
9
9
@@ -25,7 +25,7 @@ Run
25
25
26
26
vagrant up
27
27
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`.
29
29
30
30
To connect to your servers
31
31
@@ -62,11 +62,11 @@ From k8s-node-02
62
62
ping 172.18.18.101
63
63
ping 172.18.18.102
64
64
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
66
66
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.
68
68
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.
70
70
71
71
curl -L http://172.18.18.101:2379/version
72
72
@@ -76,23 +76,9 @@ And finally check that Docker is running on both hosts by running
76
76
77
77
## 2. Configuring the Cluster and `kubectl`
78
78
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.
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.
110
96
111
97
We recommend you try using [Calico for Kubernetes NetworkPolicy]({{site.baseurl}}/{{page.version}}/getting-started/kubernetes/tutorials/simple-policy).
0 commit comments