Kubernetes: Setting --token-auth-file

7/13/2017

I'am using GKE, as i understood the kubernetes master is managed by google, tried to find a way to ssh into it and do some changes but with no luck,

Anyway i'am trying to use Kubernetes Role Based access control and static token file authenticating, in order to do this, the API server(aka master) needs to be launched with the --token-auth-file=SOMEFILE option

Any idea how to do this?

-- SegFault
google-cloud-platform
google-kubernetes-engine
kubernetes
rbac
token

1 Answer

7/16/2017

You won't be able to add that command line parameter to the kubernetes master apiserver because, as you've pointed out, it's managed by google. Stick with RBAC!

-- Janos Lenart
Source: StackOverflow