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 SettingBehavior
taskAffinity: anyNode can perform any cluster-wide task (default for new installations)
taskAffinity: noneNode cannot perform cluster-wide tasks
primary: trueLegacy setting maintained for backward compatibility during upgrades
📘

Backward Compatibility For Upgrades

When upgrading to Artifactory 7.17.4 from an earlier version, the primary: true attribute is preserved for backward compatibility.

To enable cloud-native behavior after upgrade, set taskAffinity: any on each node in Artifactory System YAML.

Example system.yaml Configuration

shared:
  node:
    taskAffinity: any  # Enable cloud-native HA (all nodes can run cluster-wide tasks)