Skip to content

Commit b156c56

Browse files
committed
Add get imgages kubectl command
1 parent 5f1058d commit b156c56

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/utils/commands.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,11 @@
210210
"command":"kubectl get storage class",
211211
"option": "",
212212
"description":"This allows you to check the existence of a storage class and it's name."
213+
},
214+
"List container images": {
215+
"command":"kubectl get pods -o jsonpath='{.items[*].spec.containers[*].image}'",
216+
"option": "",
217+
"description":"List the container images running in the cluster."
213218
}
214219
}
215220
}

0 commit comments

Comments
 (0)