Skip to content

Commit 40d509e

Browse files
committed
release v2.0.0
Signed-off-by: roc <[email protected]>
1 parent d51035c commit 40d509e

File tree

7 files changed

+17
-27
lines changed

7 files changed

+17
-27
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# 版本说明
22

3+
## v2.0.0 (2025-05-16)
4+
5+
- 正式发布端口池 API,用法参考: [使用 CLB 端口池为 Pod 映射公网地址](./docs/clb-port-pool.md)
6+
37
## v2.0.0-beta.8 (2025-05-15)
48

59
- 修复一些小问题。

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Image URL to use all building/pushing image targets
2-
IMG ?= imroc/tke-extend-network-controller:2.0.0-beta.8
2+
IMG ?= imroc/tke-extend-network-controller:2.0.0
33
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
44
ENVTEST_K8S_VERSION = 1.30.0
55

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
## 文档
1818

1919
- [安装](./docs/install.md)
20-
- [使用 CLB 端口池为 Pod 映射公网地址(待发布)](./docs/clb-port-pool.md)
20+
- [使用 CLB 端口池为 Pod 映射公网地址](./docs/clb-port-pool.md)
2121
- [使用 CLB 为 Pod 分配公网地址映射(即将过时)](./docs/clb-mapping.md)
2222
- [CRD 字段说明](docs/crd.md)
2323
- [API 参考](docs/api.md)

charts/tke-extend-network-controller/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 2.0.0-beta.8
21+
version: 2.0.0
2222

2323
# This is the version number of the application being deployed. This version number should be
2424
# incremented each time you make changes to the application. Versions are not expected to
2525
# follow Semantic Versioning. They should reflect the version the application is using.
2626
# It is recommended to use it with quotes.
27-
appVersion: 2.0.0-beta.8
27+
appVersion: 2.0.0

docs/clb-mapping.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 使用 CLB 为 Pod 分配公网地址映射
22

3+
> **注意**:本文中的 CRD 已过时,请迁移到 [使用 CLB 端口池为 Pod 映射公网地址](./clb-port-pool.md) 的用法。
4+
35
本文介绍如何为 Pod 分配独立的 CLB 公网地址映射。
46

57
## 前提条件

docs/clb-port-pool.md

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,4 @@
1-
# 使用 CLB 端口池为 Pod 映射公网地址(预览阶段)
2-
3-
## 抢先体验
4-
5-
本文中的功能将在 2.0.0 版本中正式发布,目前处于预览阶段,可通过以下 helm 安装方式测试和体验:
6-
7-
```bash
8-
helm repo add tke-extend-network-controller https://tkestack.github.io/tke-extend-network-controller
9-
helm upgrade --install --devel -f values.yaml \
10-
--namespace tke-extend-network-controller --create-namespace \
11-
tke-extend-network-controller tke-extend-network-controller/tke-extend-network-controller
12-
```
13-
14-
`--devel` 参数很重要,其中 `values.yaml` 需配置好以下必要的参数:
15-
16-
```yaml
17-
vpcID: "" # TKE 集群所在 VPC ID (vpc-xxx)
18-
region: "" # TKE 集群所在地域,如 ap-guangzhou
19-
clusterID: "" # TKE 集群 ID (cls-xxx)
20-
secretID: "" # 腾讯云子账号的 SecretID
21-
secretKey: "" # 腾讯云子账号的 SecretKey
22-
```
1+
# 使用 CLB 端口池为 Pod 映射公网地址
232

243
## CLB 端口池介绍
254

@@ -102,6 +81,11 @@ spec:
10281
10382
> 更详细的 API 说明请参考 [API 参考](api.md#clbportpool)
10483
84+
## 使用约束
85+
86+
- 需使用原生节点或超级节点部署 Pod,否则将无法为 Pod 映射 (从事件日志中可以看到 warning 信息)。
87+
- 部分场景需向 CLB 提工单开通特性(如端口段)以及调整配额(如单个 CLB 监听器的数量上限),可根据文中的指引进行操作。
88+
10589
## 创建 CLB 端口池
10690
10791
下面给出一些常见的 CLB 端口池示例。

docs/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ secretKey: "" # 腾讯云子账号的 SecretKey
5656

5757
```bash
5858
helm repo add tke-extend-network-controller https://tkestack.github.io/tke-extend-network-controller
59-
helm upgrade --install --devel -f values.yaml \
59+
helm upgrade --install -f values.yaml \
6060
--namespace tke-extend-network-controller --create-namespace \
6161
tke-extend-network-controller tke-extend-network-controller/tke-extend-network-controller
6262
```

0 commit comments

Comments
 (0)