mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 00:07:50 +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)
|
installFederationAPIs(m, genericConfig.RESTOptionsGetter)
|
||||||
installCoreAPIs(s, m, genericConfig.RESTOptionsGetter)
|
installCoreAPIs(s, m, genericConfig.RESTOptionsGetter)
|
||||||
installExtensionsAPIs(m, genericConfig.RESTOptionsGetter)
|
installExtensionsAPIs(m, genericConfig.RESTOptionsGetter)
|
||||||
installBatchAPIs(m, genericConfig.RESTOptionsGetter)
|
// Disable half-baked APIs for 1.6.
|
||||||
installAutoscalingAPIs(m, genericConfig.RESTOptionsGetter)
|
// TODO: Uncomment this once 1.6 is released.
|
||||||
|
// installBatchAPIs(m, genericConfig.RESTOptionsGetter)
|
||||||
|
// installAutoscalingAPIs(m, genericConfig.RESTOptionsGetter)
|
||||||
|
|
||||||
sharedInformers.Start(wait.NeverStop)
|
sharedInformers.Start(wait.NeverStop)
|
||||||
return m.PrepareRun().Run(wait.NeverStop)
|
return m.PrepareRun().Run(wait.NeverStop)
|
||||||
|
Loading…
Reference in New Issue
Block a user