Skip to content
Chronos-packet-schedulerPublic

About

No description or website provided.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deploy

Configuration to run the whole Chronos system from the images published to ghcr.io/chronos-packet-scheduler. Works on Rancher Desktop (container engine: dockerd (moby), Kubernetes enabled).

Universal (other than Rancher Desktop)

Create k3d cluster:

k3d cluster create CHRONOS --servers 4 --agents 6

Registry access

If the packages are private, log in once. Requires personal access token (classic) with the read:packages scope

export GITHUB_TOKEN=ghp_...    # your token
echo "$GITHUB_TOKEN" | docker login ghcr.io -u <github-user> --password-stdin

Docker Compose

docker compose pull
docker compose up -d                           # frontend on http://localhost:3000
docker compose --profile data-plane up -d      # also run the data plane (privileged, host network)
docker compose down

Kubernetes

kubectl -n chronos create secret docker-registry ghcr \
  --docker-server=ghcr.io --docker-username=<github-user> --docker-password="$GITHUB_TOKEN"
kubectl apply -k k8s/
kubectl -n chronos get pods
kubectl -n chronos port-forward svc/intent-engine-frontend 3000:3000

To pick up newly published latest images:

kubectl -n chronos rollout restart deploy,ds

About

No description or website provided.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors