Skip to main content
Version: 2.17.0

Event Agent Pre-Configuration

Perform the following pre-configuration tasks for Event Agent:

  1. Ensure that the Kubernetes manifests for the application, including HPAs or scaled objects, are pushed to a Git Repository. Currently, GitHub is the supported platform.
  2. Deploy the application using Argo CD.

Task for Configuration with Auto Detection​

Label the secret created by Argo CD containing git repository credentials with agent.smart-scaler.io/secret-type:repository.

Tasks for Manual Configuration without Auto Detection​

Generate a secret containing GitHub credentials in the controller namespace. This secret is used while creating the application configuration without auto detection.

The following code is an example of a secret containing GitHub credentials.

apiVersion: v1
kind: Secret
metadata:
name: git-access-secret
namespace: smart-scaler
labels:
agent.smart-scaler.io/secret-type: repository
type: Opaque
data:
password: <base64_encoded_password>
username: <base64_encoded_username>

All set and you are ready to configure the Event Agent!