Projects:Kubernetes: verschil tussen versies

Naar navigatie springen Naar zoeken springen
426 bytes toegevoegd ,  10 mrt 2019
Geen bewerkingssamenvatting
Regel 115: Regel 115:
** After this, <code>kubectl get pods --all-namespaces</code> should show some additional pods. Most importantly, it should now show that CoreDNS is running.
** After this, <code>kubectl get pods --all-namespaces</code> should show some additional pods. Most importantly, it should now show that CoreDNS is running.
* Now, we can join our other nodes. <code>kubeadm init</code> will show a <code>kubeadm join</code> command at the end of its output, which you can run on the other nodes. If you don't have that output anymore, see [https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/#token-based-discovery-with-ca-pinning this page on how to recreate a valid join command].
* Now, we can join our other nodes. <code>kubeadm init</code> will show a <code>kubeadm join</code> command at the end of its output, which you can run on the other nodes. If you don't have that output anymore, see [https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/#token-based-discovery-with-ca-pinning this page on how to recreate a valid join command].
Hopefully, after understanding all the concepts discussed earlier, this process was a matter of mere minutes!
Your node list should be complete now:
<pre>
root@kubetest4:~# kubectl get nodes
NAME        STATUS  ROLES    AGE    VERSION
kubetest1  Ready    <none>  2d2h  v1.13.4
kubetest2  Ready    <none>  2d2h  v1.13.4
kubetest3  Ready    <none>  2d5h  v1.13.4
kubetest4  Ready    master  2d5h  v1.13.4
</pre>

Navigatiemenu