-
Notifications
You must be signed in to change notification settings - Fork 37
Setup Kubernetes Worker Environment
xwu2 edited this page Oct 8, 2020
·
1 revision
- Setup kubelet proxy use the host proxy
- Setup Kubernetes slave node
- Join slave node into master node
- Install the NFS server
sudo mkdir -p /etc/systemd/system/kubelet.service.d/
printf "[Service]\nEnvironment=\"HTTPS_PROXY=$https_proxy\" \"NO_PROXY=$no_proxy\"\n" | sudo tee /etc/systemd/system/kubelet.service.d/proxy.conf
sudo systemctl daemon-reload
sudo -E ./script/Kubernetes_setup_node.sh
sudo systemctl restart docker
sudo systemctl restart kubelet
Run below command on master node console to generate kubeadm join command
sudo kubeadm token generate
sudo kubeadm token create <generated-token> --print-join-command --ttl=0 | grep "kubeadm join"
then run the above generated kubeadm join command on slave node console
NOTE: please make sure the Kubernetes master environment is ready.
Powered by Open Visual Cloud media software stack.
- Setup proxy server
- Setup Kubernetes for CentOS
- Setup Kubernetes for Ubuntu
- Setup NFS environment
- Setup Kubernetes Logging
- Setup Kubernetes Monitoring