Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ name: chronos
services:
control-plane:
image: ghcr.io/chronos-packet-scheduler/control-plane:latest
ports:
- "8080:8080"

intent-engine-backend:
image: ghcr.io/chronos-packet-scheduler/intent-engine-backend:latest
ports:
- "8000:8000"

intent-engine-frontend:
image: ghcr.io/chronos-packet-scheduler/intent-engine-frontend:latest
ports:
- "3000:3000"
depends_on:
- intent-engine-backend

Expand Down
20 changes: 20 additions & 0 deletions k8s/control-plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,23 @@ spec:
- name: control-plane
image: ghcr.io/chronos-packet-scheduler/control-plane:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
livenessProbe:
httpGet:
path: /healthz
port: 8080
readinessProbe:
httpGet:
path: /healthz
port: 8080
---
apiVersion: v1
kind: Service
metadata:
name: control-plane
spec:
selector:
app: control-plane
ports:
- port: 8080
10 changes: 9 additions & 1 deletion k8s/data-plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,12 @@ spec:
- name: IFACE
value: eth0
securityContext:
privileged: true
privileged: true
livenessProbe:
httpGet:
path: /healthz
port: 9445
readinessProbe:
httpGet:
path: /healthz
port: 9445
22 changes: 21 additions & 1 deletion k8s/intent-engine-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,24 @@ spec:
containers:
- name: intent-engine-backend
image: ghcr.io/chronos-packet-scheduler/intent-engine-backend:latest
imagePullPolicy: Always
imagePullPolicy: Always
ports:
- containerPort: 8000
livenessProbe:
httpGet:
path: /healthz
port: 8000
readinessProbe:
httpGet:
path: /healthz
port: 8000
---
apiVersion: v1
kind: Service
metadata:
name: intent-engine-backend
spec:
selector:
app: intent-engine-backend
ports:
- port: 8000
10 changes: 10 additions & 0 deletions k8s/intent-engine-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ spec:
- name: intent-engine-frontend
image: ghcr.io/chronos-packet-scheduler/intent-engine-frontend:latest
imagePullPolicy: Always
ports:
- containerPort: 3000
livenessProbe:
httpGet:
path: /healthz
port: 3000
readinessProbe:
httpGet:
path: /healthz
port: 3000
---
apiVersion: v1
kind: Service
Expand Down