add scripts

This commit is contained in:
2024-03-18 13:15:42 +00:00
parent 4b003bf0c1
commit 5d2e2133b8
4 changed files with 12 additions and 1 deletions

2
getIP Executable file
View File

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