summaryrefslogtreecommitdiffstats
path: root/roles/ands_monitor/templates/scripts/list_containers.sh.j2
blob: bac28842ad1888fc6a9f858fd15395e169b09e47 (plain)
1
2
3
#! /bin/bash

kubectl get pods --all-namespaces -o jsonpath='{range .items[*]}{@.metadata.name}{" "}{@.spec.containers[*].image}{" - "}{@.status.containerStatuses[*].containerID}{"\n"}{end}'