edge-cli is the unified Go command-line entry point for the Edge-Computing-LLM
GitHub organization.
It coordinates two current layers:
k3s-nvidia-edge: infrastructure for a local Linux + k3s + NVIDIA GPU host.llm-observability-stack: LLMOps workloads, Helm charts, Open WebUI, Ollama, OpenTelemetry, Prometheus, Grafana, and related services.
The CLI is intentionally NVIDIA-only. It does not include AMD, Intel, Apple Silicon, or CPU-only accelerator abstractions.
The organization has separate repositories for infrastructure and LLMOps
workloads. edge-cli provides one installable control plane so operators can run
preflight checks, installs, validation, status, logs, and safe uninstall flows
without treating each repository as a disconnected CLI application.
Future repositories can be added as new Go modules under internal/modules.
Build from source:
go mod tidy
go build -o edge ./cmd/edge
sudo install -m 0755 edge /usr/local/bin/edge
edge versionDefault config path:
~/.edge-cli/config.yaml
Create it:
edge config init
edge config showDefault configuration:
repos:
k3sNvidiaEdge: /media/waqasm86/External1/Waqas-Projects/Project-Edge-Computing-LLM/k3s-nvidia-edge
llmObservabilityStack: /media/waqasm86/External1/Waqas-Projects/Project-Edge-Computing-LLM/llm-observability-stack
cluster:
kubeconfig: ""
defaultNamespace: llm-observability
gpu:
vendor: nvidiaRepository paths can also be overridden per command:
edge install infra --repo-path /path/to/k3s-nvidia-edge --yes
edge install observability --repo-path /path/to/llm-observability-stack --yesedge doctor
edge status
edge install infra --yes
edge validate infra
edge install observability --yes
edge validate observability
edge install all --yes
edge logs
edge repo list
edge repo doctoredge doctor
edge install all --yes
edge statusedge install all runs:
- Infra diagnostics.
- Linux/k3s/NVIDIA GPU infrastructure install.
- Infra validation and CUDA validation pod.
llm-observability-stackHelm install.- Observability validation.
- Next command and URL hints.
edge install infra uses the local k3s-nvidia-edge project as the
infrastructure source. It validates the repo path, checks Linux and NVIDIA
preconditions, installs required host packages and NVIDIA Container Toolkit when
not skipped, installs k3s when missing, installs the GPU Operator through the
bundled Helm chart by default, and validates GPU readiness with a CUDA pod.
Useful commands:
edge install infra --yes
edge install infra --skip-k3s-install --yes
edge install infra --skip-toolkit-install --yes
edge validate infra
edge uninstall infra --yesedge install observability uses the local llm-observability-stack chart. It
validates the infra layer first, builds Helm dependencies, installs the chart,
waits for Ollama, Open WebUI, and OpenTelemetry Collector, then runs validation.
Useful commands:
edge install observability --profile geforce-940m-k3s --yes
edge install observability --values custom.yaml --set ollama.enabled=true --yes
edge validate observability
edge logs --tail 200
edge uninstall observability --yes --keep-namespaceUninstall commands require --yes. Observability uninstall does not delete user
data outside Kubernetes resources. Use --keep-namespace to retain the
namespace. Infra uninstall keeps k3s unless --k3s is explicitly set.
edge uninstall observability --yes --keep-namespace
edge uninstall infra --yes
edge uninstall all --yesRun the broad checks first:
edge doctor
edge repo doctor
edge statusCommon issues:
- Missing
nvidia-smi: install or repair the NVIDIA driver on the host. - Missing
runtimeclass/nvidia: validate the GPU Operator and NVIDIA Container Toolkit setup withedge validate infra. - Helm release missing: run
edge install observability --yes. - Pods not ready: run
edge logsand inspect the namespace withkubectl get pods -n llm-observability -o wide.
go test ./...
go build -o edge ./cmd/edgeThe project is 100% Go. It does not create Bash scripts. External platform
commands such as kubectl, helm, apt-get, systemctl, k3s, and
nvidia-smi are executed through Go's os/exec.