Skip to content

Conversation

seanshi-scale
Copy link
Contributor

@seanshi-scale seanshi-scale commented May 25, 2024

Pull Request Summary

Add an option to have the pods read Redis auth info from an AWS secret.
Note: there are two places the redis auth info needs to be added, since Redis is used for both the model endpoint creation request message queue and a cache for endpoint info

The secret is formatted as follows:
It must contain a few keys, namely host, port, scheme (optional, defaults to redis://), auth_token (optional), query_params (optional). These control which Redis gets used as the message queue for the endpoint builder. Also must contain a key cache-url, the full Redis url of the redis to be used as a cache.

Test Plan and Usage Guide

Deployed helm chart with a values.yaml that asks to get the redis url from the secret. The pods start up fine.

@seanshi-scale seanshi-scale self-assigned this May 25, 2024
@seanshi-scale seanshi-scale marked this pull request as ready for review May 28, 2024 22:58
@seanshi-scale seanshi-scale merged commit 275f495 into main May 28, 2024
@seanshi-scale seanshi-scale deleted the seanshi/20240524-redis-url-from-aws-secret branch May 28, 2024 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants