Get the logs of Containers in the specified cluster and namespace.
Log Retrieval Method(tail or since)
The number of lines to read when the type is 'tail' (up to 10,000).
Return logs from before the value in seconds
OK
OK
[
{
"containerName": "api-cmdb",
"log": "2023-07-03 8:44:55 571828 [Warning] Aborted connection 571828 to db: 'acloud' user: 'root' host: '127.0.0.1' (Got timeout reading communication packets)\n...",
"podName": "cocktail-api-cmdb-0"
}
]GET /v1/clusters/{clusterId}/namespaces/{namespaceName}/pods/{podName}/containers/log?type=text HTTP/1.1
Accept: */*