Merge pull request #127360 from knight42/feat/split-stdout-stderr-server-side

API: add a new `Stream` field to `PodLogOptions`
This commit is contained in:
Kubernetes Prow Robot
2024-11-07 19:44:45 +00:00
committed by GitHub
37 changed files with 1729 additions and 959 deletions

View File

@@ -18038,7 +18038,16 @@
}
},
{
"description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime",
"description": "Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".",
"in": "query",
"name": "stream",
"schema": {
"type": "string",
"uniqueItems": true
}
},
{
"description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".",
"in": "query",
"name": "tailLines",
"schema": {