clusteragent

package
v1.10.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultAffinity

func DefaultAffinity() *corev1.Affinity

DefaultAffinity returns the pod anti affinity of the cluster agent the default anti affinity prefers scheduling the runners on different nodes if possible for better checks stability in case of node failure.

func GetApiserverAuthReaderRoleBindingName

func GetApiserverAuthReaderRoleBindingName(dda metav1.Object) string

GetApiserverAuthReaderRoleBindingName returns the name for the role binding to access the extension-apiserver-authentication cm

func GetClusterAgentName

func GetClusterAgentName(dda metav1.Object) string

GetClusterAgentName return the Cluster-Agent name based on the DatadogAgent name

func GetClusterAgentRbacResourcesName

func GetClusterAgentRbacResourcesName(dda metav1.Object) string

GetClusterAgentRbacResourcesName return the Cluster-Agent RBAC resource name

func GetClusterAgentService

func GetClusterAgentService(dda metav1.Object) *corev1.Service

GetClusterAgentService returns the Cluster-Agent service

func GetClusterAgentServiceName

func GetClusterAgentServiceName(dda metav1.Object) string

GetClusterAgentServiceName return the Cluster-Agent service name based on the DatadogAgent name

func GetClusterAgentVersion

func GetClusterAgentVersion(dda metav1.Object) string

GetClusterAgentVersion return the Cluster-Agent version based on the DatadogAgent info

func GetDefaultExternalMetricSecretName

func GetDefaultExternalMetricSecretName(dda metav1.Object) string

GetDefaultExternalMetricSecretName returns the external metrics provider secret name

func GetExternalMetricsReaderClusterRoleName

func GetExternalMetricsReaderClusterRoleName(dda metav1.Object, versionInfo *version.Info) string

GetExternalMetricsReaderClusterRoleName returns the name for the external metrics reader cluster role

func GetHPAClusterRoleBindingName

func GetHPAClusterRoleBindingName(dda metav1.Object) string

GetHPAClusterRoleBindingName returns a external metrics provider clusterrolebinding for auth-delegator

func GetMetricsServerAPIServiceName

func GetMetricsServerAPIServiceName() string

GetMetricsServerAPIServiceName returns the external metrics provider apiservice name

func GetMetricsServerServiceName

func GetMetricsServerServiceName(dda metav1.Object) string

GetMetricsServerServiceName returns the external metrics provider service name

func GetResourceMetadataAsTagsClusterRoleName added in v1.10.0

func GetResourceMetadataAsTagsClusterRoleName(dda metav1.Object) string

GetResourceMetadataAsTagsClusterRoleName returns the name for the cluster role name used for kubernetes resource labels and annotations as tags

func NewDefaultClusterAgentDeployment

func NewDefaultClusterAgentDeployment(dda metav1.Object) *appsv1.Deployment

NewDefaultClusterAgentDeployment return a new default cluster-agent deployment

func NewDefaultClusterAgentPodTemplateSpec

func NewDefaultClusterAgentPodTemplateSpec(dda metav1.Object) *corev1.PodTemplateSpec

NewDefaultClusterAgentPodTemplateSpec return a default PodTemplateSpec for the cluster-agent deployment

Types

This section is empty.

Jump to

Keyboard shortcuts

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