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 \
--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}





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