k8sentity

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package k8sentity provides functionality for reconciling Kubernetes Cluster Monitored Entities for a given DynaKube. The only purpose of this package is to look for (and not create) an already existing Kubernetes Cluster Monitored Entity in the Dynatrace Environment and store relevant info in the DynaKube's Status.

A Kubernetes Cluster Monitored Entity (example: KUBERNETES_CLUSTER-A1234567BCD8EFGH) is calculated in the Dynatrace Environment. - This happens when certain Setting (`builtin:cloud.kubernetes`) is created

  • Looking at this Setting via the API we can determine the Kubernetes Cluster Monitored Entity

This ME(Monitored Entity) is an important configuration, yet optional, for most Dynatrace Components. - If the Operator provides the ID and Name of the ME when possible, then it reduces the computational cost on ingest.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReconciler

func NewReconciler(
	dtClient dynatrace.Client,
	dk *dynakube.DynaKube,
) controllers.Reconciler

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context) error

type ReconcilerBuilder

type ReconcilerBuilder func(dtClient dynatrace.Client, dk *dynakube.DynaKube) controllers.Reconciler

Jump to

Keyboard shortcuts

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