Documentation ¶
Overview ¶
Package k8s reports the status of various Kubernetes objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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"` // Kinds is a list of object kinds to watch. Currently accepted: Pod, Service, Deployment, DaemonSet. // Default to Service, Deployment, DaemonSet. Kinds []string `hcl:"kinds,optional"` }
Config for the k8s probe that reports on the status of various Kubernetes objects.
Click to show internal directories.
Click to hide internal directories.