Documentation ¶
Index ¶
- Constants
- func Annotations(instance v1beta1.TargetAllocator, configMap *v1.ConfigMap, ...) map[string]string
- func Build(params manifests.Params) ([]client.Object, error)
- func ConfigMap(params manifests.Params) (*corev1.ConfigMap, error)
- func Container(cfg config.Config, logger logr.Logger, instance v1beta1.TargetAllocator) corev1.Container
- func Deployment(params manifests.Params) (*appsv1.Deployment, error)
- func PodDisruptionBudget(params manifests.Params) (*policyV1.PodDisruptionBudget, error)
- func Service(params manifests.Params) *corev1.Service
- func ServiceAccount(params manifests.Params) *corev1.ServiceAccount
- func ServiceAccountName(instance v1beta1.TargetAllocator) string
- func ServiceMonitor(params manifests.Params) *monitoringv1.ServiceMonitor
- func Volumes(cfg config.Config, instance v1beta1.TargetAllocator) []corev1.Volume
Constants ¶
View Source
const (
ComponentOpenTelemetryTargetAllocator = "opentelemetry-targetallocator"
)
Variables ¶
This section is empty.
Functions ¶
func Annotations ¶
func Annotations(instance v1beta1.TargetAllocator, configMap *v1.ConfigMap, filterAnnotations []string) map[string]string
Annotations returns the annotations for the TargetAllocator Pod.
func Container ¶
func Container(cfg config.Config, logger logr.Logger, instance v1beta1.TargetAllocator) corev1.Container
Container builds a container for the given TargetAllocator.
func Deployment ¶
func Deployment(params manifests.Params) (*appsv1.Deployment, error)
Deployment builds the deployment for the given instance.
func PodDisruptionBudget ¶ added in v0.91.0
func PodDisruptionBudget(params manifests.Params) (*policyV1.PodDisruptionBudget, error)
func ServiceAccount ¶
func ServiceAccount(params manifests.Params) *corev1.ServiceAccount
ServiceAccount returns the service account for the given instance.
func ServiceAccountName ¶
func ServiceAccountName(instance v1beta1.TargetAllocator) string
ServiceAccountName returns the name of the existing or self-provisioned service account to use for the given instance.
func ServiceMonitor ¶ added in v0.91.0
func ServiceMonitor(params manifests.Params) *monitoringv1.ServiceMonitor
ServiceMonitor returns the service monitor for the given instance.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.