Ana içeriğe geç
Bu sayfa Türkçeye çevrilmedi; İngilizcesi gösteriliyor.

Follow a pod's log live (WebSocket, JSON frames)

GET 

/ws/namespaces/:namespace/pods/:name/logs

Permission: pods:logs in the namespace of the path (permissions).

Frames: {"t":"line","ts":"…","c":"app","text":"…"}, then {"t":"end","reason":"…","retry":bool} or {"t":"error","reason":"…"}. Query: container, tail (default 100), previous=true.

Request​

Responses​

Switching protocols (WebSocket). Connect with ?ticket= from POST /api/ws-ticket.