Skip to content

Commit 8007a68

Browse files
authored
update(node-cpu-hog): Adding the command field for node-cpu-hog helper (#74) (#75)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
1 parent 4344dd7 commit 8007a68

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

chaoslib/litmus/node_cpu_hog/node-cpu-hog.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ func CreateHelperPod(experimentsDetails *experimentTypes.ExperimentDetails, clie
163163
Name: "node-cpu-hog",
164164
Image: experimentsDetails.LIBImage,
165165
ImagePullPolicy: apiv1.PullAlways,
166+
Command: []string{
167+
"/stress-ng",
168+
},
166169
Args: []string{
167170
"--cpu",
168171
strconv.Itoa(experimentsDetails.NodeCPUcores),

0 commit comments

Comments
 (0)