key

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AWSNodeMetricPort                = "61678"
	ElasticLoggingMetricPort         = "9108"
	NginxIngressControllerMetricPort = "10254"
	KubeStateMetricsPort             = "10301"
	CalicoNodeMetricPort             = "9091"
	ChartOperatorMetricPort          = "8000"
	ClusterAutoscalerMetricPort      = "8085"
	CertExporterMetricPort           = "9005"
	CoreDNSMetricPort                = "9153"
	KiamMetricPort                   = "9620"
	KubeProxyMetricPort              = "10249"
	NetExporterMetricPort            = "8000"
	NicExporterMetricPort            = "10800"
	VaultExporterMetricPort          = "9410"

	AWSNodeNamespace                = "kube-system"
	ElasticLoggingNamespace         = "giantswarm-elastic-logging"
	NginxIngressControllerNamespace = "kube-system"
	KubeStateMetricsNamespace       = "kube-system"
	CalicoNodeNamespace             = "kube-system"
	ChartOperatorNamespace          = "giantswarm"
	ClusterAutoscalerNamespace      = "kube-system"
	CertExporterNamespace           = "kube-system"
	CoreDNSNamespace                = "kube-system"
	KiamNamespace                   = "kube-system"
	KubeProxyNamespace              = "kube-system"
	NetExporterNamespace            = "kube-system"
	NicExporterNamespace            = "kube-system"
	VaultExporterNamespace          = "vault-exporter"

	PrefixMaster    = "master"
	PrefixApiServer = "apiserver"

	AnnotationEtcdDomain = "giantswarm.io/etcd-domain"
)

Variables

This section is empty.

Functions

func APIProxyPodMetricsPath

func APIProxyPodMetricsPath(namespace, port string) string

func APIServiceHost

func APIServiceHost(prefix string, clusterID string) string

func CAPath

func CAPath(certificateDirectory, clusterID string) string

func CrtPath

func CrtPath(certificateDirectory, clusterID string) string

func KeyPath

func KeyPath(certificateDirectory, clusterID string) string

func LabelSelectorConfigMap

func LabelSelectorConfigMap() labels.Selector

func LabelSelectorService

func LabelSelectorService() labels.Selector

func ManagedAppPodMetricsPath

func ManagedAppPodMetricsPath() string

func PrometheusURLConfig

func PrometheusURLConfig(address string) string

PrometheusURLConfig returns the Prometheus API URL that returns the current configuration. It assumes that address is a valid HTTP URL.

func PrometheusURLReload

func PrometheusURLReload(address string) string

PrometheusURLReload returns the Prometheus API URL that reloads the configuration. It assumes that address is a valid HTTP URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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