-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: Ib4a6b986be5ed3b0a9d0f6fe78f014098483aca6
- Loading branch information
1 parent
e8d3326
commit fbfbb38
Showing
4 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Cilium & Hubble | ||
|
||
## 依赖条件 | ||
|
||
- 运行正常的 `kubernetes` ( v1.21+ )环境。安装手册参考 [高可用集群](https://github.com/gopixiu-io/kubez-ansible/blob/master/docs/install/multinode.md) 或 [单节点集群](https://github.com/gopixiu-io/kubez-ansible/blob/master/docs/install/all-in-one.md) | ||
- Linux kernel >= 4.9.17 | ||
|
||
## 开启 Cilium 组件 | ||
|
||
1. 编辑 `/etc/kubez/globals.yml` | ||
|
||
2. 取消 `enable_cilium: "no"` 的注释,并设置为 `"yes"`,设置Cilium的版本 `cilium_chart_version: "1.16.1"` | ||
|
||
```yaml | ||
################ | ||
# Cilium Options | ||
################ | ||
enable_cilium: "yes" | ||
cilium_chart_version: "1.14.5" | ||
``` | ||
3. 执行安装命令(根据实际情况选择) | ||
```shell | ||
# 单节点集群场景 | ||
kubez-ansible apply | ||
# 高可用集群场景 | ||
kubez-ansible -i multinode apply | ||
``` | ||
|
||
4. 部署完验证 | ||
|
||
```shell | ||
[root@VM-16-11-centos ~]# kubectl get pods -n Cilium-system | ||
NAME READY STATUS RESTARTS AGE | ||
Ciliumd-5b86c45f48-mjzsd 1/1 Running 0 2m49s | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters