mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-21 22:36:39 +00:00
Merge pull request #3421 from weaveworks/eks-pause
Add EKS to paused container detection
This commit is contained in:
@@ -237,7 +237,8 @@ func (r *Reporter) podEvent(e Event, pod Pod) {
|
||||
// kubernetes pause container image.
|
||||
func IsPauseImageName(imageName string) bool {
|
||||
return strings.Contains(imageName, "google_containers/pause") ||
|
||||
strings.Contains(imageName, "k8s.gcr.io/pause")
|
||||
strings.Contains(imageName, "k8s.gcr.io/pause") ||
|
||||
strings.Contains(imageName, "eks/pause")
|
||||
}
|
||||
|
||||
func isPauseContainer(n report.Node, rpt report.Report) bool {
|
||||
|
||||
Reference in New Issue
Block a user