3 lines
109 B
Bash
Executable File
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'
|