Skip to content

Commit

Permalink
optimize k8s extended operator document title
Browse files Browse the repository at this point in the history
Signed-off-by: Icarus9913 <icaruswu66@qq.com>
  • Loading branch information
Icarus9913 committed Dec 13, 2023
1 parent 96fed19 commit 52c2bfb
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ nav:
- IPAM of SpiderIPPool: usage/spider-ippool.md
- IPAM of IPPool Affinity: usage/spider-affinity.md
- IPAM of SpiderSubnet: usage/spider-subnet.md
- IPAM for custom controllers: usage/third-party-controller.md
- IPAM for operator: usage/operator.md
- IPAM for StatefulSet: usage/statefulset.md
- IPAM of Reserved IP: usage/reserved-ip.md
- MultipleInterfaces: usage/multi-interfaces-annotation.md
Expand Down
3 changes: 3 additions & 0 deletions docs/usage/operator-zh_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# IPAM 对 operator 支持

**简体中文**[**English**](./operator.md)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IPAM for third-party controllers
# IPAM for operator

**简体中文** | [**English**](./third-party-controller-zh_CN.md)
**English** | [**简体中文**](./operator-zh_CN.md)

## Description

Expand Down Expand Up @@ -29,7 +29,7 @@ So Spiderpool treats them as `stateless` Pod like `Deployment`, this means Pods

## Get Started

It will use [OpenKruise](https://openkruise.io/zh/docs/) to demonstrate how Spiderpool supports third-party controllers.
It will use [OpenKruise](https://openkruise.io/zh/docs/) to demonstrate how Spiderpool supports operator.

### Set up Spiderpool

Expand Down
2 changes: 1 addition & 1 deletion docs/usage/readme-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
这能够减少大量的运维负担,可参考[例子](./spider-subnet-zh_CN.md)。

该功能除了支持 K8S 原生的应用控制器,同时支持基于 operator 实现的第三方应用控制器。
可参考[例子](./third-party-controller-zh_CN.md)。
可参考[例子](./operator-zh_CN.md)。

- 可以设置集群级别的默认 IP 池,也可租户级别的默认 IP 池。同时,IP 池既可以被整个集群共享,
也可被限定为被一个租户使用。可参考[例子](./spider-affinity-zh_CN.md)。
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ For instructions on how to upgrade Spiderpool, please refer to the [upgrade guid
It automates IP pool management for applications with fixed IP requirements, enabling automatic creation, scaling, and deletion of fixed IP pools.
This greatly reduces operational burden. See the [example](./spider-subnet.md) for practical use cases.

In addition to supporting native Kubernetes application controllers, Spiderpool's Subnet feature complements third-party application controllers implemented using operators. Refer to the [example](./third-party-controller.md) for more details.
In addition to supporting native Kubernetes application controllers, Spiderpool's Subnet feature complements third-party application controllers implemented using operators. Refer to the [example](./operator.md) for more details.
- Default IP pools can be set at either the cluster-level or tenant-level. IP pools can be shared throughout the entire cluster or restricted to specific tenants. Check out the [example](./spider-affinity.md) for details.
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/spider-subnet-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SpiderSubnet 资源代表 IP 地址的集合,当需要为应用分配固定的

- 自动创建 IPPool : 应用管理员可在 Pod annotation 中注明使用的 Subnet 实例名,在应用创建时,Spiderpool 会自动根据 Subnet 实例中的可用 IP 地址来创建固定 IP 的 IPPool 实例,从中分配 IP 地址给 Pod。并且 Spiderpool 能够自动监控应用的扩缩容和删除事件,自动完成 IPPool 中的 IP 地址扩缩容和删除。

SpiderSubnet 功能还支持众多的控制器,如:ReplicaSet、Deployment、Statefulset、Daemonset、Job、Cronjob,第三方控制器等。对于第三方控制器,您可以参考[示例](./third-party-controller.md)
SpiderSubnet 功能还支持众多的控制器,如:ReplicaSet、Deployment、Statefulset、Daemonset、Job、Cronjob,第三方控制器等。对于第三方控制器,您可以参考[示例](./operator.md)

> 注意:在 v0.7.0 版本之前,在启动 SpiderSubnet 功能下你必须得先创建一个 SpiderSubnet 资源才可以创建 SpiderIPPool 资源。在v0.7.0版本开始,支持创建一个独立的 SpiderIPPool 资源而不依赖于 SpiderSubnet 资源。
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/spider-subnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To allocate fixed IP addresses for applications and decouple the roles of applic

- Automatically create IPPool: application administrators can specify the name of the Subnet instance in the Pod annotation. Spiderpool automatically creates an IPPool instance with fixed IP addresses coming from the Subnet instance. The IP addresses in the instance are then allocated to Pods. Spiderpool also monitors application scaling and deletion events, automatically adjusting the IP pool size or removing IPs as needed.

SpiderSubnet also supports several controllers, including ReplicaSet, Deployment, StatefulSet, DaemonSet, Job, CronJob, and third-party controllers. If you need to use a third-party controller, you can refer to the doc [Spiderpool supports third-party controllers](./third-party-controller.md).
SpiderSubnet also supports several controllers, including ReplicaSet, Deployment, StatefulSet, DaemonSet, Job, CronJob, and k8s extended operator. If you need to use a third-party controller, you can refer to the doc [Spiderpool supports operator](./operator.md).

> Notice: Before v0.7.0 version, you have to create a SpiderSubnet resource before you create a SpiderIPPool resource with SpiderSubnet feature enabled. Since v0.7.0 version, you can create an orphan SpiderIPPool without a SpiderSubnet resource.
Expand Down
3 changes: 0 additions & 3 deletions docs/usage/third-party-controller-zh_CN.md

This file was deleted.

2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ endif
E2E_SPIDERPOOL_ENABLE_SUBNET=${E2E_SPIDERPOOL_ENABLE_SUBNET} \
scripts/install-multus.sh $(E2E_CLUSTER_NAME) $(E2E_KUBECONFIG)
ifeq ($(INSTALL_KRUISE),true)
@echo -e "\033[35m [Step 9] Install third-party controllers: kurise \033[0m"
@echo -e "\033[35m [Step 9] Install operator: kurise \033[0m"
@ make setup_kurise
endif
ifeq ($(INSTALL_KDOCTOR),true)
Expand Down

0 comments on commit 52c2bfb

Please sign in to comment.