gitea: avoid longhorn nodes
This commit is contained in:
parent
28278d6c67
commit
5e0c5b200c
@ -6,6 +6,7 @@ resources:
|
||||
- ../modules/profiles/atlas-ha
|
||||
- coredns-custom.yaml
|
||||
- coredns-deployment.yaml
|
||||
- longhorn-node-taints.yaml
|
||||
- ntp-sync-daemonset.yaml
|
||||
- ../sources/cert-manager/letsencrypt.yaml
|
||||
- ../sources/cert-manager/letsencrypt-prod.yaml
|
||||
|
||||
40
infrastructure/core/longhorn-node-taints.yaml
Normal file
40
infrastructure/core/longhorn-node-taints.yaml
Normal file
@ -0,0 +1,40 @@
|
||||
# infrastructure/core/longhorn-node-taints.yaml
|
||||
apiVersion: v1
|
||||
kind: Node
|
||||
metadata:
|
||||
name: titan-13
|
||||
spec:
|
||||
taints:
|
||||
- key: longhorn
|
||||
value: "true"
|
||||
effect: PreferNoSchedule
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Node
|
||||
metadata:
|
||||
name: titan-15
|
||||
spec:
|
||||
taints:
|
||||
- key: longhorn
|
||||
value: "true"
|
||||
effect: PreferNoSchedule
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Node
|
||||
metadata:
|
||||
name: titan-17
|
||||
spec:
|
||||
taints:
|
||||
- key: longhorn
|
||||
value: "true"
|
||||
effect: PreferNoSchedule
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Node
|
||||
metadata:
|
||||
name: titan-19
|
||||
spec:
|
||||
taints:
|
||||
- key: longhorn
|
||||
value: "true"
|
||||
effect: PreferNoSchedule
|
||||
@ -123,6 +123,9 @@ spec:
|
||||
- key: hardware
|
||||
operator: In
|
||||
values: ["rpi4","rpi5"]
|
||||
- key: longhorn
|
||||
operator: NotIn
|
||||
values: ["true"]
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 50
|
||||
preference:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user