[Posts] Godson Kylin source and K8S

Godson Mips64el platform deployment K8s

https://ysicing.me/posts/mips64el-loongson-k8s/

 

YSICING 

Not specifically how to deploy, the principles are similar, and the original amd64 replaced mips64el

Kylin source CPU Godson

# /etc/yum.repos.d/ns7-mips.repo
[ns7-mips64el-os]
name=NeoKylin Linux Advanced Server 7 - $basearch - Os baseurl=http://download.cs2c.com.cn/neokylin/server/releases/7.0/ls_64/ gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-neokylin-release enabled=1 [ns7-mips64el-extras] name=NeoKylin Linux Advanced Server 7 - Addons baseurl=http://download.cs2c.com.cn/neokylin/server/everything/7.0/ls_64/ gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-neokylin-release enabled=0 [ns7-mips64el-updates] name=NeoKylin Linux Advanced Server 7 - Updates baseurl=http://download.cs2c.com.cn/neokylin/server/updates/7.0/ls_64/ gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-neokylin-release enabled=1 

There is a relatively Godson own warehouse fans, but relatively new package

http://ftp.loongnix.org/os/loongnix/1.0/

Base image

neokylin base image

wget https://raw.githubusercontent.com/docker/docker/master/contrib/mkimage-yum.sh
chmod +x ./mkimage-yum.sh
./mkimage-yum.sh -y /etc/yum.conf nk-base

wget http://list.isoftos.win/script/create_docker_image.loogson
chmod +x create_docker_image.loogson
./create_docker_image.loogson nk-base

debian base image

The mirror may be constructed by way of isomers

Gangster project can refer to the  debian-debootstrap

k8s compilation

Host compiler

4-core 16G, poor performance, the source code to compile and install the new version go almost two hours

Mirror compiled by isomerization

Probably modify impression:

# 第一处
mips64*)
    host_arch=mips64le
    ;; # 第二处 "linux/mips64le") export CGO_ENABLED=1 export CC=mips64el-linux-gnu-gcc ;; # 第三处 linux/mips64le # 第四处 uint64转换一下 

DETAILED can make <xxx component name>

pause Mirror

This got to watch out, not with an empty mirror, you can use the base image

Recommended Reading

Anti-generation Caddy Rancher use Caddy proxy Google Site

Guess you like

Origin www.cnblogs.com/jinanxiaolaohu/p/11305045.html