Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding update for redis lists #216

Merged
merged 3 commits into from
Aug 12, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions content/docs/2.0/scalers/redis-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ triggers:
databaseIndex: "0" # optional
```

The `address` field in the spec holds the host and port of the redis server. This could be an external redis server or one running in the kubernetes cluster.
The `address` field in the spec holds the host and port of the Redis server. The value should be the name of the environment variable in the deployment/job that contains the actual value for the Redis server address.

As an alternative to the `address` field the user can specify `host` and `port` parameters.
As an alternative to the `address` field the user can specify `host` and `port` parameters. If you would prefer to specify on actual value for the `address`, then the TriggerAuthentication object could used to define the value.

Provide the `password` field if the redis server requires a password. Both the hostname and password fields need to be set to the names of the environment variables in the target deployment that contain the host name and password respectively.
Provide the `password` field if the Redis server requires a password. Both the hostname and password fields need to be set to the names of the environment variables in the target deployment that contain the host name and password respectively.

The `listName` parameter in the spec points to the Redis List that you want to monitor. The `listLength` parameter defines the average target value for the Horizontal Pod Autoscaler (HPA).

Expand All @@ -39,6 +39,14 @@ The `databaseIndex` parameter let the user select the redis database to use. If

You can authenticate by using a password.

**Connection Authentication:**

- `address` - The host and port for the Redis server (host:port format).
tomkerkhove marked this conversation as resolved.
Show resolved Hide resolved

tomkerkhove marked this conversation as resolved.
Show resolved Hide resolved
- `host` - The hostname of the Redis server. If specified, the `port` should also be specified

tomkerkhove marked this conversation as resolved.
Show resolved Hide resolved
- `port` - The port of the Redis server. If specified, the `host` should also be specified

**Password Authentication:**

- `password` - Redis password to authenticate with
Expand Down