As explained before, by default our charts assign Artifactory pods using podAntiAffinity, which means that they will be assigned different nodes. The default value is:
The type can be either soft or hard.
The type soft indicates that it will use preferredDuringSchedulingIgnoredDuringExecution rule, and type hard indicates that it will use requiredDuringSchedulingIgnoredDuringExecution.
If you use any other type, it will act as no-antiAffinity.
podAntiAffinity will only be used if you leave the regular affinity value empty.
artifactory: podAntiAffinity: type: soft topologyKey: "kubernetes.io/hostname"
The type can be either soft or hard.
The type soft indicates that it will use preferredDuringSchedulingIgnoredDuringExecution rule, and type hard indicates that it will use requiredDuringSchedulingIgnoredDuringExecution.
If you use any other type, it will act as no-antiAffinity.
podAntiAffinity will only be used if you leave the regular affinity value empty.