Satellite Usage
In this example, you will learn how to use the Satellite.
Install Satellite
Install the Satellite component.
Install Operator And Backend
- Follow Operator installation instrument to install the operator.
- Follow Deploy OAP server and UI to install backend.
Deploy Satellite with default setting
- Deploy the Storage use the below command:
Clone this repo, then change current directory to samples.
Issue the below command to deploy an OAP server and UI.
kubectl apply -f satellite.yaml
- Check the Satellite in Kubernetes:
$ kubectl get satellite
NAME INSTANCES RUNNING ADDRESS
default 1 1 default-satellite.default
Satellite With HPA
- Follow Custom Metrics Adapter to install the metrics adapter.
- Update the config in the Satellite
CRD
and re-apply it to activate the metrics service in satellite.
config:
- name: SATELLITE_TELEMETRY_EXPORT_TYPE
value: metrics_service
- Update the config in the OAP
CRD
and re-apply it to activate the satellite MAL.
config:
- name: SW_METER_ANALYZER_ACTIVE_FILES
value: satellite
- Add the HorizontalPodAutoScaler
CRD
, and update the config file theservice
andtarget
to your excepted config. It’s recommend to set thestabilizationWindowSeconds
andselectPolicy
of scaling up in HPA, which would help prevent continuous scaling up of pods due to metric delay fluctuations. - Check the HorizontalPodAutoScaler in the Kubernetes:
$ kubectl get HorizontalPodAutoscaler
NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE
hpa-demo Deployment/skywalking-system-satellite 2/1900, 5/75 1 3 1 92m