Skip to content

Commit 1694b34

Browse files
committed
test(pods): add tailLines parameter to pod logs retrieval with default 256 lines
Signed-off-by: Marc Nuri <[email protected]>
1 parent aa0fd85 commit 1694b34

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

pkg/mcp/testdata/toolsets-core-tools.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,12 @@
202202
"previous": {
203203
"description": "Return previous terminated container logs (Optional)",
204204
"type": "boolean"
205+
},
206+
"tail": {
207+
"default": 100,
208+
"description": "Number of lines to retrieve from the end of the logs (Optional, default: 100)",
209+
"minimum": 0,
210+
"type": "integer"
205211
}
206212
},
207213
"required": [

pkg/mcp/testdata/toolsets-full-tools-openshift.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,12 @@
308308
"previous": {
309309
"description": "Return previous terminated container logs (Optional)",
310310
"type": "boolean"
311+
},
312+
"tail": {
313+
"default": 100,
314+
"description": "Number of lines to retrieve from the end of the logs (Optional, default: 100)",
315+
"minimum": 0,
316+
"type": "integer"
311317
}
312318
},
313319
"required": [

pkg/mcp/testdata/toolsets-full-tools.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,12 @@
308308
"previous": {
309309
"description": "Return previous terminated container logs (Optional)",
310310
"type": "boolean"
311+
},
312+
"tail": {
313+
"default": 100,
314+
"description": "Number of lines to retrieve from the end of the logs (Optional, default: 100)",
315+
"minimum": 0,
316+
"type": "integer"
311317
}
312318
},
313319
"required": [

0 commit comments

Comments
 (0)