mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
DO not register batch and autoscaling APIs
This commit is contained in:
parent
55d500e610
commit
cbd3024913
@ -218,8 +218,10 @@ func Run(s *options.ServerRunOptions) error {
|
||||
installFederationAPIs(m, genericConfig.RESTOptionsGetter)
|
||||
installCoreAPIs(s, m, genericConfig.RESTOptionsGetter)
|
||||
installExtensionsAPIs(m, genericConfig.RESTOptionsGetter)
|
||||
installBatchAPIs(m, genericConfig.RESTOptionsGetter)
|
||||
installAutoscalingAPIs(m, genericConfig.RESTOptionsGetter)
|
||||
// Disable half-baked APIs for 1.6.
|
||||
// TODO: Uncomment this once 1.6 is released.
|
||||
// installBatchAPIs(m, genericConfig.RESTOptionsGetter)
|
||||
// installAutoscalingAPIs(m, genericConfig.RESTOptionsGetter)
|
||||
|
||||
sharedInformers.Start(wait.NeverStop)
|
||||
return m.PrepareRun().Run(wait.NeverStop)
|
||||
|
Loading…
Reference in New Issue
Block a user