我已将基本 linux 映像的 GLIBC 更新至 v2.28,以将 calico 升级至 v3.26.3,并使用 patchelf 更新加载程序。 我在 linux k8s 集群中运行时遇到分段错误错误。但在本地 mac docker 中运行相同的映像时没有错误。
错误:
"/etc/rc.local: line 13: 9 Segmentation fault calico-node -startup Calico node failed to start"
RUN patchelf --set-interpreter /opt/glibc228/install/lib/ld-linux-x86-64.so.2 --set-rpath /opt/glibc228/install/lib/:/usr/lib64 /usr/bin/calico-node RUN patchelf --remove-rpath /usr/bin/calico-node RUN patchelf --set-interpreter /opt/glibc228/install/lib/ld-linux-x86-64.so.2 --set-rpath /opt/glibc228/install/lib/:/usr/lib64 /usr/bin/calico-node
您能分享更多有关您想要实现的目标的信息吗? 所有的更新都是为了升级 Calico 吗?
升级运营商对您不起作用吗? https://docs.tigera.io/calico/latest/operations/upgrading/kubernetes-upgrade#upgrading-an-installation-that-uses-the-operator