@@ -124,10 +124,11 @@ best practices.
124
124
125
125
## Proposal
126
126
127
- I propose to remove klog specific feature flags in Kubernetes core components
128
- (kube-apiserver, kube-scheduler, kube-controller-manager, kubelet) and leave
129
- them with defaults. From klog flags we would remove all flags besides "-v"
130
- and "-vmodule".
127
+ We propose to remove klog specific feature flags in Kubernetes components
128
+ (including, but not limited to, kube-apiserver, kube-scheduler,
129
+ kube-controller-manager, kubelet) and leave them with defaults. From klog flags
130
+ we would remove all flags besides "-v" and "-vmodule". The component-base
131
+ "-log-flush-frequency" flag is also kept.
131
132
132
133
### Removed klog flags
133
134
@@ -269,17 +270,20 @@ all existing klog features.
269
270
270
271
#### Alpha
271
272
272
- - Klog can be configured without registering flags
273
- - Kubernetes logging configuration drops global state
273
+ - The remaining supported klog options (` -v ` , ` --vmodule ` ) and
274
+ ` --log-flush-frequency ` can be configured without registering flags.
275
+ - Kubernetes logging configuration is completely stored in one struct
276
+ (` LoggingConfiguration ` ) before being applied to the process.
274
277
- Go-runner is feature complementary to klog flags planned for deprecation
275
278
- Projects in Kubernetes Org are migrated to go-runner
276
279
- JSON logs format splits stdout and stderr logs
280
+ - The klog flags which will be removed are marked as deprecated in command line
281
+ help output and the deprecation is announced in the Kubernetes release notes.
277
282
278
283
#### Beta
279
284
280
285
- Go-runner project is well maintained and documented
281
286
- Documentation on migrating off klog flags is publicly available
282
- - Kubernetes klog flags are marked as deprecated
283
287
284
288
#### GA
285
289
@@ -290,6 +294,12 @@ all existing klog features.
290
294
- 20/06/2021 - Original proposal created in https://github.com/kubernetes/kubernetes/issues/99270
291
295
- 30/07/2021 - KEP draft was created
292
296
- 26/08/2021 - Merged in provisional state
297
+ - 09/09/2021 - Merged as implementable
298
+ - Kubernetes 1.23 (tenatative): alpha, [ deprecation
299
+ period] ( https://kubernetes.io/docs/reference/using-api/deprecation-policy/#deprecating-a-flag-or-cli )
300
+ starts
301
+ - Kubernetes 1.24 (tentative): beta
302
+ - Kubernetes 1.26 (tentative): GA, deprecated flags get removed
293
303
294
304
## Drawbacks
295
305
474
484
475
485
###### What steps should be taken if SLOs are not being met to determine the problem?
476
486
477
- N/A
487
+ N/A
0 commit comments