mirror of
				https://github.com/alexellis/k8s-on-raspbian.git
				synced 2025-10-31 07:34:22 +01:00 
			
		
		
		
	Update initialDelaySeconds in kube-apiserver.yaml
Signed-off-by: Utsav Anand <utsavanand2@gmail.com>
This commit is contained in:
		
							parent
							
								
									1cb332d22b
								
							
						
					
					
						commit
						0794be64e9
					
				
							
								
								
									
										3
									
								
								GUIDE.md
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								GUIDE.md
									
									
									
									
									
								
							| @ -155,7 +155,8 @@ Note: This step can take a long time, even up to 15 minutes. | |||||||
| Sometimes this stage can fail, if it does then you should patch the API Server to allow for a higher failure threshold during initialization around the time you see `[controlplane] wrote Static Pod manifest for component kube-apiserver to "/etc/kubernetes/manifests/kube-apiserver.yaml"` | Sometimes this stage can fail, if it does then you should patch the API Server to allow for a higher failure threshold during initialization around the time you see `[controlplane] wrote Static Pod manifest for component kube-apiserver to "/etc/kubernetes/manifests/kube-apiserver.yaml"` | ||||||
| 
 | 
 | ||||||
| ``` | ``` | ||||||
| sudo sed -i 's/failureThreshold: 8/failureThreshold: 20/g' /etc/kubernetes/manifests/kube-apiserver.yaml | sudo sed -i 's/failureThreshold: 8/failureThreshold: 20/g' /etc/kubernetes/manifests/kube-apiserver.yaml && \ | ||||||
|  | sed -i 's/initialDelaySeconds: [0-9]\+/initialDelaySeconds: 360/' /etc/kubernetes/manifests/kube-apiserver.yaml | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| After the `init` is complete run the snippet given to you on the command-line: | After the `init` is complete run the snippet given to you on the command-line: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	