It looks you have not enabled optional RUNTIME_CONFIG in the Kubernetes installation.
On Sat, Apr 30, 2016 at 11:17 AM, Sabra Ossen <[email protected]> wrote: > Additional details. > > *kubectl version* > Client Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.3", > GitCommit:"882d296a99218da8f6b2a340eb0e81c69e66ecc7", GitTreeState:"clean"} > error: failed to negotiate an api version; server supports: map[], client > supports: map[authorization.k8s.io/v1beta1:{} > <http://authorization.k8s.io/v1beta1:%7B%7D> v1:{} metrics/v1alpha1:{} > extensions/v1beta1:{} componentconfig/v1alpha1:{} batch/v1:{} > autoscaling/v1:{}] > > *docker version* > Client: > Version: 1.11.1 > API version: 1.23 > Go version: go1.5.4 > Git commit: 5604cbe > Built: Tue Apr 26 23:30:23 2016 > OS/Arch: linux/amd64 > > Server: > Version: 1.11.1 > API version: 1.23 > Go version: go1.5.4 > Git commit: 5604cbe > Built: Tue Apr 26 23:30:23 2016 > OS/Arch: linux/amd64 > > On Sat, Apr 30, 2016 at 10:12 AM, Sabra Ossen <[email protected]> wrote: > >> Hi All, >> >> I am installing app cloud in my machine. As a prerequisite I need to >> install docker and kubernetes which I have done using [1] and [2] >> respectively. Once I run "kubectl get nodes", mentioned in [2] , the >> result is *error: failed to negotiate an api version; server supports: >> map[], client supports: map[v1:{} metrics/v1alpha1:{} extensions/v1beta1:{} >> componentconfig/v1alpha1:{} batch/v1:{} autoscaling/v1:{} >> authorization.k8s.io/v1beta1:{} >> <http://authorization.k8s.io/v1beta1:%7B%7D>]*. >> >> Any help on understanding the issue is appreciated and request any >> additional details if needed. >> >> [1] https://docs.docker.com/engine/installation/linux/ubuntulinux/ >> >> [2] http://kubernetes.io/docs/getting-started-guides/docker/ >> >> Thanks and Regards. >> >> -- >> *Sabra Ossen* >> *Software Engineer* >> Email: [email protected] >> Mobile: +94 767 837356 >> > > > > -- > *Sabra Ossen* > *Software Engineer* > Email: [email protected] > Mobile: +94 767 837356 > -- Deependra Ariyadewa WSO2, Inc. http://wso2.com/ http://wso2.org email [email protected]; cell +94 71 403 5996 ; Blog http://risenfall.wordpress.com/ PGP info: KeyID: 'DC627E6F' *WSO2 - Lean . Enterprise . Middleware*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
