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.

Before you begin

To deploy the autoscaler, Prometheus must be installed. See Installing Prometheus for the details.

About this task

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.

Procedure

  1. Change directories to installation_directory/ /kubernetes/autoscaling directory. Where installation_directory is the directory the install package is located.
  2. Open the recorder.yaml file for editing.
  3. 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
  4. Save and close the file.
  5. 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