Understanding Kubernetes Objects

kubernetes/community

<aside> 👉 Difference between Spec and Status

也就是說 Spec 就是我們 apply 的 yaml file,Status 是當前真正的狀態。

</aside>

要更改 Status 時,必須整個一起修改。

因此要修改一個 Status 中的一個值時,可以先 GET,修改一個 label, annotation, ... 後,再 PUT。