k_get_instance
This commit is contained in:
parent
086eaabc27
commit
ccf3ee780a
@ -470,3 +470,6 @@ function gcm {
|
|||||||
function k_delete_evicted {
|
function k_delete_evicted {
|
||||||
k delete pod `k get pods | grep Evicted | awk '{print $1}'`
|
k delete pod `k get pods | grep Evicted | awk '{print $1}'`
|
||||||
}
|
}
|
||||||
|
function k_get_instance {
|
||||||
|
k get deployment -o jsonpath="{.items[*].metadata.labels['app\.kubernetes\.io\/instance']}" | tr " " "\n"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user