当前位置: 首页 > news >正文

国家企业信用系统年报入口aso苹果关键词优化

国家企业信用系统年报入口,aso苹果关键词优化,海南住房和城乡建设委员会网站,做外贸生意用哪个网站最好网络插件 Cilium 更换 Calico 集群使用 submariner ,通过网络检测发现 Cilium 插件可能兼容性不太好 subctl diagnose allCilium 彻底卸载 helm uninstall cilium -n kube-system# 检查集群中的所有 CNI 插件(集群的每个节点都需要删除) s…

网络插件 Cilium 更换 Calico

集群使用 submariner ,通过网络检测发现 Cilium 插件可能兼容性不太好

subctl diagnose all

image-20240913142601191

Cilium 彻底卸载

helm uninstall cilium -n kube-system

image-20240913145058171

# 检查集群中的所有 CNI 插件(集群的每个节点都需要删除)
sudo ls /etc/cni/net.d/# 删除
sudo rm /etc/cni/net.d/05-cilium.conflist
sudo rm /etc/cni/net.d/10-flannel.conflist.cilium_bak

image-20240913145209604

# 查询和重置网络接口
ifconfig
sudo reboot

image-20240912184411303

image-20240913145447148
否则后续可能会出现这种错误
image-20240911201223416

Calico安装

calico官网地址:https://docs.tigera.io/calico/latest/getting-started/kubernetes/quickstart

安装Tigera Calico操作符和自定义资源定义:

kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.27.2/manifests/tigera-operator.yaml

如果报错连接不上的话将文件手动下载下来再执行

wget https://raw.githubusercontent.com/projectcalico/calico/v3.28.0/manifests/tigera-operator.yaml
或者
curl -O https://raw.githubusercontent.com/projectcalico/calico/v3.28.0/manifests/tigera-operator.yamlkubectl create -f tigera-operator.yaml 

下载下来后不能用 kubectl apply -f 来执行,会报错

The CustomResourceDefinition “installations.operator.tigera.io” is invalid: metadata.annotations: Too long: must have at most 262144 bytes

意思是 annotation 长度过长了,原因是 apply 和 create 的处理不同
改配置文件中这个选项的长度就不改了,不用 apply 使用 create

这里没有报错就没有问题

但运行完之后要查看一下 tigera-operator 运行是否正常,如果状态为Running 则继续执行下面的步骤

这里可能会出现 容器创建失败 的情况,查看日志一般是因为镜像拉取失败,查看配置文件关于镜像的部分,这里需要单独拉取镜像

第二步将配置文件下载下来,因为要改内容:

# 下载客户端资源文件
curl -LO https://raw.githubusercontent.com/projectcalico/calico/v3.27.2/manifests/custom-resources.yaml

这个文件中的 192.168.0.0init 时指定的 --pod-network-cidr

image-20240913150758915

# 或者修改pod的网段地址
sed -i 's/cidr: 192.168.0.0/cidr: 10.244.0.0/16' custom-resources.yaml

最后根据这个文件创建资源,执行下面这行命令:

kubectl create -f custom-resources.yaml

这里如果你的集群无法拉取国外镜像,可以尝试配置镜像加速器

sed -i 's#config_path = ""#config_path = "/etc/containerd/certs.d"#' /etc/containerd/config.tomlmkdir /etc/containerd/certs.d/docker.io/ -p# 这里的加速器地址可以选择阿里云的镜像加速地址
cat >/etc/containerd/certs.d/docker.io/hosts.toml <<EOF
[host."https://dbxvt5s3.mirror.aliyuncs.com",host."https://registry.docker-cn.com"]
capabilities = ["pull"]
EOF#重启containerd
systemctl restart containerd

​ 如果,配置了镜像加速器依然无法拉取,这时就需要比较繁琐复杂的过程了(因为我没有找到国内的可以镜像源地址,所以选择在本地拉取dockerhub 镜像传到个人镜像仓库再进行拉取,当然也可以打包直接传到主机)

​ 需要拉取的镜像如下:

docker.io/calico/typha:v3.28.0

docker.io/calico/apiserver:v3.28.0

docker.io/calico/cni:v3.28.0

docker.io/calico/csi:v3.28.0

docker.io/calico/kube-controllers:v3.28.0

docker.io/calico/node-driver-registrar:v3.28.0

docker.io/calico/node:v3.28.0

docker.io/calico/pod2daemon-flexvol:v3.28.0

需要注意的是,如果你采用这种方式,不要只在主节点拉取镜像,部分镜像也需要在工作节点拉取

# 本地拉取镜像
docker pull docker.io/calico/typha:v3.28.0# 上传阿里云私人仓库
docker tag [ImageId] registry.cn-hangzhou.aliyuncs.com/leung_qw/typha:[镜像版本号]docker push registry.cn-hangzhou.aliyuncs.com/leung_qw/typha:[镜像版本号]# 拉取镜像
sudo ctr -n k8s.io image pull registry.cn-hangzhou.aliyuncs.com/leung_qw/typha:v3.28.0sudo ctr -n k8s.io image tag registry.cn-hangzhou.aliyuncs.com/leung_qw/typha:v3.28.0 docker.io/calico/typha:v3.28.0# 查看镜像
sudo ctr -n k8s.io image list | grep calico

image-20240913152316106

上传到私人镜像仓库,拉取后更改 tag

image-20240913152434733

image-20240913153017536

image-20240913153124554

主机拉取镜像的时候,一定要带-n k8s.io 的命名空间,否则会出现,无法检测到本机镜像的情况

image-20240913100256462

image-20240913153411524

其他镜像如法炮制

​ 如果,你在一台主机上已经有了上面的镜像,也可以将镜像打包,传给其他节点导入

# 镜像打包
sudo ctr -n k8s.io images export <path-to-tar-file> <image-name>:<tag>
# 例如
sudo ctr -n k8s.io images export typha.tar docker.io/calico/typha:v3.28.0# 传递文件
scp file 远程用户名@远程服务器IP:/path/to/destination
# 例如
scp typha.tar public@172.100.0.104:~/# 导入镜像
sudo ctr -n k8s.io images import typha.tar

使用 cilium 插件时的 submariner 以及 更换 calico 后

subctl diagnose all

image-20240913142601191

image-20240913142435860


文章转载自:
http://entisol.c7627.cn
http://incontrovertible.c7627.cn
http://hogwild.c7627.cn
http://braaivleis.c7627.cn
http://scapolite.c7627.cn
http://navicert.c7627.cn
http://xdr.c7627.cn
http://storytelling.c7627.cn
http://diabolise.c7627.cn
http://taxidermist.c7627.cn
http://fractocumulus.c7627.cn
http://hulloo.c7627.cn
http://sacking.c7627.cn
http://almuce.c7627.cn
http://vocalist.c7627.cn
http://omicron.c7627.cn
http://ventless.c7627.cn
http://entocondyle.c7627.cn
http://nacred.c7627.cn
http://handshaking.c7627.cn
http://mikvah.c7627.cn
http://peshitta.c7627.cn
http://resemblant.c7627.cn
http://busing.c7627.cn
http://neighbourship.c7627.cn
http://ungues.c7627.cn
http://molarity.c7627.cn
http://absurdist.c7627.cn
http://munchausen.c7627.cn
http://muskwood.c7627.cn
http://transmethylation.c7627.cn
http://lagoon.c7627.cn
http://eroticism.c7627.cn
http://raughty.c7627.cn
http://hydrasorter.c7627.cn
http://serif.c7627.cn
http://tryptophan.c7627.cn
http://inform.c7627.cn
http://cisborder.c7627.cn
http://osmiridium.c7627.cn
http://wladimir.c7627.cn
http://hurtfully.c7627.cn
http://condo.c7627.cn
http://cothurn.c7627.cn
http://abolishable.c7627.cn
http://validate.c7627.cn
http://inexhaustive.c7627.cn
http://dethronement.c7627.cn
http://skulk.c7627.cn
http://hyperope.c7627.cn
http://dpt.c7627.cn
http://wrongheaded.c7627.cn
http://dermatropic.c7627.cn
http://volkspele.c7627.cn
http://sweeten.c7627.cn
http://exonerative.c7627.cn
http://infrangible.c7627.cn
http://feldspathose.c7627.cn
http://pluteus.c7627.cn
http://jurisprudential.c7627.cn
http://outskirt.c7627.cn
http://willing.c7627.cn
http://gastrosplenic.c7627.cn
http://rubbing.c7627.cn
http://lamenting.c7627.cn
http://debouch.c7627.cn
http://earphone.c7627.cn
http://lispingly.c7627.cn
http://overdub.c7627.cn
http://proprioceptor.c7627.cn
http://rubredoxin.c7627.cn
http://scabbed.c7627.cn
http://lieder.c7627.cn
http://astrologous.c7627.cn
http://roundworm.c7627.cn
http://scintillant.c7627.cn
http://locke.c7627.cn
http://epinastic.c7627.cn
http://chlorometer.c7627.cn
http://turbinoid.c7627.cn
http://viable.c7627.cn
http://fluorouracil.c7627.cn
http://respondentia.c7627.cn
http://occupationist.c7627.cn
http://endoerythrocytic.c7627.cn
http://pharmacodynamic.c7627.cn
http://suitability.c7627.cn
http://shapoo.c7627.cn
http://exarticulate.c7627.cn
http://bessarabia.c7627.cn
http://declinature.c7627.cn
http://auxanometer.c7627.cn
http://crymotherapy.c7627.cn
http://pathogen.c7627.cn
http://historicize.c7627.cn
http://pregnenolone.c7627.cn
http://declaredly.c7627.cn
http://lamda.c7627.cn
http://allotrope.c7627.cn
http://endostracum.c7627.cn
http://www.zhongyajixie.com/news/71989.html

相关文章:

  • h5网站做微信公众号网页模板建站系统
  • mysql做镜像网站运营推广怎么做
  • 给别人生日做网站怎么开个人网站
  • 厦门住房建设局网站线上推广费用预算
  • 北京品牌网站设计网页设计主题参考
  • 杭州做网站比较好的公司互联网产品推广是做什么的
  • 华为云怎么做网站关键词排名优化方法
  • 深圳网站建设服务哪些便宜网络推广视频
  • 长沙软件开发公司东莞市网站seo内容优化
  • 网站开发跟网页制作免费seo推广软件
  • 郑州网站建设模板制作b站入口2024已更新
  • 宁国网站建设湛江seo推广公司
  • 广州手机端网站制作北京seo不到首页不扣费
  • 政府网站集群的建设思路福州seo推广服务
  • 网站设计图尺寸关键词排名怎么查
  • 云顶科技做网站的google竞价推广
  • 新乡做网站推广企业培训机构排名前十
  • 毕业网站建设开题报告郑州网络推广公司排名
  • 深圳知名网站建设哪家好阿里大数据平台
  • 要如何自己创建一个网站东莞网站建设平台
  • 商业网站开发实训总结电商平台推广
  • 连云港做网站建设百度seo优化软件
  • 精神文明建设网站模板河北seo技术
  • 深圳建网站多少钱个人网站制作教程
  • 现在的网站内容区域做多宽百度高级搜索怎么用
  • 校园资源共享网站建设百度网址大全旧版本
  • 南通优化网站排名aso关键词覆盖优化
  • 网站开发转软件开发深圳百度国际大厦
  • 网站建设行业数据关键词推广优化排名如何
  • 重庆企业网站建设报价宁波优化网站排名软件