centos 安装kubeedge
时间: 2023-08-14 18:12:36 浏览: 170
安装KubeEdge在CentOS上需要按照以下步骤进行操作:
1. 首先,在准备好的所有节点上下载kubeedge相关组件。可以使用以下命令下载keadm和kubeedge压缩包以及校验文件:
```
wget https://github.com/kubeedge/kubeedge/releases/download/v1.10.0/keadm-v1.10.0-linux-amd64.tar.gz
wget https://github.com/kubeedge/kubeedge/releases/download/v1.10.0/kubeedge-v1.10.0-linux-amd64.tar.gz
wget https://github.com/kubeedge/kubeedge/releases/download/v1.10.0/checksum_kubeedge-v1.10.0-linux-amd64.tar.gz.txt
```
2. 创建一个目录来存放kubeedge相关文件:
```
mkdir /etc/kubeedge/
cp keadm-v1.10.0-linux-amd64.tar.gz /etc/kubeedge/
cp kubeedge-v1.10.0-linux-amd64.tar.gz /etc/kubeedge/
cp checksum_kubeedge-v1.10.0-linux-amd64.tar.gz.txt /etc/kubeedge/
```
3. 进入keadm目录并初始化KubeEdge:
```
cd keadm-v1.10.0-linux-amd64/keadm/
keadm init --advertise-address=192.168.17.100 --kubeedge-version=1.10.0
```
其中,`--advertise-address`参数是节点的IP地址,`--kubeedge-version`参数是KubeEdge的版本号。
请注意,以上步骤是基于KubeEdge v1.10.0版本的安装过程。如果你想安装其他版本的KubeEdge,可以替换相应的版本号进行操作。
#### 引用[.reference_title]
- *1* *2* [【KubeEdge初尝试小白教程】Centos7.4+K8Sv1.22.2(kubeadm)+KubeEdgev1.10.0部署保姆教程](https://blog.csdn.net/weixin_45825909/article/details/128038232)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [【KubeEdge V1.10.0安装】Vmware Workstation17pro、CentOS 7系统、keadm教程](https://blog.csdn.net/jainglaibuainile/article/details/130491163)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文