k8s

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 16 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL