Access K3s From Outside

Access k3s cluster from outside When you have created a k3s cluster with the default settings, it only can be access inside the node where you're using. Bring the kubeconfig file /etc/rancher/k3s/k3s.yaml outside the node and import it to another host, you will get below issue when trying to access. 1 2 ❯ kubectl get node Unable to connect to the server: x509: certificate is valid for 10.0.140.68, 10.43.0.1, 127.

--node-cidr-mask-sizeエラーの原因と修正

rkeクラスタのcidrを弄ったら、以下のようなエラーが出てクラスタの作成が失敗した。 1 {"log":"F1203 01:36:22.168496 1 node_ipam_controller.go:115] Controller: Invalid --cluster-cidr, mask size of cluster CIDR must be less than or equal to --node-cidr-mask-size configured for CIDR family\n","stream":"stderr","time":"2021-12-03T01:36:22.16859524Z"} cl

kubernetes証明書期限切れのテスト

仕事の関係で、期限切れのkubernetesクラスタの証明書更新の手順を検証することになった。 今まで特にやったことないので記録しておきます。

Install Linux OS With Qemu CLI

Background Sometimes you want to build a reproducer for some installation issues. Instead of putting the actual CD-ROM in your machine, QEMU, a popular hardware virtualization solution, could help you to test it on virtual machines. Qemu can help you to do a GUI install with Desktop or live Server install ISO, or use text-mode installation with a Server install CD. Install 1 $ sudo apt install qemu And also you need a ISO for installation.

Self Nas Environment Project

This artcle is a note for myself to build a private NAS station using Ubuntu 20.04. The main usage of my NAS is to store photoes. For other services, run webmin to control machine via WebUI, and run Emby/ Jellyfin for multi media. Above 2 will run in docker so I also run portainer to manage them. Overview Use Samba to share storage, and use PhotoSync to upload photoes from

Multipass Launch Failed by Network Timeout

Multipass is a very useful tools to create Ubuntu VM instance. It will provides a CLI to launch and manage the Linux instances. The downloading of a cloud image is also automatically, and a VM can be up and running within minutes. https://multipass.run/ But in my case, I tried multipass 1.1.0 to quick launch an instance, but it failed with a Network timeout error. 1 2 3 4 5 6 $ multipass version multipass 1.

Moving From Hexo to Hugo

HexoからHugoに 今までHexoでブログを書いたが、Golang勉強のついでにHugoに移しました。 理由はいろいろありますが、主な点は以

ASRock Fatal1ty B450 Gaming-ITX 'Restore on AC/Power Loss' not working

I have a ASRock Fatal1ty B450 Gaming-ITX with the latest BIOS 3.40. As I want to power it on remotely, In Bios setting I enabled ‘Restore on AC/Power Loss’ option on BIOS, but it's not working. Then I found below and upgrade my bios firmware to 3.53, and everything works just fine! You can find the v3.53 on below link. http://forum.asrock.com/forum_posts.asp?TID=12059&title=fatal1ty-b450-gamingitx-restore-on-ac-power-loss