How do I port forward directly to an Artifactory node in Helm Installations to bypass nginx?

How do I port forward directly to an Artifactory node in Helm Installations to bypass nginx?

AuthorFullName__c
Matthew Wang
articleNumber
000005069
FirstPublishedDate
2021-06-29T19:46:15Z
lastModifiedDate
2025-05-15

To port forward for the artifactory service, you can run:
kubectl port-forward --namespace <namespace> <pod-name> <port>:<port>
kubectl port-forward artifactory-ha-artifactory-ha-primary-0 8082:8082

This command will bind port 8082 on your local machine running kubectl to port 8082 of the artifactory-ha service for the Artifactory node/pod. So now you can run APIs directly against Artifactory such as "curl localhost:8082/artifactory/api/system/ping".