Enhance scheduler for TaintNodeByCondition.

This commit is contained in:
Klaus Ma
2017-10-01 08:26:35 +08:00
parent ac33bfd53b
commit bd15efd3e5
10 changed files with 118 additions and 68 deletions

View File

@@ -17,6 +17,10 @@ limitations under the License.
package algorithmprovider
import (
// Import defaults of algorithmprovider for initialization.
_ "k8s.io/kubernetes/plugin/pkg/scheduler/algorithmprovider/defaults"
"k8s.io/kubernetes/plugin/pkg/scheduler/algorithmprovider/defaults"
)
// ApplyFeatureGates applies algorithm by feature gates.
func ApplyFeatureGates() {
defaults.ApplyFeatureGates()
}