Cloud-Native High Availability
Starting from version 7.17.4, Artifactory provides Cloud-Native High or Availability Masterless High Availability.
Starting from version 7.17.4, Artifactory provides Cloud-Native High Availability (also known as Masterless High Availability). This architecture removes the need for a primary/master node, so all nodes can perform cluster-wide tasks.
Operational Outcome
Any cluster member can execute cluster-wide tasks, so task execution no longer depends on a single primary node.
How It Works
When you add a new node to the cluster, it can perform cluster-wide tasks by default. In Artifactory 7.17.4 and later, taskAffinity is set to any by default for new installations. Configure this under the Nodes section in Artifactory System YAML.
| Task Affinity Setting | Behavior |
|---|---|
taskAffinity: any | Node can perform any cluster-wide task (default for new installations) |
taskAffinity: none | Node cannot perform cluster-wide tasks |
primary: true | Legacy setting maintained for backward compatibility during upgrades |
Backward Compatibility For Upgrades
When upgrading to Artifactory 7.17.4 from an earlier version, the
primary: trueattribute is preserved for backward compatibility.To enable cloud-native behavior after upgrade, set
taskAffinity: anyon each node in Artifactory System YAML.
Example system.yaml Configuration
system.yaml Configurationshared:
node:
taskAffinity: any # Enable cloud-native HA (all nodes can run cluster-wide tasks)Updated 3 days ago
