Bước 1 — Cài lbcli offline từ kit
Trỏ cả thư mục (21 RPM = lbcli + deps) để dnf tự cài deps offline
dnf install -y --disablerepo=* ~/lightos-offline-kit/03-controller/lbcli/*.rpm
Nếu conflict glibc (kit có glibc mới hơn hệ thống), thêm --nobest:
dnf install -y --disablerepo=* --nobest ~/lightos-offline-kit/03-controller/lbcli/*.rpm
Bước 2 — Cấu hình trỏ cluster
source ~/lightos-system-jwt
cat > /etc/lbcli/lbcli.yaml << EOF
output-format: human-readable
endpoint: https://10.237.94.101:443
dial-timeout: 5s
command-timeout: 60s
insecure-transport: false
insecure-skip-tls-verify: true
debug: false
api-version: 2
logger-max-size-mib: 100
logger-max-backups: 5
logger-max-age-days: 10
jwt: $LIGHTOS_JWT
EOF
Verify
lbcli list nodes