Skip to content

Commit

Permalink
enable priority and fairness for kube-apiserver
Browse files Browse the repository at this point in the history
  • Loading branch information
deads2k committed Apr 8, 2020
1 parent 585af27 commit 722c7a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/v1/types_feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{

var defaultFeatures = &FeatureGateEnabledDisabled{
Enabled: []string{
"APIPriorityAndFairness", // sig-apimachinery, deads2k
"RotateKubeletServerCertificate", // sig-pod, sjenning
"SupportPodPidsLimit", // sig-pod, sjenning
"NodeDisruptionExclusion", // sig-scheduling, ccoleman
Expand Down
4 changes: 4 additions & 0 deletions config/v1/types_features_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func TestFeatureBuilder(t *testing.T) {
actual: newDefaultFeatures().without("SCTPSupport").toFeatures(),
expected: &FeatureGateEnabledDisabled{
Enabled: []string{
"APIPriorityAndFairness",
"RotateKubeletServerCertificate",
"SupportPodPidsLimit",
"NodeDisruptionExclusion",
Expand All @@ -37,6 +38,7 @@ func TestFeatureBuilder(t *testing.T) {
actual: newDefaultFeatures().with("LegacyNodeRoleBehavior").toFeatures(),
expected: &FeatureGateEnabledDisabled{
Enabled: []string{
"APIPriorityAndFairness",
"RotateKubeletServerCertificate",
"SupportPodPidsLimit",
"NodeDisruptionExclusion",
Expand All @@ -52,6 +54,7 @@ func TestFeatureBuilder(t *testing.T) {
actual: newDefaultFeatures().without("SCTPSupport", "other").toFeatures(),
expected: &FeatureGateEnabledDisabled{
Enabled: []string{
"APIPriorityAndFairness",
"RotateKubeletServerCertificate",
"SupportPodPidsLimit",
"NodeDisruptionExclusion",
Expand All @@ -69,6 +72,7 @@ func TestFeatureBuilder(t *testing.T) {
actual: newDefaultFeatures().with("LegacyNodeRoleBehavior", "other").toFeatures(),
expected: &FeatureGateEnabledDisabled{
Enabled: []string{
"APIPriorityAndFairness",
"RotateKubeletServerCertificate",
"SupportPodPidsLimit",
"NodeDisruptionExclusion",
Expand Down

0 comments on commit 722c7a6

Please sign in to comment.