In this article, we will go over deploying Artifactory’s Helm chart with multiple replicas, on zones that are in different AZ’s (Availability zones).
Using EKS with two nodes in eu-central-1 for this example, we have two nodes, one in AZ eu-central-1a, and the other is in AZ eu-central-1b. Deploying two pods in both nodes comes down to using simple Affinity and Toleration configurations. Before we continue, it’s important to note that Artifactory’s Helm chart comes configured with PodAntiAffinity by default, meaning that it will deploy your pods on separate nodes by default. However, it is quite random, and we do need to make sure that they are on our specific eu-central-1 nodes with the different AZ’s.
Let’s begin with the first option: