blogs/230405-step-by-step-dce5/ #1282
Replies: 4 comments 4 replies
-
安装依赖 |
Beta Was this translation helpful? Give feedback.
-
镜像拉取失败,这个问题如何解决 |
Beta Was this translation helpful? Give feedback.
-
部署过程中,还是可能会遇到 calico 启动不了的情况,如果不想纠结,可以降级使用 flannel 安装 Flannel默认安装 flannel,如果你的pod-cidr 配置是 kubectl apply -f https://github.com/flannel-io/flannel/releases/latest/download/kube-flannel.yml 如果 是自定义的 pod-cidr # Needs manual creation of namespace to avoid helm error
kubectl create ns kube-flannel
kubectl label --overwrite ns kube-flannel pod-security.kubernetes.io/enforce=privileged
helm repo add flannel https://flannel-io.github.io/flannel/
helm install flannel --set podCidr="192.168.0.0/16" --namespace kube-flannel flannel/flannel 卸载 Calico正常情况下,安装 Calico 会使用 2 个文件
安装官方的 calico-operator ,然后再部署对应的模块 kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.25.1/manifests/tigera-operator.yaml
# 下载配置文件模板
curl -LO https://raw.githubusercontent.com/projectcalico/calico/v3.25.1/manifests/custom-resources.yaml
grep cidr custom-resources.yaml #打印出默认的CIDR
# 确保 calico 配置的 cidr 与 kubernetes 安装 pod-cidr 保持一致
vim custom-resources.yaml
kubectl apply -f custom-resources.yaml
通常情况下,如果只是使用
这是应为系统存在 cni 的配置文件残留导致 ,需要删除如下文件 sudo rm -rf /etc/cni/net.d/*calico*
sudo rm -f /opt/cni/bin/calico*
sudo rm -f /usr/local/bin/calico*
sudo rm -rf /var/lib/cni/networks/calico/ |
Beta Was this translation helpful? Give feedback.
-
执行安装中的./dce5-installer install-app -z -k 应改为./dce5-installer install-app -z |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
blogs/new-dce5-free/
DaoCloud Enterprise 5.0 下一代容器化平台集大成者,引领云原生浪潮,推动数字化转型。
https://docs.daocloud.io/blogs/new-dce5-free/
Beta Was this translation helpful? Give feedback.
All reactions