Configuration of the Kubernetes cluster with external ETCD for a lab environment (3)

The architecture for continuous machine learning in a lab environment

Create bootstrap tokens with join command

$ kubeadm token create --print-join-command

Join workers to use join command

$ kubeadm join 10.0.0.1:6443 \
--token wbehps.5vzwsr2qhdkyeqej \
--discovery-token-ca-cert-hash sha256:56bdf55e4d27d82cdedd9b0fe1aa9372b747ebd040d8eca4c650d15878538b37 \
--apiserver-advertise-address {{ worker_ip }}

List cluster’s nodes

$ kubectl get nodes

Node labeling

$ kubectl label nodes k8sworker{1,2} node-role.kubernetes.io/worker=worker

Conclusion

https://buymeacoffee.com/7ov2xm5

References

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store