chore(k8s): drop backfill nodeSelector/toleration, free talos4
podAntiAffinity on app=prop already keeps the backfill pod on its own physical host, so the dedicated nodeSelector + taint were redundant. Removing them lets talos4 be used as a normal worker for anything else the cluster wants to place there. The live taint and label on talos4 were cleared alongside this commit.
This commit is contained in:
parent
93b526c761
commit
47a3e1dbde
1 changed files with 5 additions and 12 deletions
|
|
@ -4,9 +4,11 @@ metadata:
|
||||||
name: prop-backfill
|
name: prop-backfill
|
||||||
namespace: prop
|
namespace: prop
|
||||||
spec:
|
spec:
|
||||||
# Start with 1. Scale up as additional prop-backfill=true nodes come online
|
# Single replica. podAntiAffinity on app=prop / physical-host means
|
||||||
# (podAntiAffinity keys on physical-host, same as prop, so replicas stay
|
# this pod lands on whichever physical host the hot replicas aren't on
|
||||||
# spread across distinct physical hosts).
|
# (currently talos4 / node4); no nodeSelector or taint is needed to
|
||||||
|
# pin it — the antiaffinity is sufficient and keeps talos4 available
|
||||||
|
# as a normal scheduling target for the rest of the cluster.
|
||||||
replicas: 1
|
replicas: 1
|
||||||
minReadySeconds: 5
|
minReadySeconds: 5
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -27,15 +29,6 @@ spec:
|
||||||
app: prop
|
app: prop
|
||||||
tier: backfill
|
tier: backfill
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
|
||||||
prop-backfill: "true"
|
|
||||||
tolerations:
|
|
||||||
# Matches the taint recommended for prop-backfill=true nodes. Remove
|
|
||||||
# this block if you haven't tainted the nodes.
|
|
||||||
- key: workload
|
|
||||||
operator: Equal
|
|
||||||
value: backfill
|
|
||||||
effect: NoSchedule
|
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue