Goyoo / node-k8s-client

kubernetes client of node.js
MIT License
164 stars 59 forks source link

Watch command now supports logs retrieval #14

Closed dkapanidis closed 8 years ago

dkapanidis commented 8 years ago

Logs are content-type 'text/plain' and json manipulation needs to be disabled for them.

e.g.

kubectl.watch('namespaces/default/pods/podname/log?follow=true', function(log){ console.log(log); })