File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 8
8
Kube-reqsizer has two primary custom flags:
9
9
10
10
```
11
- --annotation-filter bool
11
+ --annotation-filter bool (default true)
12
12
13
13
Enable a annotation filter for pod scraping.
14
14
Enabling this will ensure that the controller
15
15
only sets requests of controllers of which PODS or NAMESPACE have the annotation.
16
+ If false, will work on all pods in the cluster.
16
17
17
18
auto.request.operator/optimize=true
18
19
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ func main() {
64
64
flag .BoolVar (& enableLeaderElection , "leader-elect" , false ,
65
65
"Enable leader election for controller manager. " +
66
66
"Enabling this will ensure there is only one active controller manager." )
67
- flag .BoolVar (& enableAnnotation , "annotation-filter" , false ,
67
+ flag .BoolVar (& enableAnnotation , "annotation-filter" , true ,
68
68
"Enable a annotation filter for pod scraping. " +
69
69
"Enabling this will ensure that the controller only sets requests of controllers of which PODS or NAMESPACE have the annotation. " +
70
70
"(auto.request.operator/optimize=true)" )
You can’t perform that action at this time.
0 commit comments