forked from spotahome/redis-operator
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathnode-affinity.yaml
More file actions
28 lines (28 loc) · 750 Bytes
/
node-affinity.yaml
File metadata and controls
28 lines (28 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
apiVersion: databases.spotahome.com/v1
kind: RedisFailover
metadata:
name: redis
spec:
redis:
replicas: 3
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kops.k8s.io/instancegroup
operator: In
values:
- productionnodes
sentinel:
enabled: true
replicas: 3
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kops.k8s.io/instancegroup
operator: In
values:
- productionnodes