Skip to content

Commit abae5f8

Browse files
Merge pull request #48 from ianchen0119/main
feat: support gthulhu
2 parents d0bc63e + 87f874d commit abae5f8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

internal/podman/podman.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ func Run(image, id string) error {
3030
spec.Name = id
3131
spec.Privileged = &privileged
3232
spec.Labels = map[string]string{"provider": "schedkit"}
33+
// Share PID namespace with the host (equivalent to --pid=host)
34+
spec.PidNS = specgen.Namespace{NSMode: specgen.NamespaceMode("host")}
3335

3436
createResponse, err := podman_containers.CreateWithSpec(client, spec, nil)
3537
if err != nil {

internal/schedulers/schedulers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ func List() map[string]string {
77
"scx_rusty": "ghcr.io/schedkit/scx_rusty:latest",
88
"scx_rustland": "ghcr.io/schedkit/scx_rustland:latest",
99
"scx_bpfland": "ghcr.io/schedkit/scx_bpfland:latest",
10+
"gthulhu": "ghcr.io/schedkit/gthulhu:latest",
1011
}
1112
}
1213

0 commit comments

Comments
 (0)