Skip to content

Commit

Permalink
Deployed cb8e7b3 with MkDocs version: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
windsonsea committed Nov 12, 2024
1 parent 895066f commit 169ef8a
Show file tree
Hide file tree
Showing 35 changed files with 53 additions and 55 deletions.
4 changes: 2 additions & 2 deletions admin/kpanda/workloads/pod-config/health-check.html
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,9 @@ <h3 id="http-get">使用 HTTP GET 请求检查<a class="headerlink" href="#http-
<a href="#__codelineno-0-18" id="__codelineno-0-18" name="__codelineno-0-18"></a><span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Custom-Header</span>
<a href="#__codelineno-0-19" id="__codelineno-0-19" name="__codelineno-0-19"></a><span class="w"> </span><span class="nt">value</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Awesome</span>
<a href="#__codelineno-0-20" id="__codelineno-0-20" name="__codelineno-0-20"></a><span class="w"> </span><span class="nt">initialDelaySeconds</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">3</span><span class="w"> </span><span class="c1"># kubelet 在执行第一次探测前应该等待 3 秒</span>
<a href="#__codelineno-0-21" id="__codelineno-0-21" name="__codelineno-0-21"></a><span class="w"> </span><span class="nt">periodSeconds</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">3</span><span class="w"> </span><span class="c1">#kubelet 每隔 3 秒执行一次存活探测</span>
<a href="#__codelineno-0-21" id="__codelineno-0-21" name="__codelineno-0-21"></a><span class="w"> </span><span class="nt">periodSeconds</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">3</span><span class="w"> </span><span class="c1"># kubelet 每隔 3 秒执行一次存活探测</span>
</code></pre></div>
<p>按照设定的规则,Kubelet 向容器内运行的服务(服务在监听 8080 端口)发送一个 HTTP GET 请求来执行探测。如果服务器上 <strong>/healthz</strong> 路径下的处理程序返回成功代码,则 kubelet 认为容器是健康存活的。 如果处理程序返回失败代码,则 kubelet 会杀死这个容器并将其重启。返回大于或等于 200 并且小于 400 的任何代码都标示成功,其它返回代码都标示失败。 容器存活期间的最开始 10 秒中, <strong>/healthz</strong> 处理程序返回 200 的状态码。 之后处理程序返回 500 的状态码。</p>
<p>按照设定的规则,kubelet 向容器内运行的服务(服务在监听 8080 端口)发送一个 HTTP GET 请求来执行探测。如果服务器上 <strong>/healthz</strong> 路径下的处理程序返回成功代码,则 kubelet 认为容器是健康存活的。 如果处理程序返回失败代码,则 kubelet 会杀死这个容器并将其重启。返回大于或等于 200 并且小于 400 的任何代码都标示成功,其它返回代码都标示失败。 容器存活期间的最开始 10 秒中, <strong>/healthz</strong> 处理程序返回 200 的状态码。 之后处理程序返回 500 的状态码。</p>
<h3 id="tcp">使用 TCP 端口检查<a class="headerlink" href="#tcp" title="Permanent link"></a></h3>
<p><strong>TCP 端口参数说明:</strong></p>
<table>
Expand Down
2 changes: 1 addition & 1 deletion end-user/baize/jobs/pytorch.html
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ <h2 id="_1">任务配置介绍<a class="headerlink" href="#_1" title="Permanent
<h2 id="_2">任务运行环境<a class="headerlink" href="#_2" title="Permanent link"></a></h2>
<p>在这里我们使用 <code>baize-notebook</code> 基础镜像 和 <code>关联环境</code> 的方式来作为任务基础运行环境。</p>
<blockquote>
<p>了解如何创建环境,请参考 <a href="../dataset/environments.html">环境列表</a></p>
<p>了解如何创建环境,请参考<a href="../dataset/environments.html">环境列表</a></p>
</blockquote>
<h2 id="_3">创建任务<a class="headerlink" href="#_3" title="Permanent link"></a></h2>
<h3 id="pytorch_1">Pytorch 单机任务<a class="headerlink" href="#pytorch_1" title="Permanent link"></a></h3>
Expand Down
2 changes: 1 addition & 1 deletion end-user/baize/jobs/tensorflow.html
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ <h2 id="_1">任务配置介绍<a class="headerlink" href="#_1" title="Permanent
<h2 id="_2">任务运行环境<a class="headerlink" href="#_2" title="Permanent link"></a></h2>
<p>在这里我们使用 <code>baize-notebook</code> 基础镜像 和 <code>关联环境</code> 的方式来作为任务基础运行环境。</p>
<blockquote>
<p>了解如何创建环境,请参考 <a href="../dataset/environments.html">环境列表</a></p>
<p>了解如何创建环境,请参考<a href="../dataset/environments.html">环境列表</a></p>
</blockquote>
<h2 id="_3">创建任务<a class="headerlink" href="#_3" title="Permanent link"></a></h2>
<h3 id="tfjob">示例 TFJob 单机任务<a class="headerlink" href="#tfjob" title="Permanent link"></a></h3>
Expand Down
6 changes: 1 addition & 5 deletions end-user/insight/infra/cluster.html
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ <h2 id="_3">操作步骤<a class="headerlink" href="#_3" title="Permanent link">
</li>
<li>
<p>切换到 <strong>资源水位线监控</strong> 页签,可查看当前集群的更多监控数据。</p>
<p><img alt="集群监控" src="../../images/cluster-1.png" width="1000"/></p>
<p><img alt="集群监控" src="../images/cluster-1.png" width="1000"/></p>
</li>
</ol>
<h2 id="_4">参考指标说明<a class="headerlink" href="#_4" title="Permanent link"></a></h2>
Expand Down Expand Up @@ -604,10 +604,6 @@ <h2 id="_4">参考指标说明<a class="headerlink" href="#_4" title="Permanent
</tr>
</tbody>
</table>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>使用的具体指标可参考<a href="../../reference/used-metric-in-insight.md">可观测性参考指标说明</a></p>
</div>
</article>
</div>
<script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
Expand Down
4 changes: 2 additions & 2 deletions end-user/insight/infra/node.html
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,11 @@ <h2 id="_3">操作步骤<a class="headerlink" href="#_3" title="Permanent link">
<li><strong>资源消耗</strong> :所选节点的 CPU、内存、磁盘的实际使用量和总量;</li>
<li><strong>指标说明</strong> :所选节点的 CPU、内存、磁盘读写、网络接收发送的变化趋势。</li>
</ul>
<p><img alt="节点监控" src="../../images/node.png" width="1000"/></p>
<p><img alt="节点监控" src="../images/node.png" width="1000"/></p>
</li>
<li>
<p>切换到 <strong>资源水位线监控</strong> 页签,可查看当前节点的更多监控数据。</p>
<p><img alt="节点监控" src="../../images/cluster-1.png" width="1000"/></p>
<p><img alt="节点监控" src="../images/cluster-1.png" width="1000"/></p>
</li>
</ol>
</article>
Expand Down
8 changes: 5 additions & 3 deletions end-user/insight/quickstart/otel/java/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
</div>
</div>
</div>
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc">
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" hidden="">
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav aria-label="导航" class="md-nav md-nav--secondary">
Expand All @@ -238,11 +238,11 @@
<h1 id="java">开始监控 Java 应用<a class="headerlink" href="#java" title="Permanent link"></a></h1>
<ol>
<li>
<p>Java 应用链路接入与监控请参考 <a href="../operator.html">通过 Operator 实现应用程序无侵入增强</a> 文档,通过注解实现自动接入链路。</p>
<p>Java 应用链路接入与监控请参考<a href="../operator.html">通过 Operator 实现应用程序无侵入增强</a> 文档,通过注解实现自动接入链路。</p>
</li>
<li>
<p>Java 应用的 JVM 进行监控:已经暴露 JVM 指标和仍未暴露 JVM 指标的 Java 应用如何与可观测性 Insight 对接。</p>
</li>
<ul>
<li>
<p>如果您的 Java 应用未开始暴露 JVM 指标,您可以参考如下文档:</p>
<ul>
Expand All @@ -256,6 +256,8 @@ <h1 id="java">开始监控 Java 应用<a class="headerlink" href="#java" title="
<li><a href="jvm-monitor/legacy-jvm.html">已有 JVM 指标的 Java 应用对接可观测性</a></li>
</ul>
</li>
</ul>
</li>
<li>
<p><a href="mdc.html">将 TraceId 和 SpanId 写入 Java 应用日志</a>, 实现链路数据与日志数据关联</p>
</li>
Expand Down
4 changes: 2 additions & 2 deletions end-user/insight/quickstart/res-plan/vms-res-plan.html
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
<h1 id="vmstorage">vmstorage 磁盘容量规划<a class="headerlink" href="#vmstorage" title="Permanent link"></a></h1>
<p>vmstorage 是负责存储可观测性多集群指标。
为保证 vmstorage 的稳定性,需要根据集群数量及集群规模调整 vmstorage 的磁盘容量。
更多资料请参考<a href="https://docs.victoriametrics.com/guides/understand-your-setup-size.html?highlight=datapoint#retention-perioddisk-space">vmstorage 保留期与磁盘空间</a></p>
更多资料请参考 <a href="https://docs.victoriametrics.com/guides/understand-your-setup-size.html?highlight=datapoint#retention-perioddisk-space">vmstorage 保留期与磁盘空间</a></p>
<h2 id="_1">测试结果<a class="headerlink" href="#_1" title="Permanent link"></a></h2>
<p>经过 14 天对不同规模的集群的 vmstorage 的磁盘观测,
我们发现 vmstorage 的磁盘用量与其存储的指标量和单个数据点占用磁盘正相关。</p>
Expand Down Expand Up @@ -437,7 +437,7 @@ <h3 id="_6">举例说明<a class="headerlink" href="#_6" title="Permanent link">
<p>则当前 vmstorage 磁盘用量应设置为 (784000+80000)x2x0.9x60x24x31 = 124384896000 byte = 116 GiB</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>集群中指标量与 Pod 数量的关系可参考<a href="prometheus-res.html">Prometheus 资源规划</a></p>
<p>集群中指标量与 Pod 数量的关系可参考 <a href="prometheus-res.html">Prometheus 资源规划</a></p>
</div>
</article>
</div>
Expand Down
4 changes: 2 additions & 2 deletions end-user/kpanda/backup/deployment.html
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,10 @@ <h2 id="_2">前提条件<a class="headerlink" href="#_2" title="Permanent link">
<p>在对无状态工作负载进行备份前,需要满足以下前提条件:</p>
<ul>
<li>
<p>在容器管理模块中<a href="../clusters/integrate-cluster.html">接入 Kubernetes 集群</a>或者<a href="../clusters/create-cluster.html">创建 Kubernetes 集群</a>,且能够访问集群的 UI 界面。</p>
<p>在容器管理模块中<a href="../clusters/integrate-cluster.html">接入 Kubernetes 集群</a>或者管理员已为用户创建了集群,且能够访问集群的 UI 界面。</p>
</li>
<li>
<p>创建一个<a href="../namespaces/createns.html">命名空间</a><a href="../../ghippo/access-control/user.md">用户</a></p>
<p>创建一个<a href="../namespaces/createns.html">命名空间</a><a href="../../register/index.html">用户</a></p>
</li>
<li>
<p>当前操作用户应具有 <a href="../permissions/permission-brief.html#ns-editor">NS Editor</a> 或更高权限,详情可参考<a href="../namespaces/createns.html">命名空间授权</a></p>
Expand Down
4 changes: 2 additions & 2 deletions end-user/kpanda/backup/etcd-backup.html
Original file line number Diff line number Diff line change
Expand Up @@ -634,10 +634,10 @@ <h1 id="etcd">etcd 备份<a class="headerlink" href="#etcd" title="Permanent lin
<h2 id="_1">前提条件<a class="headerlink" href="#_1" title="Permanent link"></a></h2>
<ul>
<li>
<p><a href="../clusters/integrate-cluster.html">接入</a>或者<a href="../clusters/create-cluster.html">创建 Kubernetes 集群</a>,且能够访问集群的 UI 界面。</p>
<p><a href="../clusters/integrate-cluster.html">接入</a>或者管理员已为用户创建了集群,且能够访问集群的 UI 界面。</p>
</li>
<li>
<p>创建<a href="../namespaces/createns.html">命名空间</a><a href="../../ghippo/access-control/user.md">用户</a>,并为用户授予 <a href="../permissions/permission-brief.html#ns-admin">NS Admin</a> 或更高权限。详情可参考<a href="../permissions/cluster-ns-auth.html">命名空间授权</a></p>
<p>创建<a href="../namespaces/createns.html">命名空间</a><a href="../../register/index.html">用户</a>,并为用户授予 <a href="../permissions/permission-brief.html#ns-admin">NS Admin</a> 或更高权限。详情可参考<a href="../permissions/cluster-ns-auth.html">命名空间授权</a></p>
</li>
<li>
<p>准备一个 MinIO 实例。</p>
Expand Down
2 changes: 1 addition & 1 deletion end-user/kpanda/configmaps-secrets/create-configmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ <h2 id="_2">前提条件<a class="headerlink" href="#_2" title="Permanent link">
<p>容器管理模块<a href="../clusters/integrate-cluster.html">已接入 Kubernetes 集群</a>或者<a href="../clusters/create-cluster.html">已创建 Kubernetes 集群</a>,且能够访问集群的 UI 界面</p>
</li>
<li>
<p>已完成一个<a href="../namespaces/createns.html">命名空间的创建</a><a href="../../ghippo/access-control/user.md">用户的创建</a>,并将用户授权为 <a href="../permissions/permission-brief.html#ns-editor">NS Editor</a> 角色 ,详情可参考<a href="../permissions/cluster-ns-auth.html">命名空间授权</a></p>
<p>已完成一个<a href="../namespaces/createns.html">命名空间的创建</a><a href="../../register/index.html">用户的创建</a>,并将用户授权为 <a href="../permissions/permission-brief.html#ns-editor">NS Editor</a> 角色 ,详情可参考<a href="../permissions/cluster-ns-auth.html">命名空间授权</a></p>
</li>
</ul>
<h2 id="_3">图形化表单创建<a class="headerlink" href="#_3" title="Permanent link"></a></h2>
Expand Down
2 changes: 1 addition & 1 deletion end-user/kpanda/configmaps-secrets/create-secret.html
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ <h2 id="_2">前提条件<a class="headerlink" href="#_2" title="Permanent link">
<p>容器管理模块<a href="../clusters/integrate-cluster.html">已接入 Kubernetes 集群</a>或者<a href="../clusters/create-cluster.html">已创建 Kubernetes 集群</a>,且能够访问集群的 UI 界面</p>
</li>
<li>
<p>已完成一个<a href="../namespaces/createns.html">命名空间的创建</a><a href="../../ghippo/access-control/user.md">用户的创建</a>,并将用户授权为 <a href="../permissions/permission-brief.html#ns-editor">NS Editor</a> ,详情可参考<a href="../permissions/cluster-ns-auth.html">集群和命名空间授权</a></p>
<p>已完成一个<a href="../namespaces/createns.html">命名空间的创建</a><a href="../../register/index.html">用户的创建</a>,并将用户授权为 <a href="../permissions/permission-brief.html#ns-editor">NS Editor</a> ,详情可参考<a href="../permissions/cluster-ns-auth.html">集群和命名空间授权</a></p>
</li>
</ul>
<h2 id="_3">图形化表单创建<a class="headerlink" href="#_3" title="Permanent link"></a></h2>
Expand Down
2 changes: 1 addition & 1 deletion end-user/kpanda/custom-resources/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ <h2 id="_1">前提条件<a class="headerlink" href="#_1" title="Permanent link">
<p>容器管理模块<a href="../clusters/integrate-cluster.html">已接入 Kubernetes 集群</a>或者<a href="../clusters/create-cluster.html">已创建 Kubernetes</a>,且能够访问集群的 UI 界面</p>
</li>
<li>
<p>已完成一个<a href="../namespaces/createns.html">命名空间的创建</a><a href="../../ghippo/access-control/user.md">用户的创建</a>,并将用户授权为 <a href="../permissions/permission-brief.html#cluster-admin">Cluster Admin</a> 角色 ,详情可参考<a href="../permissions/cluster-ns-auth.html">集群和命名空间授权</a></p>
<p>已完成一个<a href="../namespaces/createns.html">命名空间的创建</a><a href="../../register/index.html">用户的创建</a>,并将用户授权为 <a href="../permissions/permission-brief.html#cluster-admin">Cluster Admin</a> 角色 ,详情可参考<a href="../permissions/cluster-ns-auth.html">集群和命名空间授权</a></p>
</li>
</ul>
<h2 id="yaml">通过 YAML 创建自定义资源<a class="headerlink" href="#yaml" title="Permanent link"></a></h2>
Expand Down
2 changes: 1 addition & 1 deletion end-user/kpanda/helm/helm-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ <h2 id="_1">前提条件<a class="headerlink" href="#_1" title="Permanent link">
<p>容器管理模块<a href="../clusters/integrate-cluster.html">已接入 Kubernetes 集群</a>或者<a href="../clusters/create-cluster.html">已创建 Kubernetes 集群</a>,且能够访问集群的 UI 界面。</p>
</li>
<li>
<p>已完成一个<a href="../namespaces/createns.html">命名空间的创建</a><a href="../../ghippo/access-control/user.md">用户的创建</a>,并为用户授予 <a href="../permissions/permission-brief.html#ns-admin">NS Admin</a> 或更高权限,详情可参考<a href="../permissions/cluster-ns-auth.html">命名空间授权</a></p>
<p>已完成一个<a href="../namespaces/createns.html">命名空间的创建</a><a href="../../register/index.html">用户的创建</a>,并为用户授予 <a href="../permissions/permission-brief.html#ns-admin">NS Admin</a> 或更高权限,详情可参考<a href="../permissions/cluster-ns-auth.html">命名空间授权</a></p>
</li>
</ul>
<h2 id="helm_1">安装 Helm 应用<a class="headerlink" href="#helm_1" title="Permanent link"></a></h2>
Expand Down
2 changes: 1 addition & 1 deletion end-user/kpanda/helm/helm-repo.html
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ <h2 id="_1">前提条件<a class="headerlink" href="#_1" title="Permanent link">
<p>容器管理模块<a href="../clusters/integrate-cluster.html">已接入 Kubernetes 集群</a>或者<a href="../clusters/create-cluster.html">已创建 Kubernetes 集群</a>,且能够访问集群的 UI 界面</p>
</li>
<li>
<p>已完成一个<a href="../namespaces/createns.html">命名空间的创建</a><a href="../../ghippo/access-control/user.md">用户的创建</a>,并为用户授予 <a href="../permissions/permission-brief.html#ns-admin">NS Admin</a> 或更高权限 ,详情可参考<a href="../permissions/cluster-ns-auth.html">命名空间授权</a></p>
<p>已完成一个<a href="../namespaces/createns.html">命名空间的创建</a><a href="../../register/index.html">用户的创建</a>,并为用户授予 <a href="../permissions/permission-brief.html#ns-admin">NS Admin</a> 或更高权限 ,详情可参考<a href="../permissions/cluster-ns-auth.html">命名空间授权</a></p>
</li>
<li>
<p>如果使用私有仓库,当前操作用户应拥有对该私有仓库的读写权限。</p>
Expand Down
2 changes: 1 addition & 1 deletion end-user/kpanda/namespaces/createns.html
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ <h2 id="_2">创建命名空间<a class="headerlink" href="#_2" title="Permanent
<div class="admonition note">
<p class="admonition-title">Note</p>
<ul>
<li>在创建命名空间之前,需要在容器管理模块<a href="../clusters/integrate-cluster.html">接入 Kubernetes 集群</a>或者<a href="../clusters/create-cluster.html">创建 Kubernetes 集群</a></li>
<li>在创建命名空间之前,需要在容器管理模块<a href="../clusters/integrate-cluster.html">接入 Kubernetes 集群</a>或者管理员已为用户创建了集群</li>
<li>集群初始化后通常会自动生成默认的命名空间 <strong>default</strong> 。但对于生产集群而言,为便于管理,建议创建其他的命名空间,而非直接使用 <strong>default</strong> 命名空间。</li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion end-user/kpanda/namespaces/podsecurity.html
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ <h2 id="_2">前提条件<a class="headerlink" href="#_2" title="Permanent link">
<p>容器管理模块<a href="../clusters/integrate-cluster.html">已接入 Kubernetes 集群</a>或者<a href="../clusters/create-cluster.html">已创建 Kubernetes 集群</a>,集群的版本需要在 v1.22 以上,且能够访问集群的 UI 界面。</p>
</li>
<li>
<p>已完成一个<a href="createns.html">命名空间的创建</a><a href="../../ghippo/access-control/user.md">用户的创建</a>,并为用户授予 <a href="../permissions/permission-brief.html#ns-admin">NS Admin</a> 或更高权限,详情可参考<a href="../permissions/cluster-ns-auth.html">命名空间授权</a></p>
<p>已完成一个<a href="createns.html">命名空间的创建</a><a href="../../register/index.html">用户的创建</a>,并为用户授予 <a href="../permissions/permission-brief.html#ns-admin">NS Admin</a> 或更高权限,详情可参考<a href="../permissions/cluster-ns-auth.html">命名空间授权</a></p>
</li>
</ul>
<h2 id="_3">为命名空间配置容器组安全策略<a class="headerlink" href="#_3" title="Permanent link"></a></h2>
Expand Down
Loading

0 comments on commit 169ef8a

Please sign in to comment.