diff --git a/content/en/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch.md b/content/en/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch.md index e6e33efe75..7b38703c74 100644 --- a/content/en/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch.md +++ b/content/en/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch.md @@ -189,11 +189,11 @@ kubectl get deployment patch-demo --output yaml The output shows that the PodSpec in the Deployment has only one Toleration: -```shell +```yaml tolerations: - - effect: NoSchedule - key: disktype - value: ssd +- effect: NoSchedule + key: disktype + value: ssd ``` Notice that the `tolerations` list in the PodSpec was replaced, not merged. This is because