GetContainerLogByK8S
CCS-site-0040 Get logs of a container from a kubernetes site
Path Parameters
- site_id integer required
Site ID
Query Parameters
- pod_name string required
Pod name
- container_name string required
Container name
- since_time string
Show logs after a specific time in ISO 8601 format
- tail_lines int32
Default value:
10000
The number of lines from the end of the logs to show
- limit_bytes int32
Default value:
800000
The number of bytes to read from the server before terminating the log output
Header Parameters
- x-api-host string required
Default value:
k8s-D-twcc
Authentication Required Parameters
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- string
[
"Aug 14 06:51:45 localhost dhclient: DHCPACK of 192.168.111.42 from 192.168.111.4"
]
Loading...