resequence directories
This commit is contained in:
		
							
								
								
									
										20
									
								
								05-join-nodes/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								05-join-nodes/README.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
# 05 | Join Additional Controller and Worker Nodes
 | 
			
		||||
 | 
			
		||||
At this point, other nodes can be joined to the cluster.  From a control node, you can get the join command by doing the following.
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
sudo kubeadm token create --print-join-command
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
You can then take the command in the output and use it to join other nodes.  
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
 | 
			
		||||
# Example to join a control node, add --control-plane
 | 
			
		||||
sudo kubeadm join 10.69.69.50:6443 --token drazx3.qa70i6wfatxujdqo --discovery-token-ca-cert-hash sha256:5dccc0b4113ffc2543e2d453c35bf4db998719c1c73b60e4467f5c20d3f7b9ad --control-plane
 | 
			
		||||
 | 
			
		||||
# Example to join a worker node
 | 
			
		||||
sudo kubeadm join 10.69.69.50:6443 --token drazx3.qa70i6wfatxujdqo --discovery-token-ca-cert-hash sha256:5dccc0b4113ffc2543e2d453c35bf4db998719c1c73b60e4467f5c20d3f7b9ad
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
		Reference in New Issue
	
	Block a user