Open tcrall opened 7 years ago
kubectl.command('get pod pod_name --output=json', function(err, data){})
kubectl.command('get pod pod_name --output=json').then()
const data = await kubectl.command('get pod pod_name --output=json')
//try this
kubectl.command('uncordon')
Can I use this to do 'kubectl drain' and 'kubectl uncordon' operations?