It’s not complex to install docker on ARM64 platform and make it work, but it needs a trick
Read more »Category Archives: Cloud
Kubernetes install nginx-ingress on ARM64
It’s easy. it needs to install helm first and just run following command
helm install \
--name nginx-ingress stable/nginx-ingress \
--namespace ingress-nginx \
--set rbac.create=true \
--set controller.image.repository="quay.io/kubernetes-ingress-controller/nginx-ingress-controller-arm64" \
--set defaultBackend.image.repository="k8s.gcr.io/defaultbackend-arm64"
ref.
https://github.com/kubernetes/ingress-nginx/issues/4876
https://github.com/kubernetes/ingress-nginx/pull/3852
Linkerd2 for ARM64
There is no regular ARM64 support for Linkerd2 now.
So, I built one for test.
All necessary packages will be downloaded from my private docker.io account. not from regular linkerd2 repository.
Linkerd2 version is master version between v2.6.0 and next version
emojivoto version is v9 (master version)
Install Kubernetes on ARM64 Ubuntu 18.04 (with QEMU)
Install Kubernetes on Ubuntu 18.04 is very easy now, but only for x86 platform. If on ARM64 environment, it might have some other problem.
Some old article mentioned a lot of information but software version is too old for deploy a new version software.
After a lot of time to have research, here is instruction for how to install Kubernetes on ARM64 Ubuntu 18.04
Change Ubuntu Cloud Image Size
Ubuntu Cloud Image Size 似乎各個版本的特性不太一樣, 而且似乎也要用不同的方式修改 Image size
unsupported configuration: CPU mode ‘host-model’ for aarch64 kvm domain on aarch64 host is not supported by hypervisor
Ubuntu Cloud Image Taiwan Mirror Site
每次都找不到, 備份一下
http://ftp.yzu.edu.tw/Linux/ubuntu-cloud-images/
ARM64 Hugepage(HugeTLB) Size
ARM64 and x86 hugepage size are different.
Debian/Ubuntu ARM64 kernel (4KB Pagesize)
Hugepage size is 2MB/1GB
64KB Pagesize, hugepage is 512MB.
x86_64
2MB : (has PSE cpuinfo flag)
1GB : (has PDPE1GB cpuinfo flag)
different configuration has different setting
ref.
Hugepages
QEMU Share Directory with Host Without Networking
If Guest Support 9P and virtio.
Add this line to QEMU command
-virtfs local,path=/path/to/share,mount_tag=host0,security_model=passthrough,id=host0 |
and in guest os, edit /etc/fstab and add
host0 /wherever 9p trans=virtio,version=9p2000.L 0 0 |
ref.
https://superuser.com/questions/628169/how-to-share-a-directory-with-the-host-without-networking-in-qemu
近期留言