Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Kubernetes replaces docker with cri-o

2025-01-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Deployment environment # operating system: CentOS Linux release 8.0.1905 (Core) # kubelet version: v1.14.The runc version: v1.0.0-rc9# crictl version: v1.16.1#crio version: v1.15.2#conmon version: v2.0." cni version: v0.8." Network plug-in: kube-router# working directory: / apps# binary file directory: / usr/bin# cni Directory: / apps/cni# working node: win10 on Ubuntu 19.1 working directory: / mnt/g/work/crio# node IP:192.168.2.196# node name: node05 prepares the required binaries mkdir-p / mnt/g/work/criocd / mnt/g/work/criowget https://github.com/opencontainers/runc/releases/download/v1.0.0-rc9/runc.amd64wget https://github.com/kubernetes- Sigs/cri-tools/releases/download/v1.16.1/crictl-v1.16.1-linux-amd64.tar.gzwget https://github.com/cri-o/cri-o/releases/download/v1.15.2/crio-v1.15.2.tar.gzwget https://github.com/containernetworking/plugins/releases/download/v0.8.2/cni-plugins-linux-amd64-v0.8.2.tgzwget https://github.com/containers/conmon/archive/v2 .0.1.zip decompress the download file and compile the source code # conmon officially does not provide binary download, so compile # work node compile and then distribute sudo apt-get install\ gcc\ git\ libc6-dev\ libglib2.0-dev\ pkg-config\ make\ unzip\ runc# compile conmon# extract the conmon unzip v2.0.1.zipcd conmon-2.0.1make# binary directory. / Bin/conmoncp-pdr. / bin/conmon.. / rm-rf conmon-2.0.1 v2.0.1.zip # decompress cnimkdir. / cni/bincd. / cni/binmv.. /.. / cni-plugins-linux-amd64-v0.8.2.tgz. / tar-xvf cni-plugins-linux-amd64-v0.8.2.tgzrm-rf cni-plugins-linux-amd64-v0.8.2.tgz# back to the top directory cd.. /.. / # decompress crictltar-xvf crictl-v1.16.1-linux-amd64.tar.gz rm-f crictl-v1.16.1-linux-amd64.tar.gz # extract crio tar-xvf crio-v1.15.2.tar.gz cd crio-v1.15.2/bin/ mv crio-x86_64-static-glibc. /.. / crio rm-rf crio-v1.15.2 crio-v1.15.2.tar.gz # rename runc.amd64 mv runc.amd64 Runc chmod + x runc create profile cd / mnt/g/work/crio# configuration cni test profile access to kubernetes cluster need to delete this cni configuration file mkdir-p. / etc/cni/net.d cat >. / etc/cni/net.d/87-bridge.conflist

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report