Add DisableCompression option to KubeConfig

Kubernetes-commit: 641fd5b482c6117d459a22d99f76aae086c3524f
This commit is contained in:
Shyam Jeedigunta
2022-09-07 18:04:17 -07:00
committed by Kubernetes Publisher
parent ab826d2728
commit b8a8d94944
11 changed files with 75 additions and 22 deletions

View File

@@ -86,6 +86,11 @@ type Cluster struct {
// attach, port forward).
// +optional
ProxyURL string `json:"proxy-url,omitempty"`
// DisableCompression allows client to opt-out of response compression for all requests to the server. This is useful
// to speed up requests (specifically lists) when client-server network bandwidth is ample, by saving time on
// compression (server-side) and decompression (client-side): https://github.com/kubernetes/kubernetes/issues/112296.
// +optional
DisableCompression bool `json:"disable-compression,omitempty"`
// Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields
// +optional
Extensions []NamedExtension `json:"extensions,omitempty"`