Skip to content

Commit 8816fad

Browse files
committed
fix: migration bug, and units from new defaults
1 parent 03fbfe3 commit 8816fad

File tree

31 files changed

+444
-48
lines changed

31 files changed

+444
-48
lines changed

.github/workflows/operator-container.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
env:
2828
REGISTRY: ghcr.io
2929
IMAGE_NAME: ${{ github.repository }}
30-
GO_VERSION: 1.23.4
30+
GO_VERSION: 1.23.6
3131

3232
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
3333
jobs:

k8s-tests/chainsaw/skyhook/config-skyhook/skyhook.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ spec:
1818
interrupt:
1919
type: service
2020
services: [cron]
21+
resources:
22+
cpuLimit: 50m
23+
cpuRequest: 50m
24+
memoryLimit: 32Mi
25+
memoryRequest: 32Mi
2126
dexter:
2227
version: "1.2.3"
2328
image: ghcr.io/nvidia/skyhook/agentless
@@ -27,6 +32,11 @@ spec:
2732
game.properties:
2833
type: service
2934
services: [rsyslog]
35+
resources:
36+
cpuLimit: 50m
37+
cpuRequest: 50m
38+
memoryLimit: 32Mi
39+
memoryRequest: 32Mi
3040
configMap:
3141
game.properties: |
3242
enemies=aliens
@@ -56,3 +66,8 @@ spec:
5666
color.bad=yellow
5767
allow.textmode=true
5868
how.nice.to.look=fairlyNice
69+
resources:
70+
cpuLimit: 50m
71+
cpuRequest: 50m
72+
memoryLimit: 32Mi
73+
memoryRequest: 32Mi

k8s-tests/chainsaw/skyhook/config-skyhook/update-no-interrupt.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ spec:
1818
interrupt:
1919
type: service
2020
services: [cron]
21+
resources:
22+
cpuLimit: 50m
23+
cpuRequest: 50m
24+
memoryLimit: 32Mi
25+
memoryRequest: 32Mi
2126
dexter:
2227
version: "1.2.3"
2328
image: ghcr.io/nvidia/skyhook/agentless
@@ -32,6 +37,11 @@ spec:
3237
changed
3338
ui.properties: |
3439
changed
40+
resources:
41+
cpuLimit: 50m
42+
cpuRequest: 50m
43+
memoryLimit: 32Mi
44+
memoryRequest: 32Mi
3545
baxter:
3646
version: "3.2.1"
3747
image: ghcr.io/nvidia/skyhook/agentless
@@ -43,4 +53,9 @@ spec:
4353
game.properties: |
4454
changed again
4555
ui.properties: |
46-
changed
56+
changed
57+
resources:
58+
cpuLimit: 50m
59+
cpuRequest: 50m
60+
memoryLimit: 32Mi
61+
memoryRequest: 32Mi

k8s-tests/chainsaw/skyhook/config-skyhook/update-while-running.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ spec:
1818
interrupt:
1919
type: service
2020
services: [cron]
21+
resources:
22+
cpuLimit: 50m
23+
cpuRequest: 50m
24+
memoryLimit: 32Mi
25+
memoryRequest: 32Mi
2126
dexter:
2227
version: "1.2.3"
2328
image: ghcr.io/nvidia/skyhook/agentless
@@ -38,6 +43,11 @@ spec:
3843
color.bad=yellow
3944
allow.textmode=true
4045
how.nice.to.look=fairlyNice
46+
resources:
47+
cpuLimit: 50m
48+
cpuRequest: 50m
49+
memoryLimit: 32Mi
50+
memoryRequest: 32Mi
4151
baxter:
4252
version: "3.2.1"
4353
image: ghcr.io/nvidia/skyhook/agentless
@@ -52,4 +62,9 @@ spec:
5262
color.good=purple
5363
color.bad=yellow
5464
allow.textmode=true
55-
how.nice.to.look=fairlyNice
65+
how.nice.to.look=fairlyNice
66+
resources:
67+
cpuLimit: 50m
68+
cpuRequest: 50m
69+
memoryLimit: 32Mi
70+
memoryRequest: 32Mi

k8s-tests/chainsaw/skyhook/config-skyhook/update.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ spec:
1818
interrupt:
1919
type: service
2020
services: [cron]
21+
resources:
22+
cpuLimit: 50m
23+
cpuRequest: 50m
24+
memoryLimit: 32Mi
25+
memoryRequest: 32Mi
2126
dexter:
2227
version: "1.2.3"
2328
image: ghcr.io/nvidia/skyhook/agentless
@@ -35,6 +40,11 @@ spec:
3540
color.bad=yellow
3641
allow.textmode=true
3742
how.nice.to.look=fairlyNice
43+
resources:
44+
cpuLimit: 50m
45+
cpuRequest: 50m
46+
memoryLimit: 32Mi
47+
memoryRequest: 32Mi
3848
baxter:
3949
version: "3.2.1"
4050
image: ghcr.io/nvidia/skyhook/agentless
@@ -49,4 +59,9 @@ spec:
4959
color.good=purple
5060
color.bad=yellow
5161
allow.textmode=true
52-
how.nice.to.look=fairlyNice
62+
how.nice.to.look=fairlyNice
63+
resources:
64+
cpuLimit: 50m
65+
cpuRequest: 50m
66+
memoryLimit: 32Mi
67+
memoryRequest: 32Mi

k8s-tests/chainsaw/skyhook/failure-skyhook/chainsaw-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
spec:
77
concurrent: true
88
timeouts:
9-
assert: 120s
9+
assert: 240s
1010
catch: ## if errors, print the most important info
1111
- get:
1212
apiVersion: v1

k8s-tests/chainsaw/skyhook/interrupt-grouping/skyhook.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ spec:
1414
- key: nvidia.com/gpu
1515
operator: Exists
1616
packages:
17-
spenser:
1817
zeb:
1918
version: "2.1.4"
2019
image: ghcr.io/nvidia/skyhook/agentless
@@ -24,6 +23,11 @@ spec:
2423
interrupt:
2524
type: service
2625
services: [cron]
26+
resources:
27+
cpuLimit: 50m
28+
cpuRequest: 50m
29+
memoryLimit: 32Mi
30+
memoryRequest: 32Mi
2731
dax:
2832
version: "1.2.3"
2933
image: ghcr.io/nvidia/skyhook/agentless
@@ -34,4 +38,7 @@ spec:
3438
type: service
3539
services: [containerd, foobar]
3640
resources:
37-
cpuLimit: 523m
41+
cpuLimit: 50m
42+
cpuRequest: 50m
43+
memoryLimit: 32Mi
44+
memoryRequest: 32Mi

k8s-tests/chainsaw/skyhook/interrupt/skyhook.yaml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,23 @@ spec:
2222
agentImageOverride: ghcr.io/nvidia/skyhook/agentless:3.2.3
2323
env:
2424
- name: SLEEP_LEN
25-
value: "8" ## making slow
25+
value: "8" ## making slower
26+
resources:
27+
cpuLimit: 50m
28+
cpuRequest: 50m
29+
memoryLimit: 32Mi
30+
memoryRequest: 32Mi
2631
spencer:
2732
version: "3.2.3"
2833
image: ghcr.io/nvidia/skyhook/agentless
2934
env:
3035
- name: SLEEP_LEN
3136
value: "3" ## making faster
37+
resources:
38+
cpuLimit: 50m
39+
cpuRequest: 50m
40+
memoryLimit: 32Mi
41+
memoryRequest: 32Mi
3242
dependsOn:
3343
dexter: "1.2.3"
3444
foobar:
@@ -37,6 +47,11 @@ spec:
3747
dependsOn:
3848
dexter: "1.2.3"
3949
baxter: "3.3"
50+
resources:
51+
cpuLimit: 50m
52+
cpuRequest: 50m
53+
memoryLimit: 32Mi
54+
memoryRequest: 32Mi
4055
baxter:
4156
version: "3.3"
4257
image: ghcr.io/nvidia/skyhook/agentless
@@ -48,6 +63,11 @@ spec:
4863
services: [rsyslog]
4964
dependsOn:
5065
spencer: "3.2.3"
66+
resources:
67+
cpuLimit: 50m
68+
cpuRequest: 50m
69+
memoryLimit: 32Mi
70+
memoryRequest: 32Mi
5171
dexter:
5272
version: "1.2.3"
5373
image: ghcr.io/nvidia/skyhook/agentless
@@ -68,3 +88,8 @@ spec:
6888
color.bad=yellow
6989
allow.textmode=true
7090
how.nice.to.look=fairlyNice
91+
resources:
92+
cpuLimit: 50m
93+
cpuRequest: 50m
94+
memoryLimit: 32Mi
95+
memoryRequest: 32Mi

k8s-tests/chainsaw/skyhook/pod-finalizer/chainsaw-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ kind: Test
44
metadata:
55
name: pod-finalization
66
spec:
7-
concurrent: true ## TODO: fix this
7+
concurrent: true
88
timeouts:
9-
assert: 60s
9+
assert: 180s
1010
steps:
1111
- try:
1212
- script:

k8s-tests/chainsaw/skyhook/runtime-required/chainsaw-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
spec:
77
concurrent: false
88
timeouts:
9-
assert: 180s
9+
assert: 240s
1010
catch: ## if errors, print the most important info
1111
- get:
1212
apiVersion: v1

0 commit comments

Comments
 (0)