From 812600a26cb05e03d805c65f655586b9e3bc5c86 Mon Sep 17 00:00:00 2001 From: Chaitanya Kuduvalli Ramachandra Date: Wed, 16 Nov 2022 15:09:14 +0530 Subject: [PATCH 1/3] Adding documentation for disabling compression in client-go Signed-off-by: Chaitanya Kuduvalli Ramachandra --- content/docs/2.9/operate/cluster.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/content/docs/2.9/operate/cluster.md b/content/docs/2.9/operate/cluster.md index 0927caecf..f36901d9f 100644 --- a/content/docs/2.9/operate/cluster.md +++ b/content/docs/2.9/operate/cluster.md @@ -90,10 +90,11 @@ Some scalers issue HTTP requests to external servers (i.e. cloud services). As c The Kubernetes client config used within KEDA Operator and KEDA Metrics Adapter can be adjusted by passing the following command-line flags to the binary: -| Adapter Flag | Client Config Setting | Default Value | Description | -| -------------- | ----------------------- | ------------- | -------------------------------------------------------------- | -| kube-api-qps | cfg.QPS | 20.0 | Set the QPS rate for throttling requests sent to the apiserver | -| kube-api-burst | cfg.Burst | 30 | Set the burst for throttling requests sent to the apiserver | +| Adapter Flag | Client Config Setting | Default Value | Description | +| ------------------- | ----------------------- | ------------- | -------------------------------------------------------------- | +| kube-api-qps | cfg.QPS | 20.0 | Set the QPS rate for throttling requests sent to the apiserver | +| kube-api-burst | cfg.Burst | 30 | Set the burst for throttling requests sent to the apiserver | +| disable-compression | cfg.DisableCompression | false | Disable compression for response in k8s restAPI in client-go | ## Configure `MaxConcurrentReconciles` for Controllers From 8c0c632f3ac0b324e0aa50e656b2683269d9be3d Mon Sep 17 00:00:00 2001 From: Chaitanya Kuduvalli Ramachandra Date: Wed, 16 Nov 2022 16:42:37 +0530 Subject: [PATCH 2/3] Added kubernetes issue for reference Signed-off-by: Chaitanya Kuduvalli Ramachandra --- content/docs/2.9/operate/cluster.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.9/operate/cluster.md b/content/docs/2.9/operate/cluster.md index f36901d9f..a51020631 100644 --- a/content/docs/2.9/operate/cluster.md +++ b/content/docs/2.9/operate/cluster.md @@ -94,7 +94,7 @@ The Kubernetes client config used within KEDA Operator and KEDA Metrics Adapter | ------------------- | ----------------------- | ------------- | -------------------------------------------------------------- | | kube-api-qps | cfg.QPS | 20.0 | Set the QPS rate for throttling requests sent to the apiserver | | kube-api-burst | cfg.Burst | 30 | Set the burst for throttling requests sent to the apiserver | -| disable-compression | cfg.DisableCompression | false | Disable compression for response in k8s restAPI in client-go | +| disable-compression | cfg.DisableCompression | false | Disable compression for response in k8s restAPI in client-go, see [this Kubernetes issue](https://github.com/kubernetes/kubernetes/issues/112296) for details | ## Configure `MaxConcurrentReconciles` for Controllers From 77bca5ff169638ddde3d626aadd2f5447c9bae95 Mon Sep 17 00:00:00 2001 From: Chaitanya Kuduvalli Ramachandra Date: Thu, 17 Nov 2022 18:41:35 +0530 Subject: [PATCH 3/3] Changing default value for disable compression Signed-off-by: Chaitanya Kuduvalli Ramachandra --- content/docs/2.9/operate/cluster.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/2.9/operate/cluster.md b/content/docs/2.9/operate/cluster.md index a51020631..1a1261a93 100644 --- a/content/docs/2.9/operate/cluster.md +++ b/content/docs/2.9/operate/cluster.md @@ -94,7 +94,7 @@ The Kubernetes client config used within KEDA Operator and KEDA Metrics Adapter | ------------------- | ----------------------- | ------------- | -------------------------------------------------------------- | | kube-api-qps | cfg.QPS | 20.0 | Set the QPS rate for throttling requests sent to the apiserver | | kube-api-burst | cfg.Burst | 30 | Set the burst for throttling requests sent to the apiserver | -| disable-compression | cfg.DisableCompression | false | Disable compression for response in k8s restAPI in client-go, see [this Kubernetes issue](https://github.com/kubernetes/kubernetes/issues/112296) for details | +| disable-compression | cfg.DisableCompression | true | Disable compression for response in k8s restAPI in client-go, see [this Kubernetes issue](https://github.com/kubernetes/kubernetes/issues/112296) for details | ## Configure `MaxConcurrentReconciles` for Controllers