This document walks you through the steps to follow on a Harness delegate to validate the IP of host on which Delegate is running to validate with the IP displayed on Harness UI
-
Delegate Type : Shell Script
hostname -I | awk ‘{print $1}’
-
Delegate Type : Docker Image
a. docker ps
b. docker exec -it container-id bash
c. hostname -I | awk ‘{print $1}’
-
Delegate Type : Kubernetes YAML
a. kubectl get pod -n namespace -o wide
-
Delegate Type : Helm Values YAML
a. kubectl get pod -n namespace -o wide -
Delegate Type : ECS Task Spec
from Amazon ECS console:
a. click < your cluster >
b. click < your service >
c. click the Task tab
d. click < your task >
e. check the network details there