Add stabilization windows feature in satellite HPA documentation and sample file
diff --git a/docs/examples/satellite.md b/docs/examples/satellite.md
index c344547..4da5f4c 100644
--- a/docs/examples/satellite.md
+++ b/docs/examples/satellite.md
@@ -49,6 +49,7 @@
```
4. Add the HorizontalPodAutoScaler `CRD`, and [update the config file](../../operator/config/samples/satellite-hpa.yaml) the `service` and `target` to your excepted config.
+ It's recommend to set the `stabilizationWindowSeconds` and `selectPolicy` of scaling up in HPA, which would help prevent continuous scaling up of pods due to metric delay fluctuations.
5. Check the HorizontalPodAutoScaler in the Kubernetes:
```shell
diff --git a/operator/config/samples/satellite-hpa.yaml b/operator/config/samples/satellite-hpa.yaml
index 085529d..d1eed79 100644
--- a/operator/config/samples/satellite-hpa.yaml
+++ b/operator/config/samples/satellite-hpa.yaml
@@ -25,9 +25,16 @@
apiVersion: apps/v1
kind: Deployment
name: skywalking-system-satellite
+ # Satellite count range limit
minReplicas: 1
maxReplicas: 3
+ # Limit continuous scaling up
+ behavior:
+ scaleUp:
+ stabilizationWindowSeconds: 60
+ selectPolicy: Min
metrics:
+ # Average number of connections threshold
- type: External
external:
metric:
@@ -43,6 +50,7 @@
target:
type: Value
value: 1900
+ # Average CPU usage threshold
- type: External
external:
metric: