Access to Kubernetes container logs programmatic

3/15/2016

Is there an API method in kubernetes-client to access container logs? Similar to what kubectl logs does, only with API, to reuse authentication and not to spawn external process.

-- Ivan Balashov
kubernetes

1 Answer

3/15/2016

Looks like that option was added late last year: https://github.com/fabric8io/kubernetes-client/pull/261

-- Alex Robinson
Source: StackOverflow