You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `kubectl` tool currently cannot be used to edit or patch the `status` subresource on a CRD: see the [Kubectl Subresource Support KEP](https://github.com/kubernetes/enhancements/tree/master/keps/sig-cli/2590-kubectl-subresource) for more details.
1422
+
1423
+
The easier way to patch the status subresource from the CLI is directly interacting with the API server using the `curl` tool, in this example:
1424
+
-->
1425
+
{{< note >}}
1426
+
`kubectl`工具目前不能用于编辑或修补 CRD 上的 `status` 子资源:请参阅
1427
+
[kubectl Subresource Support KEP](https://github.com/kubernetes/enhancements/tree/master/keps/sig-cli/2590-kubectl-subresource)
1428
+
了解更多细节。
1429
+
1430
+
从 CLI 给 `status` 子资源打补丁的更简单的方法是使用 `curl` 工具直接与 API 服务器交互,示例:
0 commit comments