Skip to content

konstructio/colony

Repository files navigation

Colony Scout

Report

go build -o colony-scout

./colony-scout report \
  --validate=k8s,cloud-init \
  --type=server \ # server, node, agent
  # --colony-api="http://localhost:8080" \
  --token=123456 \
  --cluster-id=00000000-0000-0000-0000-000000000000 \
  --workflow-id=00000000-0000-0000-0000-000000000000 \
  --hardware-id=00000000-0000-0000-0000-000000000000 \
  --host-ip-port=192.168.0.43:6443 \
  --kubeconfig=~/.kube/config \
  --k3s-token=00000000-0000-0000-0000-000000000000

Discovery

go build -o colony-scout
  
./colony-scout discovery \
  # --colony-api="http://localhost:8080" \
  --token=123456 \
  --hardware-id=00000000-0000-0000-0000-000000000000
        

Running test

Validate and install kwok

Run tests in CI

make test

Run tests locally

make start_kwok && make test

Development with Docker

Build

docker compose build

Run

docker compose up