Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CentralLoggingConfiguration ¶
func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
CentralLoggingConfiguration returns a fluent-bit parser and filter for the monitoring logs.
func NewBootstrap ¶ added in v1.76.0
func NewBootstrap( client client.Client, chartApplier kubernetes.ChartApplier, secretsManager secretsmanager.Interface, namespace string, values ValuesBootstrap, ) component.Deployer
NewBootstrap creates a new instance of Deployer for the monitoring components.
Types ¶
type Interface ¶ added in v1.76.0
type Interface interface { component.Deployer // SetNamespaceUID sets the UID of the namespace into which the monitoring components shall be deployed. SetNamespaceUID(types.UID) // SetComponents sets the monitoring components. SetComponents([]component.MonitoringComponent) }
Interface contains functions for a monitoring deployer.
func New ¶ added in v1.76.0
func New( client client.Client, chartApplier kubernetes.ChartApplier, secretsManager secretsmanager.Interface, namespace string, values Values, ) Interface
New creates a new instance of Interface for the monitoring components.
type Values ¶ added in v1.76.0
type Values struct { // AlertingSecrets is a list of alerting secrets. AlertingSecrets []*corev1.Secret // AlertmanagerEnabled specifies whether Alertmanager is enabled. AlertmanagerEnabled bool // APIServerDomain is the domain of the API server. APIServerDomain string // APIServerHost is the host of the API server. APIServerHost string // APIServerServiceIP is the service IP of the API server. APIServerServiceIP *string // Components is a list of monitoring components. Components []component.MonitoringComponent // Config is the monitoring config. Config *gardenletconfig.MonitoringConfig // GardenletManagesMCM specifies whether MCM is managed by gardenlet. GardenletManagesMCM bool // GlobalShootRemoteWriteSecret is the global secret for remote write config. GlobalShootRemoteWriteSecret *corev1.Secret // IgnoreAlerts specifies whether alerts should be ignored. IgnoreAlerts bool // ImageAlertmanager is the image of Alertmanager. ImageAlertmanager string // ImageBlackboxExporter is the image of BlackboxExporter. ImageBlackboxExporter string // ImageConfigmapReloader is the image of ConfigmapReloader. ImageConfigmapReloader string // ImagePrometheus is the image of Prometheus. ImagePrometheus string // IngressHostAlertmanager is the host name of Alertmanager. IngressHostAlertmanager string // IngressHostPrometheus is the host name of Prometheus. IngressHostPrometheus string // IsWorkerless specifies whether the cluster is workerless. IsWorkerless bool // KubernetesVersion is the Kubernetes version of the target cluster. KubernetesVersion string // MonitoringConfig is the monitoring config. MonitoringConfig *gardencorev1beta1.Monitoring // NamespaceUID is the UID of the namespace in the runtime cluster. NamespaceUID types.UID // NodeLocalDNSEnabled specifies whether node-local-dns is enabled. NodeLocalDNSEnabled bool // ProjectName is the name of the project. ProjectName string // PodNetworkCIDR is the CIDR of the pod network. PodNetworkCIDR *string // ServiceNetworkCIDR is the CIDR of the service network. ServiceNetworkCIDR *string // NodeNetworkCIDR is the CIDR of the node network. NodeNetworkCIDR *string // Replicas is the number of replicas. Replicas int32 // RuntimeProviderType is the provider type of the runtime cluster. RuntimeProviderType string // RuntimeRegion is the region of the runtime cluster. RuntimeRegion string // StorageCapacityAlertmanager is the storage capacity of Alertmanager. StorageCapacityAlertmanager string // TargetName is the name of the target cluster. TargetName string // TargetProviderType is the provider type of the target cluster. TargetProviderType string // WildcardCertName is name of wildcard tls certificate which is issued for the seed's ingress domain. WildcardCertName *string }
Values is a set of configuration values for the monitoring components.
type ValuesBootstrap ¶ added in v1.76.0
type ValuesBootstrap struct { // AlertingSMTPSecret is the alerting SMTP secret.. AlertingSMTPSecret *corev1.Secret // GlobalMonitoringSecret is the global monitoring secret for the garden cluster. GlobalMonitoringSecret *corev1.Secret // HVPAEnabled states whether HVPA is enabled or not. HVPAEnabled bool // ImageAlertmanager is the image of Alertmanager. ImageAlertmanager string // ImageAlpine is the image of Alpine. ImageAlpine string // ImageConfigmapReloader is the image of ConfigmapReloader. ImageConfigmapReloader string // ImagePrometheus is the image of Prometheus. ImagePrometheus string // IngressHost is the host name of Prometheus. IngressHost string // SeedName is the name of the seed. SeedName string // StorageCapacityAlertmanager is the storage capacity of Alertmanager. StorageCapacityAlertmanager string // StorageCapacityPrometheus is the storage capacity of Prometheus. StorageCapacityPrometheus string // StorageCapacityAggregatePrometheus is the storage capacity of AggregatePrometheus. StorageCapacityAggregatePrometheus string // WildcardCertName is name of wildcard tls certificate which is issued for the seed's ingress domain. WildcardCertName *string }
ValuesBootstrap is a set of configuration values for the monitoring components.
Click to show internal directories.
Click to hide internal directories.