Skip to content

Commit c69db2f

Browse files
feat: add taints parameter support to krknctl input (#307)
* add taints input variable for node cpu and memory scenario Signed-off-by: Rahul Shetty <rashetty@redhat.com> * add taint input variable to io hog scenario (krknctl) Signed-off-by: Rahul Shetty <rashetty@redhat.com> --------- Signed-off-by: Rahul Shetty <rashetty@redhat.com>
1 parent e9c4f10 commit c69db2f

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

node-cpu-hog/krknctl-input.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@
4141
"default":"",
4242
"required": "false"
4343
},
44+
{
45+
"name":"taints",
46+
"short_description":"Node Taints",
47+
"description":"List of taints for which tolerations need to created. For example [\"node-role.kubernetes.io/master:NoSchedule\"]",
48+
"variable":"TAINTS",
49+
"type":"string",
50+
"default":"[]",
51+
"required": "false"
52+
},
4453
{
4554
"name":"number-of-nodes",
4655
"short_description":"Number of nodes",

node-io-hog/krknctl-input.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@
6464
"default":"",
6565
"required": "false"
6666
},
67+
{
68+
"name":"taints",
69+
"short_description":"Node Taints",
70+
"description":"List of taints for which tolerations need to created. For example [\"node-role.kubernetes.io/master:NoSchedule\"]",
71+
"variable":"TAINTS",
72+
"type":"string",
73+
"default":"[]",
74+
"required": "false"
75+
},
6776
{
6877
"name":"number-of-nodes",
6978
"short_description":"Number of nodes",

node-memory-hog/krknctl-input.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@
4545
"default":"",
4646
"required": "false"
4747
},
48+
{
49+
"name":"taints",
50+
"short_description":"Node Taints",
51+
"description":"List of taints for which tolerations need to created. For example [\"node-role.kubernetes.io/master:NoSchedule\"]",
52+
"variable":"TAINTS",
53+
"type":"string",
54+
"default":"[]",
55+
"required": "false"
56+
},
4857
{
4958
"name":"image",
5059
"short_description":"Hog Container image",

0 commit comments

Comments
 (0)