Skip to content

Commit fa01025

Browse files
authored
Update master-setup
1 parent 29e427e commit fa01025

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

kubeadm/master-setup

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# Configure kubectl as a normal ubuntu user
22
sudo su - ubuntu
3+
34
mkdir -p $HOME/.kube
45
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
56
sudo chown $(id -u):$(id -g) $HOME/.kube/config
7+
68
# To verify, if kubectl is working or not, run the following command.
79
kubectl get pods -o wide -n kube-system
810
#You will notice from the previous command, that all the pods are running except one: ‘core-dns’. For resolving this we will install a # pod network addon like Calico or Weavenet ..etc.
911
#Note: Install any one network addon don't install both. Install either weave net or calico.
10-
To install Weave network plugin/addon run the following command.
12+
#To install Weave network plugin/addon run the following command.
13+
1114
kubectl apply -f https://github.com/weaveworks/weave/releases/download/v2.8.1/weave-daemonset-k8s.yaml
1215

0 commit comments

Comments
 (0)