Skip to main content

Redis

The Redis check connects to a specified Redis database instance to check its availability.

apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: redis-check
spec:
interval: 30
redis:
- name: redis-check
addr: "redis.default.svc:6379"
db: 0
username:
valueFrom:
secretKeyRef:
name: redis-credentials
key: USERNAME
password:
valueFrom:
secretKeyRef:
name: redis-credentials
key: PASSWORD
FieldDescriptionSchemeRequired
addrhost:port address of redisstringYes
dbDatabase to be selected after connecting to the serverintYes
*All other common fieldsCommon

Redis Connection

FieldDescriptionScheme
connectionPath of existing connection e.g. connection://redis/instance/ Mutually exclusive with accessKeyConnection
usernameMutually exclusive with connectionEnvVar
passwordMutually exclusive with connectionEnvVar