add index for pod cacher
Signed-off-by: shaloulcy <lcy041536@gmail.com> Kubernetes-commit: fe312ed74afea539cf54ed993d79257df08ae1f1
This commit is contained in:
parent
96a1d817be
commit
1b0da4e553
|
@ -140,6 +140,12 @@ const (
|
|||
//
|
||||
// Deprecates and removes SelfLink from ObjectMeta and ListMeta.
|
||||
RemoveSelfLink featuregate.Feature = "RemoveSelfLink"
|
||||
|
||||
// owner: @shaloulcy
|
||||
// alpha: v1.18
|
||||
//
|
||||
// Allows label and field based indexes in apiserver watch cache to accelerate list operations.
|
||||
SelectorIndex featuregate.Feature = "SelectorIndex"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
@ -165,4 +171,5 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||
WatchBookmark: {Default: true, PreRelease: featuregate.GA, LockToDefault: true},
|
||||
APIPriorityAndFairness: {Default: false, PreRelease: featuregate.Alpha},
|
||||
RemoveSelfLink: {Default: false, PreRelease: featuregate.Alpha},
|
||||
SelectorIndex: {Default: false, PreRelease: featuregate.Alpha},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue