File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ To create a instance press the `add new instance` button on the top left corner.
14
14
![ terminal] ( images/play-with-k8s/terminal.png )
15
15
16
16
Run the following commands in the terminal
17
- ` kubeadm init --apiserver-advertise-address $(hostname -i) --pod-network-cidr=192.168.0.0/16 ` to initalize the controller.
17
+ ` kubeadm init --apiserver-advertise-address $(hostname -i) ` to initalize the controller.
18
18
19
19
```
20
- kubectl apply -f https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/hosted/rbac-kdd.yaml
21
- kubectl apply -f https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/hosted/kubernetes-datastore/calico-networking/1.7/calico.yaml
20
+ kubectl apply -n kube-system -f \
21
+ " https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 |tr -d '\n')"
22
22
```
23
23
to install the calico network provider.
24
24
@@ -45,4 +45,7 @@ We will then just check the status of our running pods.To do that we will issue
45
45
46
46
All our pods should be running with nothing pending or in crashloop.
47
47
48
+ Last step lets install tmux as we will need that later
49
+ ` yum install tmux `
50
+
48
51
Now your setup is all complete.
You can’t perform that action at this time.
0 commit comments