透過 Helm Chartmuseum 自建 chart repository 存放自己的 chart

如何自建 helm chart repository,將客製化的 chart 扔上去 cloud/on-premise storage,並且提供 HTTPS 與 JWT 的認證機制,可以直接使用 helm install 來安裝

February 9, 2024 · 1 分鐘

Helm Repo Command

整理 helm 中 repository, chart 的操作指令,包含一些比較少用的指令,像是如何下載 chart 檔到本機

February 4, 2024 · 1 分鐘

br-netfilter 與 bridge-nf-call-iptables 在 k8s 中會影響到 node 內 pod 之間的互通

Kubernetes 中,br_netfilter 和 bridge-nf-call-iptables 兩個設定,允許 iptables 規則作用在同個 node 的 pod 之間的流量上。如果這兩個設定未開啟,則回包會直接走二層轉發,導致無法原路返回。因此,在設定 Kubernetes 時,應注意這兩個設定是否已正確開啟。

January 11, 2024 · 3 分鐘

連接 github pages 到 netlify 托管自己的個人部落格

github pages 客製化域名麻煩,轉換到 netlify 可設定網站名稱為 https://kiwilee-blog.netlify.app/,未來買域名,更可把後面的 netlify.app 刪掉

December 23, 2023 · 1 分鐘

利用 imagemagic 壓縮圖片,讓部落格圖片載入加速

Install 用 brew 來安裝 brew install imagemagick Basic usage 指令是用 magick,不是 imagemagick Check version $ magick -version Version: ImageMagick 7.1.1-23 Q16-HDRI aarch64 21803 https://imagemagick.org Copyright: (C) 1999 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI Modules OpenMP(5.0) Delegates (built-in): bzlib fontconfig freetype gslib heic jng jp2 jpeg jxl lcms lqr ltdl lzma openexr png ps raw tiff webp xml zlib zstd Compiler: gcc (4.2) support image $ magick -list format convert to webp: 將 wizard.png 轉換成「有損+quality50」的 webp 檔案 ...

December 23, 2023 · 1 分鐘

Kwok 介紹

Kwok 透過假的 node 測試 pod 的部署狀況,可驗證是否符合 IaC policy (像是 opa) 也可驗證是否有部署在期待的 node 上面

December 22, 2023 · 3 分鐘