kontena / k8s-client

Ruby Kubernetes API client
Apache License 2.0
76 stars 26 forks source link

Tail logs #46

Closed d11wtq closed 5 years ago

d11wtq commented 6 years ago

Perhaps it is just undocumented, but is there a way to tail the logs of a pod using k8s-client?

jakolehm commented 6 years ago

I think log tailing needs a stream support which is not there yet directly. But you could try to pass response_block to K8s::Transport.config. See https://github.com/excon/excon#streaming-responses .