Polyaxon ships with a default redis based on the stable Helm chart.
You can check the chart values to extend its configuration.
External Redis
If you prefer to have Redis managed by you or hosted outside of Kubernetes, you need to disable the in-cluster redis, and provide the information needed to establish a connection to the external one, e.g.:
broker: redis
redis:
enabled: false
externalServices:
redis:
password: polyaxon
host: 35.262.163.88
External Redis with password
If your redis instance requires a password, you need to provide it as well:
broker: redis
redis:
enabled: false
externalServices:
redis:
usePassword: true
password: polyaxon
host: 35.262.163.88
port: 1234
Memorystore for Redis
You can use Cloud MemoryStore for Redis if you are running Polyaxon on GKE, please follow this integration guide.
Using Redis as broker
You can also use Redis for as async worker broker, please check this section on how to alter the default broker behavior.
Scheduling
If you decided to deploy Redis in-cluster make sure to set proper node scheduling to avoid running high load runs on the same node hosting Redis.