How to get logs from kubernetes using golang?

前端 未结 4 1780
情话喂你
情话喂你 2020-12-17 00:59

I\'m looking for the solution of how to get logs from a pod in Kubernetes cluster using golang. I\'ve looked at \"https://github.com/kubernetes/client-go\" and \"https://god

4条回答
  •  一整个雨季
    2020-12-17 01:45

    The controller-runtime client library does not yet support subresources other than /status, so you would have to use client-go as shown in the other question.

提交回复
热议问题