Skip to content

Commit

Permalink
Update initialDelaySeconds in kube-apiserver.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Utsav Anand <[email protected]>
  • Loading branch information
utsavanand2 authored and alexellis committed Dec 27, 2018
1 parent 1cb332d commit 0794be6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

```
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:
Expand Down

0 comments on commit 0794be6

Please sign in to comment.