Valkey referenceΒΆ
Configuration optionsΒΆ
The spec.valkey
field takes a list of records of two fields, instance and access. Instance is the instance name and access is the access mode.
Environment variablesΒΆ
Every <ValkeyInstanceName>
will give three environment variables for the applications to use:
Key | Value |
---|---|
VALKEY_URI_<ValkeyInstanceName> |
The URI for the Valkey instance, typically with a valkey scheme. Example: valkeys://valkey-team-sessions-nav-dev.aivencloud.com:26483 |
VALKEY_HOST_<ValkeyInstanceName> |
The host for the Valkey instance. Example: valkey-team-sessions-nav-dev.aivencloud.com |
VALKEY_PORT_<ValkeyInstanceName> |
The port for the Valkey instance. Example: 26483 |
VALKEY_USERNAME_<ValkeyInstanceName> |
The username to use when connecting. |
VALKEY_PASSWORD_<ValkeyInstanceName> |
The password to use when connecting. |
Advanced configurationΒΆ
For advanced configuration, we recommend creating your Valkey instances explicitly, especially if you intend for multiple applications using the same Valkey instance.
We use Aivens operator, so the Valkey resource is documented in detail in the Aiven documentation.