Update update-daemon-set.md

This commit is contained in:
Wang Jie
2017-10-23 09:46:20 +08:00
committed by GitHub
parent d5b0c2490f
commit a07f6bcbbb
@@ -56,7 +56,7 @@ to 1) and `.spec.minReadySeconds` (default to 0) as well.
### Step 1: Checking DaemonSet `RollingUpdate` update strategy ### Step 1: Checking DaemonSet `RollingUpdate` update strategy
First, check the update strategy of your DaemonSet, and make sure it's set to First, check the update strategy of your DaemonSet, and make sure it's set to
RollingUpdate: `RollingUpdate`:
```shell{% raw %} ```shell{% raw %}
kubectl get ds/<daemonset-name> -o go-template='{{.spec.updateStrategy.type}}{{"\n"}}' kubectl get ds/<daemonset-name> -o go-template='{{.spec.updateStrategy.type}}{{"\n"}}'