-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3581 from wongnai/master
Automatic merge from submit-queue. UsePolicyConfigMap for kube-scheduler Continued from #3546 In this version, a single option `usePolicyConfigMap` is added that will install scheduler.addons.k8s.io, which contains a default configmap.
- Loading branch information
Showing
14 changed files
with
102 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
upup/models/cloudup/resources/addons/scheduler.addons.k8s.io/v1.7.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
kind: ConfigMap | ||
apiVersion: v1 | ||
metadata: | ||
name: scheduler-policy | ||
namespace: kube-system | ||
labels: | ||
k8s-addon: scheduler.addons.k8s.io | ||
data: | ||
policy.cfg: | | ||
{ | ||
"kind" : "Policy", | ||
"apiVersion" : "v1", | ||
"predicates" : [ | ||
{"name": "NoDiskConflict"}, | ||
{"name": "NoVolumeZoneConflict"}, | ||
{"name": "MaxEBSVolumeCount"}, | ||
{"name": "MaxGCEPDVolumeCount"}, | ||
{"name": "MaxAzureDiskVolumeCount"}, | ||
{"name": "MatchInterPodAffinity"}, | ||
{"name": "NoDiskConflict"}, | ||
{"name": "GeneralPredicates"}, | ||
{"name": "CheckNodeMemoryPressure"}, | ||
{"name": "CheckNodeDiskPressure"}, | ||
{"name": "CheckNodeCondition"}, | ||
{"name": "PodToleratesNodeTaints"}, | ||
{"name": "NoVolumeNodeConflict"} | ||
], | ||
"priorities" : [ | ||
{"name": "SelectorSpreadPriority", "weight" : 1}, | ||
{"name": "LeastRequestedPriority", "weight" : 1}, | ||
{"name": "BalancedResourceAllocation", "weight" : 1}, | ||
{"name": "NodePreferAvoidPodsPriority", "weight" : 1}, | ||
{"name": "NodeAffinityPriority", "weight" : 1}, | ||
{"name": "TaintTolerationPriority", "weight" : 1}, | ||
{"name": "InterPodAffinityPriority", "weight" : 1} | ||
], | ||
"hardPodAffinitySymmetricWeight" : 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters