Configuring autoscaling for recorder
A recorder is used when a meeting is being recorded and when live streaming a video. The Kubernetes autoscaler adjusts the use of recorder pods based on settings in the recorder.yaml file.
To deploy the autoscaler, Prometheus must be installed. See Installing Prometheus for the details.
When a recorder is being used in a meeting, it is dedicated to that meeting until the user stops the recorder or the meeting is stopped. At that time, the recorder is available to be used again. For example, if two recorders are deployed, only two meetings can be recorded at the same time. A recorder is not available until one of the meetings ends. The live streaming feature is also handled by the recorder.
Estimate how many recorders you may need and define the minimum and maximum number of recorder pods that are used by the autoscaler.
-
Change directories to installation_directory/ /kubernetes/autoscaling directory. Where installation_directory is the directory the install package is located.
-
Open the recorder.yaml file for editing.
-
Configure the minimum number and maximum number of recorders by adjusting the following settings.
minReplicas: minimum\_value maxReplicas: maximum\_value
For example:
minReplicas: 2 maxReplicas: 10
-
Save and close the file.
-
To deploy the recorder autoscaler, run the following command from the autoscaling directory.
kubectl apply -f recorder.yaml
If the autoscaler has already been deployed, you can adjust the number of recorder pods available. The following command can be used to adjust the number of recorders.
kubectl edit hpa recorder
Parent Topic: Configure high capacity for meetings