You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
I’m having trouble moving Argo CD Haproxy pods, which are deployed on Karpenter, to a node group. All the other pods have migrated successfully except for the argocd-redis-ha-haproxy pods.
3m3s (x16 over 72m) Warning FailedScheduling Pod/argocd-redis-ha-haproxy-123
0/XX nodes are available:
X node(s) didn't match pod anti-affinity rules,
X node(s) didn't satisfy existing pods anti-affinity rules,
X node(s) were unschedulable,
XX node(s) didn't match Pod's node affinity/selector.
preemption:
0/XX nodes are available:
XX Preemption is not helpful for scheduling,
X No preemption victims found for incoming pod.
2m6s (x65 over 5h24m) Warning FailedScheduling Pod/argocd-redis-ha-haproxy-123
Failed to schedule pod, incompatible with nodepool "svc-node-pool",
daemonset overhead={"cpu":"210m","memory":"240Mi","pods":"6"}, incompatible requirements,
label "Name" does not have known values; incompatible with nodepool "svc-a-node-pool",
daemonset overhead={"cpu":"210m","memory":"240Mi","pods":"6"}, incompatible requirements,
```....
I see that scheduling has failed due to incompatibility with the “Name” attribute, but I’ve only set this attribute for the redis-ha.haproxy. That’s all.
Here is the Terraform code snippet I used:
set {
name = "redis-ha.haproxy.affinity"
value = <<EOF
nodeAffinity:
nodeSelectorTerms:
- matchExpressions:
- key: Name
operator: In
values:
- "name-of-the-node-${env}"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I’m having trouble moving Argo CD Haproxy pods, which are deployed on Karpenter, to a node group. All the other pods have migrated successfully except for the argocd-redis-ha-haproxy pods.
set {
name = "redis-ha.haproxy.affinity"
value = <<EOF
nodeAffinity:
nodeSelectorTerms:
- matchExpressions:
- key: Name
operator: In
values:
- "name-of-the-node-${env}"
Beta Was this translation helpful? Give feedback.
All reactions