Documentation ¶
Index ¶
- func DefaultAffinity() *corev1.Affinity
- func GetApiserverAuthReaderRoleBindingName(dda metav1.Object) string
- func GetClusterAgentName(dda metav1.Object) string
- func GetClusterAgentRbacResourcesName(dda metav1.Object) string
- func GetClusterAgentService(dda metav1.Object) *corev1.Service
- func GetClusterAgentServiceName(dda metav1.Object) string
- func GetClusterAgentVersion(dda metav1.Object) string
- func GetDefaultExternalMetricSecretName(dda metav1.Object) string
- func GetExternalMetricsReaderClusterRoleName(dda metav1.Object, versionInfo *version.Info) string
- func GetHPAClusterRoleBindingName(dda metav1.Object) string
- func GetMetricsServerAPIServiceName() string
- func GetMetricsServerServiceName(dda metav1.Object) string
- func GetResourceMetadataAsTagsClusterRoleName(dda metav1.Object) string
- func NewDefaultClusterAgentDeployment(dda metav1.Object) *appsv1.Deployment
- func NewDefaultClusterAgentPodTemplateSpec(dda metav1.Object) *corev1.PodTemplateSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAffinity ¶
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 ¶
GetApiserverAuthReaderRoleBindingName returns the name for the role binding to access the extension-apiserver-authentication cm
func GetClusterAgentName ¶
GetClusterAgentName return the Cluster-Agent name based on the DatadogAgent name
func GetClusterAgentRbacResourcesName ¶
GetClusterAgentRbacResourcesName return the Cluster-Agent RBAC resource name
func GetClusterAgentService ¶
GetClusterAgentService returns the Cluster-Agent service
func GetClusterAgentServiceName ¶
GetClusterAgentServiceName return the Cluster-Agent service name based on the DatadogAgent name
func GetClusterAgentVersion ¶
GetClusterAgentVersion return the Cluster-Agent version based on the DatadogAgent info
func GetDefaultExternalMetricSecretName ¶
GetDefaultExternalMetricSecretName returns the external metrics provider secret name
func GetExternalMetricsReaderClusterRoleName ¶
GetExternalMetricsReaderClusterRoleName returns the name for the external metrics reader cluster role
func GetHPAClusterRoleBindingName ¶
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 ¶
GetMetricsServerServiceName returns the external metrics provider service name
func GetResourceMetadataAsTagsClusterRoleName ¶ added in v1.10.0
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.