Skip to content

What is the best way to get pod's log through SDK API? #308

@piontec

Description

@piontec

I can CRUD pods through SDK, but I can't find any way to get log from a pod. Normally, this is possible with CoreV1Client and client.Pods(pod.Namespace).GetLogs(pod.Name, logOptions).

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/supportIndicates an issue that is a support question.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions