useful_o-ran_tools/getIP
2024-03-18 13:15:42 +00:00

3 lines
109 B
Bash
Executable File

#!/bin/bash
kubectl get pods -Ao wide | grep $1 | sed -E 's/.*[^0-9]([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*/\1/g'