3. Tolerations:

ARTIFACTORY: How to use NodeAffinity and PodAntiAffinity when deploying Artifactory using Helm Charts

AuthorFullName__c
Ashraf Kherbawy
articleNumber
000005444
ft:sourceType
Salesforce
FirstPublishedDate
2022-10-25T12:53:31Z
lastModifiedDate
2023-01-22T11:06:57Z
VersionNumber
2
Tolerations can be used to decide if pods CAN be assigned nodes with matching taints. Here I have applied a taint to one of my nodes:

User-added image
This means that pods that don’t contain tolerations that match the taint selector, will not be able to be applied to the node that has the taint.

To make sure the artifactory pods can be assigned to the node which contains that specific taint, we can configure the following:
artifactory:
  Tolerations:
  - key: "key1"
    operator: "Equal"
    value: "value1"
    effect: "NoSchedule"
This makes sure that the Artifactory pods will be able to be applied to the node with that specific taint.