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
resource"helm_release""nginx-ingress-external" {
name="blahblah"chart="argo-cd"version="0.35.4"namespace="${var.argocd}"...set {
name ="controller.replicaCount"
value ="2"
}
set {
name ="controller.minAvailable"
value ="1"
}
...set {
name ="controller.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution[0].labelSelector.matchExpressions[0].key"
value ="Name"
}
set {
name ="controller.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution[0].labelSelector.matchExpressions[0].operator"
value ="In"
}
set {
name ="controller.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution[0].labelSelector.matchExpressions[0].values[0]"
value ="something"
}
}
Question
Hi, I want the ArgoCD pods to run on the node group.
Other pods are all good for nodeAffinity setup.
In the second image, you may see that the row (tfstate file) indicates that nodeAffinity is adjusted, but it's not actually applied.
From the first image, you can see there's only podAntiAffinity.
The text was updated successfully, but these errors were encountered:
@BBBmau Yeah, that’s right. It seems a bit clearer now. I was using affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].key=Name instead of controller.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].key=Name,
I could found it using helm template command.
so you’re right. It was a syntax typo.
Thanks for your time, BBBmau!
Hi, @BBBmau I have a further question here.
It seems it's been adjusted at the StatefulSet but not at the Pod level (even for the Deployment)
How can I solve this?
@cychoi34 you may want to refer to the Argo chart, from my initial investigation I didn't come across anything helpful as to why it wouldn't adjust to the pod level.
Terraform version, Kubernetes provider version and Kubernetes version
Terraform configuration
Question
Hi, I want the ArgoCD pods to run on the node group.
Other pods are all good for nodeAffinity setup.
In the second image, you may see that the row (tfstate file) indicates that nodeAffinity is adjusted, but it's not actually applied.
From the first image, you can see there's only podAntiAffinity.
The text was updated successfully, but these errors were encountered: