Merge branch 'master' of github.com-derailed:derailed/k9s

mine
derailed 2021-07-24 07:34:52 -06:00
commit c30b79d194
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,10 @@ func (s *Service) showPods(a *App, _ ui.Tabular, gvr, path string) {
return
}
if svc.Spec.Type == v1.ServiceTypeExternalName {
a.Flash().Warnf("No pod view available. Service %s is an external service.", path)
return
}
showPodsWithLabels(a, path, svc.Spec.Selector)
}