Logo

Personal Ops Runbook

Personal runbook covering infrastructure operations for Cloud, Kubernetes, OpenStack, and Ceph environments. Includes deployment and teardown procedures, node management, cluster monitoring setup, and incident response workflows compiled from day-to-day operational work. Intended strictly for personal reference — configurations and scripts are environment-specific and not guaranteed to work as-is elsewhere.

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