useful_o-ran_tools/getIP

3 lines
109 B
Plaintext
Raw Normal View History

2024-03-18 14:15:42 +01:00
#!/bin/bash
kubectl get pods -Ao wide | grep $1 | sed -E 's/.*[^0-9]([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*/\1/g'