Redis operator for Kubernetes with HAProxy support
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
710 B

apiVersion: apps/v1
kind: Deployment
metadata:
name: redis-operator
spec:
replicas: 1
selector:
matchLabels:
name: redis-operator
template:
metadata:
labels:
name: redis-operator
spec:
serviceAccountName: redis-operator
containers:
- name: redis-operator
image: iam21h/redis-operator:0.0.3
command:
- redis-operator
imagePullPolicy: Always
env:
- name: WATCH_NAMESPACE
value: ""
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: "redis-operator"