Bug#825753: /usr/bin/kubectl: hardcoded API server (or missing documentation)

2016-06-16 Thread Dmitry Smirnov
On Wednesday, 15 June 2016 11:29:48 PM AEST Potter, Tim (HPE Linux Support) wrote: > I found this PR recently merged into k8s master in commit 8e81025 on May > 22: > > https://github.com/kubernetes/kubernetes/pull/25512 I tried applying this patch but it did not help. By the way reproducer is

Bug#825753: /usr/bin/kubectl: hardcoded API server (or missing documentation)

2016-06-15 Thread Dmitry Smirnov
Hi Florian, Thank you for very detailed explanation of problem and for providing reproducer. On Wednesday, 15 June 2016 9:46:09 PM AEST Florian Ernst wrote: > Of course. It's just that $USER might simply copy and paste instructions > from some tutorial, and if it happends that they won't work wi

Bug#825753: /usr/bin/kubectl: hardcoded API server (or missing documentation)

2016-06-15 Thread Potter, Tim (HPE Linux Support)
Just having an initial look-around on this and my guess is it's something to do with the argument parsing, as implemented by the spf13-cobra and/or spf13-pflag libraries. I found this PR recently merged into k8s master in commit 8e81025 on May 22: https://github.com/kubernetes/kubernetes/pull/255

Bug#825753: /usr/bin/kubectl: hardcoded API server (or missing documentation)

2016-06-15 Thread Florian Ernst
Hello there, On Wed, Jun 15, 2016 at 10:27:41PM +1000, Dmitry Smirnov wrote: > On Sunday, 29 May 2016 4:27:04 PM AEST Florian Ernst wrote: > > BTW, upstream's v1.2.3 won't accept '-v42' ("Error: unknown shorthand > > flag: 'v' in -v42") as Debian's v1.2.3 does but insists on '--v=42' > > instead.

Bug#825753: /usr/bin/kubectl: hardcoded API server (or missing documentation)

2016-06-15 Thread Dmitry Smirnov
Hi Florian, Thank you for trying packaged Kubernetes. I appreciate your feedback and expertise. On Sunday, 29 May 2016 4:27:04 PM AEST Florian Ernst wrote: > BTW, upstream's v1.2.3 won't accept '-v42' ("Error: unknown shorthand > flag: 'v' in -v42") as Debian's v1.2.3 does but insists on '--v=4

Bug#825753: /usr/bin/kubectl: hardcoded API server (or missing documentation)

2016-05-29 Thread Florian Ernst
Package: kubernetes-client Version: 1.2.3+dfsg-1 Severity: important File: /usr/bin/kubectl Hello there, thank you for providing kubernetes to Debian! There seems to be something missing, though, as I cannot connect to a GCE-backed cluster: | :) fernst@fernst:~$ /usr/bin/kubectl cluster-info -v