Documentation ¶
Index ¶
- Constants
- func CheckForUnmountableSecrets(g osgraph.Graph, podSpecNode *kubegraph.PodSpecNode) []*kubegraph.SecretNode
- func CheckMissingMountedSecrets(g osgraph.Graph, podSpecNode *kubegraph.PodSpecNode) []*kubegraph.SecretNode
- func FindDuelingReplicationControllers(g osgraph.Graph) []osgraph.Marker
- func FindMissingSecrets(g osgraph.Graph) []osgraph.Marker
- func FindRestartingPods(g osgraph.Graph) []osgraph.Marker
- func FindUnmountableSecrets(g osgraph.Graph) []osgraph.Marker
Constants ¶
View Source
const ( RestartingPodWarning = "RestartingPod" RestartThreshold = 3 )
View Source
const ( UnmountableSecretWarning = "UnmountableSecret" MissingSecretWarning = "MissingSecret" )
View Source
const (
DuelingRepliationControllerWarning = "DuelingReplicationControllers"
)
Variables ¶
This section is empty.
Functions ¶
func CheckForUnmountableSecrets ¶
func CheckForUnmountableSecrets(g osgraph.Graph, podSpecNode *kubegraph.PodSpecNode) []*kubegraph.SecretNode
CheckForUnmountableSecrets checks to be sure that all the referenced secrets are mountable (by service account)
func CheckMissingMountedSecrets ¶
func CheckMissingMountedSecrets(g osgraph.Graph, podSpecNode *kubegraph.PodSpecNode) []*kubegraph.SecretNode
CheckMissingMountedSecrets checks to be sure that all the referenced secrets are present (not synthetic)
func FindMissingSecrets ¶
FindMissingSecrets inspects all PodSpecs for any Secret reference that is a synthetic node (not a pre-existing node in the graph)
func FindRestartingPods ¶
FindRestartingPods inspects all Pods to see if they've restarted more than the threshold
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.