From Artifactory version 7.17.4, Artifactory supports masterless concept. That means, we do not have a single dedicated primary node and remaining nodes as members.
The setting is by default enabled from version 7.17.4. That means new installations will have this feature. If we upgrade from a lower version to any version above 7.17.4, we can enable it by navigating to $JFROG_HOME/artifactory/var/etc/system.yaml and ad the parameter taskAffinity to the value any and perform a restart.
shared: Node: taskAffinity: any
If you are helm installation, we may refer to this knowledge base article to enable the above feature.