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
spec:
redis:
- addr: "redis.default.svc:6379"
name: redis-check
auth:
username:
valueFrom:
secretKeyRef:
name: redis-credentials
key: USERNAME
password:
valueFrom:
secretKeyRef:
name: redis-credentials
key: PASSWORD
db: 0
description: "The redis check"
FieldDescriptionSchemeRequired
addrhost:port addressstringYes
authusername and password value, configMapKeyRef or SecretKeyRef for redis serverAuthentication
dbDatabase to be selected after connecting to the serverintYes
descriptionDescription for the checkstring
iconIcon for overwriting default icon on the dashboardstring
nameName of the checkstring

Scheme Reference

Authentication

FieldDescriptionSchemeRequired
passwordSet password for authentication using string, configMapKeyRef, or SecretKeyRef.kommons.EnvVarYes
usernameSet username for authentication using string, configMapKeyRef, or SecretKeyRef.kommons.EnvVarYes