File tree Expand file tree Collapse file tree 7 files changed +17
-27
lines changed
charts/tke-extend-network-controller Expand file tree Collapse file tree 7 files changed +17
-27
lines changed Original file line number Diff line number Diff line change 1
1
# 版本说明
2
2
3
+ ## v2.0.0 (2025-05-16)
4
+
5
+ - 正式发布端口池 API,用法参考: [ 使用 CLB 端口池为 Pod 映射公网地址] ( ./docs/clb-port-pool.md ) 。
6
+
3
7
## v2.0.0-beta.8 (2025-05-15)
4
8
5
9
- 修复一些小问题。
Original file line number Diff line number Diff line change 1
1
# 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
3
3
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
4
4
ENVTEST_K8S_VERSION = 1.30.0
5
5
Original file line number Diff line number Diff line change 17
17
## 文档
18
18
19
19
- [ 安装] ( ./docs/install.md )
20
- - [ 使用 CLB 端口池为 Pod 映射公网地址(待发布) ] ( ./docs/clb-port-pool.md )
20
+ - [ 使用 CLB 端口池为 Pod 映射公网地址] ( ./docs/clb-port-pool.md )
21
21
- [ 使用 CLB 为 Pod 分配公网地址映射(即将过时)] ( ./docs/clb-mapping.md )
22
22
- [ CRD 字段说明] ( docs/crd.md )
23
23
- [ API 参考] ( docs/api.md )
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ type: application
18
18
# This is the chart version. This version number should be incremented each time you make changes
19
19
# to the chart and its templates, including the app version.
20
20
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21
- version : 2.0.0-beta.8
21
+ version : 2.0.0
22
22
23
23
# This is the version number of the application being deployed. This version number should be
24
24
# incremented each time you make changes to the application. Versions are not expected to
25
25
# follow Semantic Versioning. They should reflect the version the application is using.
26
26
# It is recommended to use it with quotes.
27
- appVersion : 2.0.0-beta.8
27
+ appVersion : 2.0.0
Original file line number Diff line number Diff line change 1
1
# 使用 CLB 为 Pod 分配公网地址映射
2
2
3
+ > ** 注意** :本文中的 CRD 已过时,请迁移到 [ 使用 CLB 端口池为 Pod 映射公网地址] ( ./clb-port-pool.md ) 的用法。
4
+
3
5
本文介绍如何为 Pod 分配独立的 CLB 公网地址映射。
4
6
5
7
## 前提条件
Original file line number Diff line number Diff line change 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 映射公网地址
23
2
24
3
## CLB 端口池介绍
25
4
@@ -102,6 +81,11 @@ spec:
102
81
103
82
> 更详细的 API 说明请参考 [API 参考](api.md#clbportpool)
104
83
84
+ ## 使用约束
85
+
86
+ - 需使用原生节点或超级节点部署 Pod,否则将无法为 Pod 映射 (从事件日志中可以看到 warning 信息)。
87
+ - 部分场景需向 CLB 提工单开通特性(如端口段)以及调整配额(如单个 CLB 监听器的数量上限),可根据文中的指引进行操作。
88
+
105
89
## 创建 CLB 端口池
106
90
107
91
下面给出一些常见的 CLB 端口池示例。
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ secretKey: "" # 腾讯云子账号的 SecretKey
56
56
57
57
``` bash
58
58
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 \
60
60
--namespace tke-extend-network-controller --create-namespace \
61
61
tke-extend-network-controller tke-extend-network-controller/tke-extend-network-controller
62
62
```
You can’t perform that action at this time.
0 commit comments