add k_get_containers_of_pod
This commit is contained in:
parent
451425d6fe
commit
76f6299a56
@ -154,3 +154,6 @@ function kubectl() {
|
||||
function k_force_delete_pod () {
|
||||
k delete pod $1 --grace-period=0 --force
|
||||
}
|
||||
function k_get_containers_of_pod {
|
||||
k get pods $1 -o jsonpath='{.spec.containers[*].name}*'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user