Skip to content

Commit 5874a53

Browse files
authored
Update play-with-k8s.md
1 parent 0ec5170 commit 5874a53

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

setup/play-with-k8s.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ To create a instance press the `add new instance` button on the top left corner.
1414
![terminal](images/play-with-k8s/terminal.png)
1515

1616
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.
1818

1919
```
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')"
2222
```
2323
to install the calico network provider.
2424

@@ -45,4 +45,7 @@ We will then just check the status of our running pods.To do that we will issue
4545

4646
All our pods should be running with nothing pending or in crashloop.
4747

48+
Last step lets install tmux as we will need that later
49+
`yum install tmux`
50+
4851
Now your setup is all complete.

0 commit comments

Comments
 (0)