Documentation ¶
Overview ¶
Package k8s reports the status of various Kubernetes objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Kubeconfig is a file path to a kubernetes client configurations file. Defaults to $HOME/.kube/config. Kubeconfig string `hcl:"kubeconfig,optional"` // Context is the name of the context to probe. Defaults to the current contexxt. Context string `hcl:"context,optional"` // Namespaces is a list of namespaces to watch. Defaults to all namespaces. Namespaces []string `hcl:"namespaces,optional"` }
Config for the k8s probe that reports on the status of various Kubernetes objects.
type NamespaceProbe ¶ added in v1.1.0
A NamespaceProbe implements a probe for a given k8s object kind within the provided namespace
Directories ¶
Path | Synopsis |
---|---|
Package daemonset checks the status of k8s DaemonSet objects
|
Package daemonset checks the status of k8s DaemonSet objects |
Package deployment checks the status of k8s Deployment objects
|
Package deployment checks the status of k8s Deployment objects |
Package node checks the status of k8s Node objects
|
Package node checks the status of k8s Node objects |
Package pod checks the status of k8s Pod objects
|
Package pod checks the status of k8s Pod objects |
Package service checks the status of k8s Service objects
|
Package service checks the status of k8s Service objects |
Click to show internal directories.
Click to hide internal directories.