autok3s
autok3s copied to clipboard
[BUG] Autok3s ui create cluster air gap bug
Autok3s creat cluster logs "arm64 resource doesn't exist in package " after import air-gap packages.
@baozitao Please describe the reproduction step for this issue so that we can dig more about this. The error logs show your air gap package does not contain the ARM64 resource, please make sure you're using the correct package.
air-gap package : k3s-airgap-images-arm64.tar.gz air-gap package download repositry: https://github.com/k3s-io/k3s package version : v1.25.9+k3s1
when i use autok3s ui air-gap package option,and select create button , Import Package File, i import k3s-airgap-images-arm64.tar.gz, but ui display status Active , the k3s version and k3s arch colum is empty , i don'y know which air gap package is right for autok3s.
You can refer to this docs https://github.com/cnrancher/autok3s/tree/master/docs/i18n/zh_cn/airgap#%E5%88%9B%E6%96%B0%E7%A6%BB%E7%BA%BF%E5%AE%89%E8%A3%85%E5%8C%85 and the design docs of airgap function https://github.com/cnrancher/autok3s/discussions/480
The origin airgap import/export airgap package function doesn't support importing an raw k3s airgap package which manually downloaded from Github. There is no way we can verify the package is ok or not. For now, when you create an airgap package in UI/CLI, Autok3s will download the package from a trusted site(Github/AliyunOSS) and store it with our file structure. The export/import function respect that file structure.