add zh pages

This commit is contained in:
Karen Bradshaw
2020-06-01 09:23:39 -04:00
parent 21fd0a12f9
commit 4b35d4d401
303 changed files with 2764 additions and 2439 deletions
@@ -1,23 +1,24 @@
---
title: 调试StatefulSet
content_template: templates/task
content_type: task
---
{{% capture overview %}}
<!-- overview -->
此任务展示如何调试StatefulSet。
{{% /capture %}}
{{% capture prerequisites %}}
## {{% heading "prerequisites" %}}
* 你需要有一个Kubernetes集群,通过必要的配置使kubectl命令行工具与您的集群进行通信。
* 你应该有一个运行中的StatefulSet,以便用于调试。
{{% /capture %}}
{{% capture steps %}}
<!-- steps -->
## 调试StatefulSet
@@ -67,12 +68,13 @@ spec:
kubectl annotate pods <pod-name> pod.alpha.kubernetes.io/initialized="true" --overwrite
```
{{% /capture %}}
{{% capture whatsnext %}}
## {{% heading "whatsnext" %}}
点击链接[调试init-container](/docs/tasks/troubleshoot/debug-init-containers/),了解更多信息。
{{% /capture %}}