Container Gateway REDIS/ValKey configuration not working
search cancel

Container Gateway REDIS/ValKey configuration not working

book

Article ID: 428906

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

I'm trying to deploy an AWS Valkey capable container gateway.
To do so I have modified my helm chart deployment file inorder to :

Comment out the following

# com.l7tech.server.extension.sharedKeyValueStoreProvider=embeddedhazelcast
# com.l7tech.server.extension.sharedCounterProvider=ssgdb
 

Uncomment the following

# com.l7tech.server.extension.sharedKeyValueStoreProvider=redis
# com.l7tech.server.extension.sharedCounterProvider=redis
# com.l7tech.server.extension.sharedRateLimiterProvider=redis

As mentioned in Readme.md chart file.

The Layer7 Container Gateway 11.1 documentation says:

Valkey Configuration

Valkey is a drop-in replacement for Redis and uses the same configuration parameters.
To configure Valkey, reference the Supported YAML Configuration for Redis section for guidance on parameter settings,
but replace the Redis-specific values in your YAML with the equivalent Valkey settings.
 
The primary change will be the connection endpoint for your Valkey instance. For example:
redis:

  default:
     keyPrefixGroupName: mygrpname
     testOnStart: true
     type: standalone
     commandTimeout: 6000
     connectTimeout: 12000
     standalone:
       host: valkey
       port: 6379
     ssl:

       enabled: false

It  is unclear how to provide to my helm deployment  values file  "sharedstate_client.yaml.file" ?

Without this "sharedstate_client.yaml.file" values, pods refuse to start.

Environment

11.1

Resolution

The doc has been updated and a fix is merged and updated in the github.

https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/ContainerGateway11-2/install-configure-upgrade/connect-to-an-external-redis-datastore/configure-redis-client-with-a-single-yaml-file.html

https://github.com/CAAPIM/apim-charts/tree/stable/charts/gateway