Commit fe04a6f
authored
Merge pull request #16398 from smarterclayton/disablecache
Automatic merge from submit-queue (batch tested with PRs 16546, 16398, 16157)
Backport upstream changes to watch cache enablement
Disables the watch cache for most resources by default, except those accessed by many clients. This has been shown to have minor impacts on the production workload.
Fixes #16112File tree
55 files changed
+179
-272
lines changed- contrib/completions
- bash
- zsh
- pkg
- cmd/server/kubernetes/master
- security/registry/securitycontextconstraints/etcd
- util/restoptions
- test/integration
- vendor/k8s.io/kubernetes
- cmd/kube-apiserver/app
- federation
- cmd/federation-apiserver/app
- registry/cluster/etcd
- pkg/registry
- admissionregistration
- externaladmissionhookconfiguration/storage
- initializerconfiguration/storage
- apps
- controllerrevision/storage
- statefulset/storage
- autoscaling/horizontalpodautoscaler/storage
- batch
- cronjob/storage
- job/storage
- cachesize
- certificates/certificates/storage
- core
- configmap/storage
- endpoint/storage
- event/storage
- limitrange/storage
- namespace/storage
- node/storage
- persistentvolumeclaim/storage
- persistentvolume/storage
- podtemplate/storage
- pod/storage
- replicationcontroller/storage
- resourcequota/storage
- secret/storage
- serviceaccount/storage
- service/storage
- extensions
- daemonset/storage
- deployment/storage
- ingress/storage
- networkpolicy/storage
- podsecuritypolicy/storage
- replicaset/storage
- thirdpartyresourcedata/storage
- thirdpartyresource/storage
- networking/networkpolicy/storage
- policy/poddisruptionbudget/storage
- rbac
- clusterrolebinding/storage
- clusterrole/storage
- rolebinding/storage
- role/storage
- settings/podpreset/storage
- storage/storageclass/storage
- staging/src/k8s.io/apiserver/pkg
- registry/generic
- registry
- server/options
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
55 files changed
+179
-272
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32808 | 32808 | | |
32809 | 32809 | | |
32810 | 32810 | | |
| 32811 | + | |
| 32812 | + | |
32811 | 32813 | | |
32812 | 32814 | | |
32813 | 32815 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32957 | 32957 | | |
32958 | 32958 | | |
32959 | 32959 | | |
| 32960 | + | |
| 32961 | + | |
32960 | 32962 | | |
32961 | 32963 | | |
32962 | 32964 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
| |||
147 | 145 | | |
148 | 146 | | |
149 | 147 | | |
150 | | - | |
| 148 | + | |
151 | 149 | | |
152 | 150 | | |
153 | 151 | | |
| |||
438 | 436 | | |
439 | 437 | | |
440 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
441 | 453 | | |
442 | 454 | | |
443 | 455 | | |
| |||
523 | 535 | | |
524 | 536 | | |
525 | 537 | | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | 538 | | |
533 | 539 | | |
534 | 540 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 4 | | |
8 | 5 | | |
9 | | - | |
| 6 | + | |
| 7 | + | |
10 | 8 | | |
11 | | - | |
12 | 9 | | |
13 | 10 | | |
| 11 | + | |
14 | 12 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 13 | | |
19 | | - | |
20 | 14 | | |
21 | 15 | | |
22 | 16 | | |
| |||
41 | 35 | | |
42 | 36 | | |
43 | 37 | | |
44 | | - | |
45 | 38 | | |
46 | 39 | | |
47 | 40 | | |
| |||
55 | 48 | | |
56 | 49 | | |
57 | 50 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
66 | 59 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 60 | + | |
71 | 61 | | |
72 | | - | |
73 | | - | |
| 62 | + | |
74 | 63 | | |
75 | | - | |
76 | 64 | | |
77 | | - | |
78 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
79 | 69 | | |
80 | 70 | | |
81 | 71 | | |
| |||
108 | 98 | | |
109 | 99 | | |
110 | 100 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
141 | 104 | | |
142 | 105 | | |
143 | 106 | | |
144 | 107 | | |
145 | | - | |
| 108 | + | |
146 | 109 | | |
147 | 110 | | |
148 | 111 | | |
| |||
151 | 114 | | |
152 | 115 | | |
153 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
127 | | - | |
| 126 | + | |
128 | 127 | | |
129 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
143 | | - | |
| 146 | + | |
144 | 147 | | |
Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 12 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments