Skip to content

Commit

Permalink
Made it so you can expand the kernel list to view pods + relevant but…
Browse files Browse the repository at this point in the history
…tons
  • Loading branch information
Scusemua committed Mar 1, 2024
1 parent 96a8592 commit 46e2cda
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 248 deletions.
2 changes: 1 addition & 1 deletion server/handlers/kernel_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (h *KernelHttpHandler) spoofKernel() *gateway.DistributedJupyterKernel {
for j := 0; j < numReplicas; j++ {
podId := fmt.Sprintf("kernel-%s-%s", kernelId, uuid.New().String()[0:5])
replica := &gateway.JupyterKernelReplica{
ReplicaId: int32(j),
ReplicaId: int32(j + 1),
KernelId: kernelId,
PodId: podId,
NodeId: fmt.Sprintf("Node-%d", rand.Intn(4-1)+1),
Expand Down
Loading

0 comments on commit 46e2cda

Please sign in to comment.