Thanks Robert, I filed a ticket https://github.com/kubernetes/kubernetes/issues/27516 to trace it.
Currently, I was using "confd <https://github.com/kelseyhightower/confd>" to reload the apiserver if there are any changes in those configuration files, the only problem is that the apiserver needs to be restart if it was reloaded. But as most customers are now using kubernetes to manage long running services, I think it is OK to restart the apisever; But as Kubernetes also support job, and restarting apiserver may cause some job failed, so it is better to address this in kubernetes roadmap to make sure those files can be reloaded without restart apiserver. Thanks, Guangya 在 2016年6月16日星期四 UTC+8上午2:28:22,Robert Bailey写道: > > There is not currently a way to dynamically update those files, but it > sounds like a great feature improvement. Can you file a github issue? > > On Wed, Jun 15, 2016 at 4:04 AM, Guangya Liu <[email protected] > <javascript:>> wrote: > >> Currently, for ABAC mode, I need to configure the basic-auth-file and >> authorization-policy-file first, then start the API with those two files. >> >> The problem is that if there are some new users added in basic-auth-file, >> I need to restart apiserver, this is not convenient for the admin, does >> there are any way that I can update those files dynamically without restart >> the apiserver? >> >> Thanks, >> >> Guangya >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Containers at Google" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/google-containers. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Containers at Google" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-containers. For more options, visit https://groups.google.com/d/optout.
