Question
You're asked to find out following information about the cluster:
# cat /opt/course/14/cluster-info
1. [ANSWER]
2. [ANSWER]
3. [ANSWER]
4. [ANSWER]
5. [ANSWER]
Answerkubectl get nodes
For question 3:
kubectl -n kube-system get po kube-apiserver-cluster1-master1 -o yaml|grep -i service
check for --service-cluster-ip-rangels -la /etc/cni/net.d/
the output is the file 10-weave.conflist. Display this file:
cat /etc/cni/net.d/10-weave.conflist
you can notice that this is weave CNI plugin.cluster1-worker1
So the file /opt/course/14/cluster-info will look like this:
1. [1]
2. [2]
3. [10.96.0.0/12]
4. [weave /etc/cni/net.d/10-weave.conflist]
5. [-cluster1-worker1]