how to authenticate to google container engine kubernetes API server using either k8s REST or fabric8 API?
问题 I'm trying to write a service that spawns container based applications within a Kubernetes cluster. I'd like to do some testing against Google Container Engine as a baseline; however, I am having trouble figuring out how to get my REST client to authenticate with the k8s API server (the master). I came across a good hint here: http://www.scriptscoop.net/t/9c6a16719a43/google-container-engine-rest-api-authorization.html The author says "I know that OAuth works [against Google Container Engine]