Useless flag: --max-resource-write-bytes, --json-patch-max-copy-bytes #106873
Labels
area/apiserver
kind/bug
Categorizes issue or PR as related to a bug.
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened?
kube-apiserver has no --max-resource-write-bytes & --json-patch-max-copy-bytes option.
What did you expect to happen?
Correct the error message to not use the "--max-resource-write-bytes" & "--json-patch-max-copy-bytes" string.
How can we reproduce it (as minimally and precisely as possible)?
Check the source code:
kubernetes/staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go
Lines 153 to 160 in 7adc79a
Anything else we need to know?
No response
Kubernetes version
v1.19 ~ v1.23
eg:
Cloud provider
OS version
Install tools
Container runtime (CRI) and and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: