monitor

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MonitoringAPIVersion        = "monitoring.coreos.com/v1"
	CalicoNodeAlertmanager      = "calico-node-alertmanager"
	CalicoNodeMonitor           = "calico-node-monitor"
	CalicoNodePrometheus        = "calico-node-prometheus"
	ElasticsearchMetrics        = "elasticsearch-metrics"
	FluentdMetrics              = "fluentd-metrics"
	TigeraPrometheusObjectName  = "tigera-prometheus"
	TigeraPrometheusSAName      = "prometheus"
	TigeraPrometheusDPRate      = "tigera-prometheus-dp-rate"
	TigeraPrometheusRole        = "tigera-prometheus-role"
	TigeraPrometheusRoleBinding = "tigera-prometheus-role-binding"

	PrometheusPolicyName         = networkpolicy.TigeraComponentPolicyPrefix + "prometheus"
	PrometheusAPIPolicyName      = networkpolicy.TigeraComponentPolicyPrefix + "tigera-prometheus-api"
	PrometheusOperatorPolicyName = networkpolicy.TigeraComponentPolicyPrefix + "prometheus-operator"
	AlertManagerPolicyName       = networkpolicy.TigeraComponentPolicyPrefix + CalicoNodeAlertmanager
	MeshAlertManagerPolicyName   = AlertManagerPolicyName + "-mesh"

	PrometheusHTTPAPIServiceName  = "prometheus-http-api"
	PrometheusDefaultPort         = 9090
	PrometheusProxyPort           = 9095
	PrometheusTLSSecretName       = "calico-node-prometheus-tls"
	PrometheusClientTLSSecretName = "calico-node-prometheus-client-tls"

	AlertmanagerConfigSecret = "alertmanager-calico-node-alertmanager"
	AlertmanagerPort         = 9093

	PrometheusServiceAccountName = "prometheus"
)

Variables

This section is empty.

Functions

func Monitor

func Monitor(cfg *Config) render.Component

func MonitorPolicy added in v1.28.0

func MonitorPolicy(cfg *Config) render.Component

Types

type Config added in v1.25.0

type Config struct {
	Installation             *operatorv1.InstallationSpec
	PullSecrets              []*corev1.Secret
	AlertmanagerConfigSecret *corev1.Secret
	KeyValidatorConfig       authentication.KeyValidatorConfig
	ServerTLSSecret          certificatemanagement.KeyPairInterface
	ClientTLSSecret          certificatemanagement.KeyPairInterface
	ClusterDomain            string
	TrustedCertBundle        certificatemanagement.TrustedBundle
	Openshift                bool
}

Config contains all the config information needed to render the Monitor component.

Jump to

Keyboard shortcuts

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