Documentation
¶
Index ¶
- Constants
- func HasAgentDataPlaneAnnotation(dda metav1.Object) bool
- func HasFineGrainedKubeletAuthz(dda metav1.Object) bool
- func HasHostProfilerAnnotation(dda metav1.Object) bool
- func HasHostProfilerConfigAnnotion(dda metav1.Object, annotationName string) (string, bool)
- func ShouldRunProcessChecksInCoreAgent(ddaSpec *v2alpha1.DatadogAgentSpec) bool
Constants ¶
const EnableADPAnnotation = "agent.datadoghq.com/adp-enabled"
const EnableFineGrainedKubeletAuthz = "agent.datadoghq.com/fine-grained-kubelet-authorization-enabled"
const EnableHostProfilerAnnotion = "agent.datadoghq.com/host-profiler-enabled"
const HostProfilerConfigDataAnnotion = "agent.datadoghq.com/host-profiler-configdata"
const HostProfilerConfigMapNameAnnotion = "agent.datadoghq.com/host-profiler-configmap-name"
Config map item must be `host-profiler-config.yaml`
const ProcessConfigRunInCoreAgentMinVersion = "7.60.0-0"
Variables ¶
This section is empty.
Functions ¶
func HasAgentDataPlaneAnnotation ¶ added in v1.11.0
HasAgentDataPlaneAnnotation returns true if the Agent Data Plane is enabled via the dedicated `agent.datadoghq.com/adp-enabled` annotation
func HasFineGrainedKubeletAuthz ¶ added in v1.20.0
HasFineGrainedKubeletAuthz returns true if the feature is enabled via the dedicated `agent.datadoghq.com/fine-grained-kubelet-authorization-enabled` annotation
func HasHostProfilerAnnotation ¶ added in v1.23.0
HasHostProfilerAnnotation returns true if the Host Profiler is enabled via the dedicated `agent.datadoghq.com/host-profiler` annotation
func HasHostProfilerConfigAnnotion ¶ added in v1.23.0
HasHostProfilerConfigAnnotion returns true if the Host Profiler has a config annotation, and returns the config.
func ShouldRunProcessChecksInCoreAgent ¶ added in v1.21.0
func ShouldRunProcessChecksInCoreAgent(ddaSpec *v2alpha1.DatadogAgentSpec) bool
ShouldRunProcessChecksInCoreAgent determines whether allow process checks to run in core agent based on environment variables and the agent version.
Types ¶
This section is empty.