Documentation ¶
Overview ¶
Package v2alpha1 contains API Schema definitions for the datadoghq v2alpha1 API group +kubebuilder:object:generate=true +groupName=datadoghq.com
Index ¶
- Constants
- Variables
- func CheckAPIKeySufficiency(creds *DatadogCredentials, envVarName string) bool
- func CheckAppKeySufficiency(creds *DatadogCredentials, envVarName string) bool
- func ConvertCustomConfig(config *CustomConfig) *commonv1.CustomConfig
- func DefaultDatadogAgent(dda *DatadogAgent)
- func GetAPIKeySecret(credentials *DatadogCredentials, defaultName string) (bool, string, string)
- func GetAgentServiceAccount(dda *DatadogAgent) string
- func GetAppKeySecret(credentials *DatadogCredentials, defaultName string) (bool, string, string)
- func GetClusterAgentServiceAccount(dda *DatadogAgent) string
- func GetClusterChecksRunnerServiceAccount(dda *DatadogAgent) string
- func GetConfName(owner metav1.Object, conf *CustomConfig, defaultName string) string
- func GetDefaultCredentialsSecretName(dda metav1.Object) string
- func GetDefaultDCATokenSecretName(dda metav1.Object) string
- func GetKeysFromCredentials(credentials *DatadogCredentials) map[string][]byte
- func GetLocalAgentServiceName(dda *DatadogAgent) string
- func GetMetav1ConditionStatus(status bool) metav1.ConditionStatus
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func IsCCREnabled(dda *DatadogAgent) bool
- func IsClusterChecksEnabled(dda *DatadogAgent) bool
- func IsHostNetworkEnabled(dda *DatadogAgent, component ComponentName) bool
- func NewDatadogAgentStatusCondition(conditionType string, conditionStatus metav1.ConditionStatus, now metav1.Time, ...) metav1.Condition
- func SetDatadogAgentStatusCondition(status *DatadogAgentStatus, condition *metav1.Condition)
- func ShouldCreateSCC(dda *DatadogAgent, componentName ComponentName) bool
- func UpdateDaemonSetStatus(ds *appsv1.DaemonSet, dsStatus *commonv1.DaemonSetStatus, ...) *commonv1.DaemonSetStatus
- func UpdateDatadogAgentStatusCondition(condition *metav1.Condition, now metav1.Time, t string, ...) *metav1.Condition
- func UpdateDatadogAgentStatusConditions(status *DatadogAgentStatus, now metav1.Time, t string, ...)
- func UpdateDatadogAgentStatusConditionsFailure(status *DatadogAgentStatus, now metav1.Time, ...)
- func UpdateDeploymentStatus(dep *appsv1.Deployment, depStatus *commonv1.DeploymentStatus, ...) *commonv1.DeploymentStatus
- func UpdateExtendedDaemonSetStatus(eds *edsdatadoghqv1alpha1.ExtendedDaemonSet, ...) *commonv1.DaemonSetStatus
- type APMFeatureConfig
- type AdmissionControllerFeatureConfig
- type AgentConfigFileName
- type CSPMFeatureConfig
- type CWSFeatureConfig
- type ClusterChecksFeatureConfig
- type ComponentName
- type CustomConfig
- type DatadogAgent
- type DatadogAgentComponentOverride
- type DatadogAgentGenericContainer
- type DatadogAgentList
- type DatadogAgentSpec
- type DatadogAgentState
- type DatadogAgentStatus
- type DatadogCredentials
- type DatadogFeatures
- type DogstatsdFeatureConfig
- type Endpoint
- type EventCollectionFeatureConfig
- type ExternalMetricsServerFeatureConfig
- type GlobalConfig
- type HostPortConfig
- type KubeStateMetricsCoreFeatureConfig
- type LiveContainerCollectionFeatureConfig
- type LiveProcessCollectionFeatureConfig
- type LocalService
- type LogCollectionFeatureConfig
- type MultiCustomConfig
- type NPMFeatureConfig
- type NetworkPolicyConfig
- type NetworkPolicyFlavor
- type OOMKillFeatureConfig
- type OTLPFeatureConfig
- type OTLPGRPCConfig
- type OTLPHTTPConfig
- type OTLPProtocolsConfig
- type OTLPReceiverConfig
- type OrchestratorExplorerFeatureConfig
- type PrometheusScrapeFeatureConfig
- type SeccompConfig
- type SecretBackendConfig
- type SecurityContextConstraintsConfig
- type TCPQueueLengthFeatureConfig
- type USMFeatureConfig
- type UnixDomainSocketConfig
Constants ¶
const ( // ClusterAgentReconcileConditionType ReconcileConditionType for Cluster Agent component ClusterAgentReconcileConditionType = "ClusterAgentReconcile" // AgentReconcileConditionType ReconcileConditionType for Agent component AgentReconcileConditionType = "AgentReconcile" // ClusterChecksRunnerReconcileConditionType ReconcileConditionType for Cluster Checks Runner component ClusterChecksRunnerReconcileConditionType = "ClusterChecksRunnerReconcile" // OverrideReconcileConflictConditionType ReconcileConditionType for override conflict OverrideReconcileConflictConditionType = "OverrideReconcileConflict" // DatadogAgentReconcileErrorConditionType ReconcileConditionType for DatadogAgent reconcile error DatadogAgentReconcileErrorConditionType = "DatadogAgentReconcileError" // ExtraConfdConfigMapName is the name of the ConfigMap storing Custom Confd data ExtraConfdConfigMapName = "%s-extra-confd" // ExtraChecksdConfigMapName is the name of the ConfigMap storing Custom Checksd data ExtraChecksdConfigMapName = "%s-extra-checksd" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "datadoghq.com", Version: "v2alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func CheckAPIKeySufficiency ¶ added in v1.0.0
func CheckAPIKeySufficiency(creds *DatadogCredentials, envVarName string) bool
CheckAPIKeySufficiency use to check for the API key if: 1. an existing secret is defined, or 2. the corresponding env var is defined (whether in ENC format or not) If either of these is true, the secret is not needed.
func CheckAppKeySufficiency ¶ added in v1.0.0
func CheckAppKeySufficiency(creds *DatadogCredentials, envVarName string) bool
CheckAppKeySufficiency use to check for the APP key if: 1. an existing secret is defined, or 2. the corresponding env var is defined (whether in ENC format or not) If either of these is true, the secret is not needed.
func ConvertCustomConfig ¶ added in v1.0.0
func ConvertCustomConfig(config *CustomConfig) *commonv1.CustomConfig
ConvertCustomConfig use to convert a CustomConfig to a common.CustomConfig.
func DefaultDatadogAgent ¶ added in v1.0.0
func DefaultDatadogAgent(dda *DatadogAgent)
DefaultDatadogAgent defaults the DatadogAgentSpec GlobalConfig and Features.
func GetAPIKeySecret ¶ added in v1.0.0
func GetAPIKeySecret(credentials *DatadogCredentials, defaultName string) (bool, string, string)
GetAPIKeySecret returns the API key secret name and the key inside the secret returns <isSet>, secretName, secretKey Note that the default name can differ depending on where this is called
func GetAgentServiceAccount ¶ added in v1.0.0
func GetAgentServiceAccount(dda *DatadogAgent) string
GetAgentServiceAccount returns the agent service account name
func GetAppKeySecret ¶ added in v1.0.0
func GetAppKeySecret(credentials *DatadogCredentials, defaultName string) (bool, string, string)
GetAppKeySecret returns the APP key secret name and the key inside the secret returns <isSet>, secretName, secretKey Note that the default name can differ depending on where this is called
func GetClusterAgentServiceAccount ¶ added in v1.0.0
func GetClusterAgentServiceAccount(dda *DatadogAgent) string
GetClusterAgentServiceAccount return the cluster-agent serviceAccountName
func GetClusterChecksRunnerServiceAccount ¶ added in v1.0.0
func GetClusterChecksRunnerServiceAccount(dda *DatadogAgent) string
GetClusterChecksRunnerServiceAccount return the cluster-checks-runner service account name
func GetConfName ¶ added in v1.0.0
func GetConfName(owner metav1.Object, conf *CustomConfig, defaultName string) string
GetConfName get the name of the Configmap for a CustomConfigSpec
func GetDefaultCredentialsSecretName ¶ added in v1.0.0
GetDefaultCredentialsSecretName returns the default name for credentials secret
func GetDefaultDCATokenSecretName ¶ added in v1.0.0
GetDefaultDCATokenSecretName returns the default name for cluster-agent secret
func GetKeysFromCredentials ¶ added in v1.0.0
func GetKeysFromCredentials(credentials *DatadogCredentials) map[string][]byte
GetKeysFromCredentials returns any key data that need to be stored in a new secret
func GetLocalAgentServiceName ¶ added in v1.0.0
func GetLocalAgentServiceName(dda *DatadogAgent) string
GetLocalAgentServiceName returns the name used for the local agent service
func GetMetav1ConditionStatus ¶ added in v1.0.0
func GetMetav1ConditionStatus(status bool) metav1.ConditionStatus
GetMetav1ConditionStatus converts a boolean to metav1.ConditionStatus
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func IsCCREnabled ¶ added in v1.0.0
func IsCCREnabled(dda *DatadogAgent) bool
IsCCREnabled returns whether the DDA should use Cluster Checks Runners
func IsClusterChecksEnabled ¶ added in v1.0.0
func IsClusterChecksEnabled(dda *DatadogAgent) bool
IsClusterChecksEnabled returns whether the DDA should use cluster checks
func IsHostNetworkEnabled ¶ added in v1.0.0
func IsHostNetworkEnabled(dda *DatadogAgent, component ComponentName) bool
IsHostNetworkEnabled returns whether the pod should use the host's network namespace
func NewDatadogAgentStatusCondition ¶ added in v1.0.0
func NewDatadogAgentStatusCondition(conditionType string, conditionStatus metav1.ConditionStatus, now metav1.Time, reason, message string) metav1.Condition
NewDatadogAgentStatusCondition returns new metav1.Condition instance
func SetDatadogAgentStatusCondition ¶ added in v1.0.0
func SetDatadogAgentStatusCondition(status *DatadogAgentStatus, condition *metav1.Condition)
SetDatadogAgentStatusCondition use to set a condition
func ShouldCreateSCC ¶ added in v1.0.0
func ShouldCreateSCC(dda *DatadogAgent, componentName ComponentName) bool
ShouldCreateSCC returns whether a scc should be created for a component
func UpdateDaemonSetStatus ¶ added in v1.0.0
func UpdateDaemonSetStatus(ds *appsv1.DaemonSet, dsStatus *commonv1.DaemonSetStatus, updateTime *metav1.Time) *commonv1.DaemonSetStatus
UpdateDaemonSetStatus updates a daemonset's DaemonSetStatus
func UpdateDatadogAgentStatusCondition ¶ added in v1.0.0
func UpdateDatadogAgentStatusCondition(condition *metav1.Condition, now metav1.Time, t string, conditionStatus metav1.ConditionStatus, reason, message string) *metav1.Condition
UpdateDatadogAgentStatusCondition used to update a specific string
func UpdateDatadogAgentStatusConditions ¶ added in v1.0.0
func UpdateDatadogAgentStatusConditions(status *DatadogAgentStatus, now metav1.Time, t string, conditionStatus metav1.ConditionStatus, reason, message string, writeFalseIfNotExist bool)
UpdateDatadogAgentStatusConditions used to update a specific string in conditions
func UpdateDatadogAgentStatusConditionsFailure ¶ added in v1.0.0
func UpdateDatadogAgentStatusConditionsFailure(status *DatadogAgentStatus, now metav1.Time, conditionType, reason, message string, err error)
UpdateDatadogAgentStatusConditionsFailure used to update the failure StatusConditions
func UpdateDeploymentStatus ¶ added in v1.0.0
func UpdateDeploymentStatus(dep *appsv1.Deployment, depStatus *commonv1.DeploymentStatus, updateTime *metav1.Time) *commonv1.DeploymentStatus
UpdateDeploymentStatus updates a deployment's DeploymentStatus
func UpdateExtendedDaemonSetStatus ¶ added in v1.0.0
func UpdateExtendedDaemonSetStatus(eds *edsdatadoghqv1alpha1.ExtendedDaemonSet, dsStatus *commonv1.DaemonSetStatus, updateTime *metav1.Time) *commonv1.DaemonSetStatus
UpdateExtendedDaemonSetStatus updates an ExtendedDaemonSet's DaemonSetStatus
Types ¶
type APMFeatureConfig ¶
type APMFeatureConfig struct { // Enabled enables Application Performance Monitoring. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` // HostPortConfig contains host port configuration. // Enabled Default: false // Port Default: 8126 // +optional HostPortConfig *HostPortConfig `json:"hostPortConfig,omitempty"` // UnixDomainSocketConfig contains socket configuration. // See also: https://docs.datadoghq.com/agent/kubernetes/apm/?tab=helm#agent-environment-variables // Enabled Default: true // Path Default: `/var/run/datadog/apm.socket` // +optional UnixDomainSocketConfig *UnixDomainSocketConfig `json:"unixDomainSocketConfig,omitempty"` }
APMFeatureConfig contains APM (Application Performance Monitoring) configuration. APM runs in the Trace Agent.
func (*APMFeatureConfig) DeepCopy ¶
func (in *APMFeatureConfig) DeepCopy() *APMFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APMFeatureConfig.
func (*APMFeatureConfig) DeepCopyInto ¶
func (in *APMFeatureConfig) DeepCopyInto(out *APMFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdmissionControllerFeatureConfig ¶
type AdmissionControllerFeatureConfig struct { // Enabled enables the Admission Controller. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` // MutateUnlabelled enables config injection without the need of pod label 'admission.datadoghq.com/enabled="true"'. // Default: false // +optional MutateUnlabelled *bool `json:"mutateUnlabelled,omitempty"` // ServiceName corresponds to the webhook service name. // +optional ServiceName *string `json:"serviceName,omitempty"` // AgentCommunicationMode corresponds to the mode used by the Datadog application libraries to communicate with the Agent. // It can be "hostip", "service", or "socket". // +optional AgentCommunicationMode *string `json:"agentCommunicationMode,omitempty"` // FailurePolicy determines how unrecognized and timeout errors are handled. // +optional FailurePolicy *string `json:"failurePolicy,omitempty"` }
AdmissionControllerFeatureConfig contains the Admission Controller feature configuration. The Admission Controller runs in the Cluster Agent.
func (*AdmissionControllerFeatureConfig) DeepCopy ¶
func (in *AdmissionControllerFeatureConfig) DeepCopy() *AdmissionControllerFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionControllerFeatureConfig.
func (*AdmissionControllerFeatureConfig) DeepCopyInto ¶
func (in *AdmissionControllerFeatureConfig) DeepCopyInto(out *AdmissionControllerFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentConfigFileName ¶ added in v1.0.0
type AgentConfigFileName string
AgentConfigFileName is the list of known Agent config files
const ( // AgentGeneralConfigFile is the name of the main Agent config file AgentGeneralConfigFile AgentConfigFileName = "datadog.yaml" // SystemProbeConfigFile is the name of the of System Probe config file SystemProbeConfigFile AgentConfigFileName = "system-probe.yaml" // SecurityAgentConfigFile is the name of the Security Agent config file SecurityAgentConfigFile AgentConfigFileName = "security-agent.yaml" // ClusterAgentConfigFile is the name of the Cluster Agent config file ClusterAgentConfigFile AgentConfigFileName = "datadog-cluster.yaml" )
type CSPMFeatureConfig ¶
type CSPMFeatureConfig struct { // Enabled enables Cloud Security Posture Management. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` // CheckInterval defines the check interval. // +optional CheckInterval *metav1.Duration `json:"checkInterval,omitempty"` // CustomBenchmarks contains CSPM benchmarks. // The content of the ConfigMap will be merged with the benchmarks bundled with the agent. // Any benchmarks with the same name as those existing in the agent will take precedence. // +optional CustomBenchmarks *CustomConfig `json:"customBenchmarks,omitempty"` }
CSPMFeatureConfig contains CSPM (Cloud Security Posture Management) configuration. CSPM runs in the Security Agent and Cluster Agent.
func (*CSPMFeatureConfig) DeepCopy ¶
func (in *CSPMFeatureConfig) DeepCopy() *CSPMFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSPMFeatureConfig.
func (*CSPMFeatureConfig) DeepCopyInto ¶
func (in *CSPMFeatureConfig) DeepCopyInto(out *CSPMFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CWSFeatureConfig ¶
type CWSFeatureConfig struct { // Enabled enables Cloud Workload Security. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` // SyscallMonitorEnabled enables Syscall Monitoring (recommended for troubleshooting only). // Default: false // +optional SyscallMonitorEnabled *bool `json:"syscallMonitorEnabled,omitempty"` // CustomPolicies contains security policies. // The content of the ConfigMap will be merged with the policies bundled with the agent. // Any policies with the same name as those existing in the agent will take precedence. // +optional CustomPolicies *CustomConfig `json:"customPolicies,omitempty"` }
CWSFeatureConfig contains CWS (Cloud Workload Security) configuration. CWS runs in the Security Agent.
func (*CWSFeatureConfig) DeepCopy ¶
func (in *CWSFeatureConfig) DeepCopy() *CWSFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CWSFeatureConfig.
func (*CWSFeatureConfig) DeepCopyInto ¶
func (in *CWSFeatureConfig) DeepCopyInto(out *CWSFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterChecksFeatureConfig ¶ added in v1.0.0
type ClusterChecksFeatureConfig struct { // Enables Cluster Checks scheduling in the Cluster Agent. // Default: true // +optional Enabled *bool `json:"enabled,omitempty"` // Enabled enables Cluster Checks Runners to run all Cluster Checks. // Default: false // +optional UseClusterChecksRunners *bool `json:"useClusterChecksRunners,omitempty"` }
ClusterChecksFeatureConfig contains the Cluster Checks feature configuration. Cluster Checks are picked up and scheduled by the Cluster Agent. Cluster Checks Runners are Agents dedicated to running Cluster Checks dispatched by the Cluster Agent. (If Cluster Checks Runners are not activated, checks are dispatched to Node Agents).
func (*ClusterChecksFeatureConfig) DeepCopy ¶ added in v1.0.0
func (in *ClusterChecksFeatureConfig) DeepCopy() *ClusterChecksFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterChecksFeatureConfig.
func (*ClusterChecksFeatureConfig) DeepCopyInto ¶ added in v1.0.0
func (in *ClusterChecksFeatureConfig) DeepCopyInto(out *ClusterChecksFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentName ¶ added in v1.0.0
type ComponentName string
ComponentName is the name of a Deployment Component
const ( // NodeAgentComponentName is the name of the Datadog Node Agent NodeAgentComponentName ComponentName = "nodeAgent" // ClusterAgentComponentName is the name of the Cluster Agent ClusterAgentComponentName ComponentName = "clusterAgent" // ClusterChecksRunnerComponentName is the name of the Cluster Check Runner ClusterChecksRunnerComponentName ComponentName = "clusterChecksRunner" )
type CustomConfig ¶
type CustomConfig struct { // ConfigData corresponds to the configuration file content. ConfigData *string `json:"configData,omitempty"` // ConfigMap references an existing ConfigMap with the configuration file content. ConfigMap *commonv1.ConfigMapConfig `json:"configMap,omitempty"` }
CustomConfig provides a place for custom configuration of the Agent or Cluster Agent, corresponding to datadog.yaml, system-probe.yaml, security-agent.yaml or datadog-cluster.yaml. The configuration can be provided in the ConfigData field as raw data, or referenced in a ConfigMap. Note: `ConfigData` and `ConfigMap` cannot be set together. +k8s:openapi-gen=true
func (*CustomConfig) DeepCopy ¶
func (in *CustomConfig) DeepCopy() *CustomConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomConfig.
func (*CustomConfig) DeepCopyInto ¶
func (in *CustomConfig) DeepCopyInto(out *CustomConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatadogAgent ¶
type DatadogAgent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatadogAgentSpec `json:"spec,omitempty"` Status DatadogAgentStatus `json:"status,omitempty"` }
DatadogAgent Deployment with the Datadog Operator. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:resource:path=datadogagents,shortName=dd +kubebuilder:printcolumn:name="agent",type="string",JSONPath=".status.agent.status" +kubebuilder:printcolumn:name="cluster-agent",type="string",JSONPath=".status.clusterAgent.status" +kubebuilder:printcolumn:name="cluster-checks-runner",type="string",JSONPath=".status.clusterChecksRunner.status" +kubebuilder:printcolumn:name="age",type="date",JSONPath=".metadata.creationTimestamp" +k8s:openapi-gen=true +genclient
func (*DatadogAgent) DeepCopy ¶
func (in *DatadogAgent) DeepCopy() *DatadogAgent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatadogAgent.
func (*DatadogAgent) DeepCopyInto ¶
func (in *DatadogAgent) DeepCopyInto(out *DatadogAgent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatadogAgent) DeepCopyObject ¶
func (in *DatadogAgent) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DatadogAgent) Hub ¶ added in v1.0.0
func (*DatadogAgent) Hub()
Hub defines this CRD version as being the Hub version
func (*DatadogAgent) SetupWebhookWithManager ¶ added in v1.0.0
func (r *DatadogAgent) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager starts the conversion webhook
type DatadogAgentComponentOverride ¶ added in v1.0.0
type DatadogAgentComponentOverride struct { // Name overrides the default name for the resource // +optional Name *string `json:"name,omitempty"` // Number of the replicas. // Not applicable for a DaemonSet/ExtendedDaemonSet deployment // +optional Replicas *int32 `json:"replicas,omitempty"` // Set CreateRbac to false to prevent automatic creation of Role/ClusterRole for this component // +optional CreateRbac *bool `json:"createRbac,omitempty"` // Sets the ServiceAccount used by this component. // Ignored if the field CreateRbac is true. // +optional ServiceAccountName *string `json:"serviceAccountName,omitempty"` // The container image of the different components (Datadog Agent, Cluster Agent, Cluster Check Runner). // +optional Image *commonv1.AgentImageConfig `json:"image,omitempty"` // Specify additional environmental variables for all containers in this component // Priority is Container > Component // See also: https://docs.datadoghq.com/agent/kubernetes/?tab=helm#environment-variables // // +optional // +listType=map // +listMapKey=name Env []corev1.EnvVar `json:"env,omitempty"` // CustomConfiguration allows to specify custom configuration files for `datadog.yaml`, `datadog-cluster.yaml`, `security-agent.yaml`, and `system-probe.yaml`. // The content will be merged with configuration generated by the Datadog Operator, with priority given to custom configuration. // WARNING: It's thus possible to override values set in the `DatadogAgent`. // +optional CustomConfigurations map[AgentConfigFileName]CustomConfig `json:"customConfigurations,omitempty"` // Confd configuration allowing to specify config files for custom checks placed under /etc/datadog-agent/conf.d/. // See https://docs.datadoghq.com/agent/guide/agent-configuration-files/?tab=agentv6 for more details. // +optional ExtraConfd *MultiCustomConfig `json:"extraConfd,omitempty"` // Checksd configuration allowing to specify custom checks placed under /etc/datadog-agent/checks.d/ // See https://docs.datadoghq.com/agent/guide/agent-configuration-files/?tab=agentv6 for more details. // +optional ExtraChecksd *MultiCustomConfig `json:"extraChecksd,omitempty"` // Configure the basic configurations for each agent container. Valid agent container names are: // `agent`, `cluster-agent`, `init-config`, `init-volume`, `process-agent`, `seccomp-setup`, // `security-agent`, `system-probe`, `trace-agent`, and `all`. // Configuration under `all` applies to all configured containers. // +optional Containers map[commonv1.AgentContainerName]*DatadogAgentGenericContainer `json:"containers,omitempty"` // Specify additional volumes in the different components (Datadog Agent, Cluster Agent, Cluster Check Runner). // +optional // +listType=map // +listMapKey=name Volumes []corev1.Volume `json:"volumes,omitempty"` // Configure the SecurityContextConstraints for each component. // +optional SecurityContextConstraints *SecurityContextConstraintsConfig `json:"securityContextConstraints,omitempty"` // Pod-level SecurityContext. // +optional SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"` // If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" // are two special keywords which indicate the highest priorities with the former being the highest priority. // Any other name must be defined by creating a PriorityClass object with that name. If not specified, // the pod priority will be default or zero if there is no default. PriorityClassName *string `json:"priorityClassName,omitempty"` // If specified, the pod's scheduling constraints. // +optional Affinity *corev1.Affinity `json:"affinity,omitempty"` // NodeSelector is a selector which must be true for the pod to fit on a node. // Selector which must match a node's labels for the pod to be scheduled on that node. // More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty"` // Configure the component tolerations. // +optional // +listType=atomic Tolerations []corev1.Toleration `json:"tolerations,omitempty"` // Annotations provide annotations that will be added to the different component (Datadog Agent, Cluster Agent, Cluster Check Runner) pods. Annotations map[string]string `json:"annotations,omitempty"` // AdditionalLabels provide labels that will be added to the different component (Datadog Agent, Cluster Agent, Cluster Check Runner) pods. Labels map[string]string `json:"labels,omitempty"` // Host networking requested for this pod. Use the host's network namespace. // +optional HostNetwork *bool `json:"hostNetwork,omitempty"` // Use the host's pid namespace. // +optional HostPID *bool `json:"hostPID,omitempty"` // Disabled force disables a component. // +optional Disabled *bool `json:"disabled,omitempty"` }
DatadogAgentComponentOverride is the generic description equivalent to a subset of the PodTemplate for a component.
func (*DatadogAgentComponentOverride) DeepCopy ¶ added in v1.0.0
func (in *DatadogAgentComponentOverride) DeepCopy() *DatadogAgentComponentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatadogAgentComponentOverride.
func (*DatadogAgentComponentOverride) DeepCopyInto ¶ added in v1.0.0
func (in *DatadogAgentComponentOverride) DeepCopyInto(out *DatadogAgentComponentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatadogAgentGenericContainer ¶
type DatadogAgentGenericContainer struct { // Name of the container that is overridden //+optional Name *string `json:"name,omitempty"` // LogLevel sets logging verbosity (overrides global setting) // Valid log levels are: trace, debug, info, warn, error, critical, and off. // Default: 'info' // +optional LogLevel *string `json:"logLevel,omitempty"` // Specify additional environmental variables in the container // See also: https://docs.datadoghq.com/agent/kubernetes/?tab=helm#environment-variables // // +optional // +listType=map // +listMapKey=name Env []corev1.EnvVar `json:"env,omitempty"` // Specify additional volume mounts in the container. // +optional // +listType=map // +listMapKey=name // +listMapKey=mountPath VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"` // Specify the Request and Limits of the pods // To get guaranteed QoS class, specify requests and limits equal. // See also: http://kubernetes.io/docs/user-guide/compute-resources/ Resources *corev1.ResourceRequirements `json:"resources,omitempty"` // Command allows the specification of a custom entrypoint for container // +listType=atomic Command []string `json:"command,omitempty"` // Args allows the specification of extra args to the `Command` parameter // +listType=atomic Args []string `json:"args,omitempty"` // HealthPort of the container for the internal liveness probe. // Must be the same as the Liveness/Readiness probes. // +optional HealthPort *int32 `json:"healthPort,omitempty"` // Configure the Readiness Probe of the container // +optional ReadinessProbe *corev1.Probe `json:"readinessProbe,omitempty"` // Configure the Liveness Probe of the container // +optional LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty"` // Container-level SecurityContext. // +optional SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` // Seccomp configurations to override Operator actions. For all other Seccomp Profile manipulation, // use SecurityContext. SeccompConfig *SeccompConfig `json:"seccompConfig,omitempty"` // AppArmorProfileName specifies an apparmor profile. // +optional AppArmorProfileName *string `json:"appArmorProfileName,omitempty"` }
DatadogAgentGenericContainer is the generic structure describing any container's common configuration. +k8s:openapi-gen=true
func (*DatadogAgentGenericContainer) DeepCopy ¶
func (in *DatadogAgentGenericContainer) DeepCopy() *DatadogAgentGenericContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatadogAgentGenericContainer.
func (*DatadogAgentGenericContainer) DeepCopyInto ¶
func (in *DatadogAgentGenericContainer) DeepCopyInto(out *DatadogAgentGenericContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatadogAgentList ¶
type DatadogAgentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DatadogAgent `json:"items"` }
DatadogAgentList contains a list of DatadogAgent.
func (*DatadogAgentList) DeepCopy ¶
func (in *DatadogAgentList) DeepCopy() *DatadogAgentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatadogAgentList.
func (*DatadogAgentList) DeepCopyInto ¶
func (in *DatadogAgentList) DeepCopyInto(out *DatadogAgentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatadogAgentList) DeepCopyObject ¶
func (in *DatadogAgentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatadogAgentSpec ¶
type DatadogAgentSpec struct { // Features running on the Agent and Cluster Agent // +optional Features *DatadogFeatures `json:"features,omitempty"` // Global settings to configure the agents // +optional Global *GlobalConfig `json:"global,omitempty"` // Override the default configurations of the agents // +optional Override map[ComponentName]*DatadogAgentComponentOverride `json:"override,omitempty"` }
DatadogAgentSpec defines the desired state of DatadogAgent
func (*DatadogAgentSpec) DeepCopy ¶
func (in *DatadogAgentSpec) DeepCopy() *DatadogAgentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatadogAgentSpec.
func (*DatadogAgentSpec) DeepCopyInto ¶
func (in *DatadogAgentSpec) DeepCopyInto(out *DatadogAgentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatadogAgentState ¶ added in v1.0.0
type DatadogAgentState string
DatadogAgentState type representing the deployment state of the different Agent components.
const ( // DatadogAgentStateProgressing the deployment is progressing. DatadogAgentStateProgressing DatadogAgentState = "Progressing" // DatadogAgentStateRunning the deployment is running properly. DatadogAgentStateRunning DatadogAgentState = "Running" // DatadogAgentStateUpdating the deployment is currently under a rolling update. DatadogAgentStateUpdating DatadogAgentState = "Updating" // DatadogAgentStateCanary the deployment is currently under a canary testing (EDS only). DatadogAgentStateCanary DatadogAgentState = "Canary" // DatadogAgentStateFailed the current state of the deployment is considered as Failed. DatadogAgentStateFailed DatadogAgentState = "Failed" )
type DatadogAgentStatus ¶
type DatadogAgentStatus struct { // Conditions Represents the latest available observations of a DatadogAgent's current state. // +optional // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions"` // The actual state of the Agent as an extended daemonset. // +optional Agent *commonv1.DaemonSetStatus `json:"agent,omitempty"` // The actual state of the Cluster Agent as a deployment. // +optional ClusterAgent *commonv1.DeploymentStatus `json:"clusterAgent,omitempty"` // The actual state of the Cluster Checks Runner as a deployment. // +optional ClusterChecksRunner *commonv1.DeploymentStatus `json:"clusterChecksRunner,omitempty"` }
DatadogAgentStatus defines the observed state of DatadogAgent. +k8s:openapi-gen=true
func (*DatadogAgentStatus) DeepCopy ¶
func (in *DatadogAgentStatus) DeepCopy() *DatadogAgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatadogAgentStatus.
func (*DatadogAgentStatus) DeepCopyInto ¶
func (in *DatadogAgentStatus) DeepCopyInto(out *DatadogAgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatadogCredentials ¶
type DatadogCredentials struct { // APIKey configures your Datadog API key. // See also: https://app.datadoghq.com/account/settings#agent/kubernetes APIKey *string `json:"apiKey,omitempty"` // APISecret references an existing Secret which stores the API key instead of creating a new one. // If set, this parameter takes precedence over "APIKey". // +optional APISecret *commonv1.SecretConfig `json:"apiSecret,omitempty"` // AppKey configures your Datadog application key. // If you are using clusterAgent.metricsProvider.enabled = true, you must set // a Datadog application key for read access to your metrics. // +optional AppKey *string `json:"appKey,omitempty"` // AppSecret references an existing Secret which stores the application key instead of creating a new one. // If set, this parameter takes precedence over "AppKey". // +optional AppSecret *commonv1.SecretConfig `json:"appSecret,omitempty"` }
DatadogCredentials is a generic structure that holds credentials to access Datadog. +k8s:openapi-gen=true
func (*DatadogCredentials) DeepCopy ¶
func (in *DatadogCredentials) DeepCopy() *DatadogCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatadogCredentials.
func (*DatadogCredentials) DeepCopyInto ¶
func (in *DatadogCredentials) DeepCopyInto(out *DatadogCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatadogFeatures ¶
type DatadogFeatures struct { // LogCollection configuration. LogCollection *LogCollectionFeatureConfig `json:"logCollection,omitempty"` // LiveProcessCollection configuration. LiveProcessCollection *LiveProcessCollectionFeatureConfig `json:"liveProcessCollection,omitempty"` // LiveContainerCollection configuration. LiveContainerCollection *LiveContainerCollectionFeatureConfig `json:"liveContainerCollection,omitempty"` // OOMKill configuration. OOMKill *OOMKillFeatureConfig `json:"oomKill,omitempty"` // TCPQueueLength configuration. TCPQueueLength *TCPQueueLengthFeatureConfig `json:"tcpQueueLength,omitempty"` // APM (Application Performance Monitoring) configuration. APM *APMFeatureConfig `json:"apm,omitempty"` // CSPM (Cloud Security Posture Management) configuration. CSPM *CSPMFeatureConfig `json:"cspm,omitempty"` // CWS (Cloud Workload Security) configuration. CWS *CWSFeatureConfig `json:"cws,omitempty"` // NPM (Network Performance Monitoring) configuration. NPM *NPMFeatureConfig `json:"npm,omitempty"` // USM (Universal Service Monitoring) configuration. USM *USMFeatureConfig `json:"usm,omitempty"` // Dogstatsd configuration. Dogstatsd *DogstatsdFeatureConfig `json:"dogstatsd,omitempty"` // OTLP ingest configuration OTLP *OTLPFeatureConfig `json:"otlp,omitempty"` // EventCollection configuration. EventCollection *EventCollectionFeatureConfig `json:"eventCollection,omitempty"` // OrchestratorExplorer check configuration. OrchestratorExplorer *OrchestratorExplorerFeatureConfig `json:"orchestratorExplorer,omitempty"` // KubeStateMetricsCore check configuration. KubeStateMetricsCore *KubeStateMetricsCoreFeatureConfig `json:"kubeStateMetricsCore,omitempty"` // AdmissionController configuration. AdmissionController *AdmissionControllerFeatureConfig `json:"admissionController,omitempty"` // ExternalMetricsServer configuration. ExternalMetricsServer *ExternalMetricsServerFeatureConfig `json:"externalMetricsServer,omitempty"` // ClusterChecks configuration. ClusterChecks *ClusterChecksFeatureConfig `json:"clusterChecks,omitempty"` // PrometheusScrape configuration. PrometheusScrape *PrometheusScrapeFeatureConfig `json:"prometheusScrape,omitempty"` }
DatadogFeatures are features running on the Agent and Cluster Agent. +k8s:openapi-gen=true
func (*DatadogFeatures) DeepCopy ¶
func (in *DatadogFeatures) DeepCopy() *DatadogFeatures
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatadogFeatures.
func (*DatadogFeatures) DeepCopyInto ¶
func (in *DatadogFeatures) DeepCopyInto(out *DatadogFeatures)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DogstatsdFeatureConfig ¶ added in v1.0.0
type DogstatsdFeatureConfig struct { // OriginDetectionEnabled enables origin detection for container tagging. // See also: https://docs.datadoghq.com/developers/dogstatsd/unix_socket/#using-origin-detection-for-container-tagging // +optional OriginDetectionEnabled *bool `json:"originDetectionEnabled,omitempty"` // HostPortConfig contains host port configuration. // Enabled Default: false // Port Default: 8125 // +optional HostPortConfig *HostPortConfig `json:"hostPortConfig,omitempty"` // UnixDomainSocketConfig contains socket configuration. // See also: https://docs.datadoghq.com/agent/kubernetes/apm/?tab=helm#agent-environment-variables // Enabled Default: true // Path Default: `/var/run/datadog/dsd.socket` // +optional UnixDomainSocketConfig *UnixDomainSocketConfig `json:"unixDomainSocketConfig,omitempty"` // Configure the Dogstasd Mapper Profiles. // Can be passed as raw data or via a json encoded string in a config map. // See also: https://docs.datadoghq.com/developers/dogstatsd/dogstatsd_mapper/ // +optional MapperProfiles *CustomConfig `json:"mapperProfiles,omitempty"` }
DogstatsdFeatureConfig contains the Dogstatsd configuration parameters. +k8s:openapi-gen=true
func (*DogstatsdFeatureConfig) DeepCopy ¶ added in v1.0.0
func (in *DogstatsdFeatureConfig) DeepCopy() *DogstatsdFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DogstatsdFeatureConfig.
func (*DogstatsdFeatureConfig) DeepCopyInto ¶ added in v1.0.0
func (in *DogstatsdFeatureConfig) DeepCopyInto(out *DogstatsdFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Endpoint ¶
type Endpoint struct { // URL defines the endpoint URL. URL *string `json:"url,omitempty"` // Credentials defines the Datadog credentials used to submit data to/query data from Datadog. Credentials *DatadogCredentials `json:"credentials,omitempty"` }
Endpoint configures an endpoint and its associated Datadog credentials.
func (*Endpoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventCollectionFeatureConfig ¶ added in v1.0.0
type EventCollectionFeatureConfig struct { // CollectKubernetesEvents enables Kubernetes event collection. // Default: true CollectKubernetesEvents *bool `json:"collectKubernetesEvents,omitempty"` }
EventCollectionFeatureConfig contains the Event Collection configuration. +k8s:openapi-gen=true
func (*EventCollectionFeatureConfig) DeepCopy ¶ added in v1.0.0
func (in *EventCollectionFeatureConfig) DeepCopy() *EventCollectionFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventCollectionFeatureConfig.
func (*EventCollectionFeatureConfig) DeepCopyInto ¶ added in v1.0.0
func (in *EventCollectionFeatureConfig) DeepCopyInto(out *EventCollectionFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalMetricsServerFeatureConfig ¶
type ExternalMetricsServerFeatureConfig struct { // Enabled enables the External Metrics Server. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` // WPAController enables the informer and controller of the Watermark Pod Autoscaler. // NOTE: The Watermark Pod Autoscaler controller needs to be installed. // See also: https://github.com/DataDog/watermarkpodautoscaler. // Default: false // +optional WPAController *bool `json:"wpaController,omitempty"` // UseDatadogMetrics enables usage of the DatadogMetrics CRD (allowing one to scale on arbitrary Datadog metric queries). // Default: true // +optional UseDatadogMetrics *bool `json:"useDatadogMetrics,omitempty"` // Port specifies the metricsProvider External Metrics Server service port. // Default: 8443 // +optional Port *int32 `json:"port,omitempty"` // Override the API endpoint for the External Metrics Server. // URL Default: "https://app.datadoghq.com". // +optional Endpoint *Endpoint `json:"endpoint,omitempty"` }
ExternalMetricsServerFeatureConfig contains the External Metrics Server feature configuration. The External Metrics Server runs in the Cluster Agent.
func (*ExternalMetricsServerFeatureConfig) DeepCopy ¶
func (in *ExternalMetricsServerFeatureConfig) DeepCopy() *ExternalMetricsServerFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricsServerFeatureConfig.
func (*ExternalMetricsServerFeatureConfig) DeepCopyInto ¶
func (in *ExternalMetricsServerFeatureConfig) DeepCopyInto(out *ExternalMetricsServerFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GlobalConfig ¶
type GlobalConfig struct { // Credentials defines the Datadog credentials used to submit data to/query data from Datadog. Credentials *DatadogCredentials `json:"credentials,omitempty"` // ClusterAgentToken is the token for communication between the NodeAgent and ClusterAgent. ClusterAgentToken *string `json:"clusterAgentToken,omitempty"` // ClusterAgentTokenSecret is the secret containing the Cluster Agent token. ClusterAgentTokenSecret *commonv1.SecretConfig `json:"clusterAgentTokenSecret,omitempty"` // ClusterName sets a unique cluster name for the deployment to easily scope monitoring data in the Datadog app. // +optional ClusterName *string `json:"clusterName,omitempty"` // Site is the Datadog intake site Agent data are sent to. // Set to 'datadoghq.eu' to send data to the EU site. // Default: 'datadoghq.com' // +optional Site *string `json:"site,omitempty"` // Endpoint is the Datadog intake URL the Agent data are sent to. // Only set this option if you need the Agent to send data to a custom URL. // Overrides the site setting defined in `Site`. // +optional Endpoint *Endpoint `json:"endpoint,omitempty"` // Registry is the image registry to use for all Agent images. // Use 'public.ecr.aws/datadog' for AWS ECR. // Use 'docker.io/datadog' for DockerHub. // Default: 'gcr.io/datadoghq' // +optional Registry *string `json:"registry,omitempty"` // LogLevel sets logging verbosity. This can be overridden by container. // Valid log levels are: trace, debug, info, warn, error, critical, and off. // Default: 'info' LogLevel *string `json:"logLevel,omitempty"` // Tags contains a list of tags to attach to every metric, event and service check collected. // Learn more about tagging: https://docs.datadoghq.com/tagging/ // +optional // +listType=set Tags []string `json:"tags,omitempty"` // Provide a mapping of Kubernetes Labels to Datadog Tags. // <KUBERNETES_LABEL>: <DATADOG_TAG_KEY> // +optional PodLabelsAsTags map[string]string `json:"podLabelsAsTags,omitempty"` // Provide a mapping of Kubernetes Annotations to Datadog Tags. // <KUBERNETES_ANNOTATIONS>: <DATADOG_TAG_KEY> // +optional PodAnnotationsAsTags map[string]string `json:"podAnnotationsAsTags,omitempty"` // Provide a mapping of Kubernetes Node Labels to Datadog Tags. // <KUBERNETES_NODE_LABEL>: <DATADOG_TAG_KEY> // +optional NodeLabelsAsTags map[string]string `json:"nodeLabelsAsTags,omitempty"` // Provide a mapping of Kubernetes Namespace Labels to Datadog Tags. // <KUBERNETES_NAMESPACE_LABEL>: <DATADOG_TAG_KEY> // +optional NamespaceLabelsAsTags map[string]string `json:"namespaceLabelsAsTags,omitempty"` // NetworkPolicy contains the network configuration. // +optional NetworkPolicy *NetworkPolicyConfig `json:"networkPolicy,omitempty"` // LocalService contains configuration to customize the internal traffic policy service. // +optional LocalService *LocalService `json:"localService,omitempty"` // Kubelet contains the kubelet configuration parameters. // +optional Kubelet *commonv1.KubeletConfig `json:"kubelet,omitempty"` // Path to the docker runtime socket. // +optional DockerSocketPath *string `json:"dockerSocketPath,omitempty"` // Path to the container runtime socket (if different from Docker). // +optional CriSocketPath *string `json:"criSocketPath,omitempty"` }
GlobalConfig is a set of parameters that are used to configure all the components of the Datadog Operator.
func (*GlobalConfig) DeepCopy ¶
func (in *GlobalConfig) DeepCopy() *GlobalConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalConfig.
func (*GlobalConfig) DeepCopyInto ¶
func (in *GlobalConfig) DeepCopyInto(out *GlobalConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPortConfig ¶
type HostPortConfig struct { // Enabled enables host port configuration // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` // Port takes a port number (0 < x < 65536) to expose on the host. (Most containers do not need this.) // If HostNetwork is enabled, this value must match the ContainerPort. // +optional Port *int32 `json:"hostPort,omitempty"` }
HostPortConfig contains host port configuration.
func (*HostPortConfig) DeepCopy ¶
func (in *HostPortConfig) DeepCopy() *HostPortConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortConfig.
func (*HostPortConfig) DeepCopyInto ¶
func (in *HostPortConfig) DeepCopyInto(out *HostPortConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeStateMetricsCoreFeatureConfig ¶
type KubeStateMetricsCoreFeatureConfig struct { // Enabled enables Kube State Metrics Core. // Default: true // +optional Enabled *bool `json:"enabled,omitempty"` // Conf overrides the configuration for the default Kubernetes State Metrics Core check. // This must point to a ConfigMap containing a valid cluster check configuration. // +optional Conf *CustomConfig `json:"conf,omitempty"` }
KubeStateMetricsCoreFeatureConfig contains the Kube State Metrics Core check feature configuration. The Kube State Metrics Core check runs in the Cluster Agent (or Cluster Check Runners). See also: https://docs.datadoghq.com/integrations/kubernetes_state_core +k8s:openapi-gen=true
func (*KubeStateMetricsCoreFeatureConfig) DeepCopy ¶
func (in *KubeStateMetricsCoreFeatureConfig) DeepCopy() *KubeStateMetricsCoreFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeStateMetricsCoreFeatureConfig.
func (*KubeStateMetricsCoreFeatureConfig) DeepCopyInto ¶
func (in *KubeStateMetricsCoreFeatureConfig) DeepCopyInto(out *KubeStateMetricsCoreFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LiveContainerCollectionFeatureConfig ¶ added in v1.0.0
type LiveContainerCollectionFeatureConfig struct { // Enables container collection for the Live Container View. // Default: true // +optional Enabled *bool `json:"enabled,omitempty"` }
LiveContainerCollectionFeatureConfig contains Container Collection configuration. Container Collection is run in the Process Agent.
func (*LiveContainerCollectionFeatureConfig) DeepCopy ¶ added in v1.0.0
func (in *LiveContainerCollectionFeatureConfig) DeepCopy() *LiveContainerCollectionFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveContainerCollectionFeatureConfig.
func (*LiveContainerCollectionFeatureConfig) DeepCopyInto ¶ added in v1.0.0
func (in *LiveContainerCollectionFeatureConfig) DeepCopyInto(out *LiveContainerCollectionFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LiveProcessCollectionFeatureConfig ¶ added in v1.0.0
type LiveProcessCollectionFeatureConfig struct { // Enabled enables Process monitoring. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` // ScrubProcessArguments enables scrubbing of sensitive data in process command-lines (passwords, tokens, etc. ). // Default: true // +optional ScrubProcessArguments *bool `json:"scrubProcessArguments,omitempty"` // StripProcessArguments enables stripping of all process arguments. // Default: false // +optional StripProcessArguments *bool `json:"stripProcessArguments,omitempty"` }
LiveProcessCollectionFeatureConfig contains Process Collection configuration. Process Collection is run in the Process Agent.
func (*LiveProcessCollectionFeatureConfig) DeepCopy ¶ added in v1.0.0
func (in *LiveProcessCollectionFeatureConfig) DeepCopy() *LiveProcessCollectionFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveProcessCollectionFeatureConfig.
func (*LiveProcessCollectionFeatureConfig) DeepCopyInto ¶ added in v1.0.0
func (in *LiveProcessCollectionFeatureConfig) DeepCopyInto(out *LiveProcessCollectionFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalService ¶
type LocalService struct { // NameOverride defines the name of the internal traffic service to target the agent running on the local node. // +optional NameOverride *string `json:"nameOverride,omitempty"` // ForceEnableLocalService forces the creation of the internal traffic policy service to target the agent running on the local node. // This parameter only applies to Kubernetes 1.21, where the feature is in alpha and is disabled by default. // (On Kubernetes 1.22+, the feature entered beta and the internal traffic service is created by default, so this parameter is ignored.) // Default: false // +optional ForceEnableLocalService *bool `json:"forceEnableLocalService,omitempty"` }
LocalService provides the internal traffic policy service configuration. +k8s:openapi-gen=true
func (*LocalService) DeepCopy ¶
func (in *LocalService) DeepCopy() *LocalService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalService.
func (*LocalService) DeepCopyInto ¶
func (in *LocalService) DeepCopyInto(out *LocalService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogCollectionFeatureConfig ¶
type LogCollectionFeatureConfig struct { // Enabled enables Log collection. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` // ContainerCollectAll enables Log collection from all containers. // Default: false // +optional ContainerCollectAll *bool `json:"containerCollectAll,omitempty"` // ContainerCollectUsingFiles enables log collection from files in `/var/log/pods instead` of using the container runtime API. // Collecting logs from files is usually the most efficient way of collecting logs. // See also: https://docs.datadoghq.com/agent/basic_agent_usage/kubernetes/#log-collection-setup // Default: true // +optional ContainerCollectUsingFiles *bool `json:"containerCollectUsingFiles,omitempty"` // ContainerLogsPath allows log collection from the container log path. // Set to a different path if you are not using the Docker runtime. // See also: https://docs.datadoghq.com/agent/kubernetes/daemonset_setup/?tab=k8sfile#create-manifest // Default: `/var/lib/docker/containers` // +optional ContainerLogsPath *string `json:"containerLogsPath,omitempty"` // PodLogsPath allows log collection from a pod log path. // Default: `/var/log/pods` // +optional PodLogsPath *string `json:"podLogsPath,omitempty"` // ContainerSymlinksPath allows log collection to use symbolic links in this directory to validate container ID -> pod. // Default: `/var/log/containers` // +optional ContainerSymlinksPath *string `json:"containerSymlinksPath,omitempty"` // TempStoragePath (always mounted from the host) is used by the Agent to store information about processed log files. // If the Agent is restarted, it starts tailing the log files immediately. // Default: `/var/lib/datadog-agent/logs` // +optional TempStoragePath *string `json:"tempStoragePath,omitempty"` // OpenFilesLimit sets the maximum number of log files that the Datadog Agent tails. // Increasing this limit can increase resource consumption of the Agent. // See also: https://docs.datadoghq.com/agent/basic_agent_usage/kubernetes/#log-collection-setup // Default: 100 // +optional OpenFilesLimit *int32 `json:"openFilesLimit,omitempty"` }
LogCollectionFeatureConfig contains Logs configuration. Logs collection is run in the Agent.
func (*LogCollectionFeatureConfig) DeepCopy ¶
func (in *LogCollectionFeatureConfig) DeepCopy() *LogCollectionFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogCollectionFeatureConfig.
func (*LogCollectionFeatureConfig) DeepCopyInto ¶
func (in *LogCollectionFeatureConfig) DeepCopyInto(out *LogCollectionFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiCustomConfig ¶ added in v1.0.0
type MultiCustomConfig struct { // ConfigDataMap corresponds to the content of the configuration files. // They key should be the filename the contents get mounted to; for instance check.py or check.yaml. ConfigDataMap map[string]string `json:"configDataMap,omitempty"` // ConfigMap references an existing ConfigMap with the content of the configuration files. ConfigMap *commonv1.ConfigMapConfig `json:"configMap,omitempty"` }
MultiCustomConfig provides a place for custom configuration of the Agent or Cluster Agent, corresponding to /confd/*.yaml. The configuration can be provided in the ConfigDataMap field as raw data, or referenced in a single ConfigMap. Note: `ConfigDataMap` and `ConfigMap` cannot be set together. +k8s:openapi-gen=true
func (*MultiCustomConfig) DeepCopy ¶ added in v1.0.0
func (in *MultiCustomConfig) DeepCopy() *MultiCustomConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiCustomConfig.
func (*MultiCustomConfig) DeepCopyInto ¶ added in v1.0.0
func (in *MultiCustomConfig) DeepCopyInto(out *MultiCustomConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NPMFeatureConfig ¶
type NPMFeatureConfig struct { // Enabled enables Network Performance Monitoring. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` // EnableConntrack enables the system-probe agent to connect to the netlink/conntrack subsystem to add NAT information to connection data. // See also: http://conntrack-tools.netfilter.org/ // Default: false // +optional EnableConntrack *bool `json:"enableConntrack,omitempty"` // CollectDNSStats enables DNS stat collection. // Default: false // +optional CollectDNSStats *bool `json:"collectDNSStats,omitempty"` }
NPMFeatureConfig contains NPM (Network Performance Monitoring) feature configuration. Network Performance Monitoring runs in the System Probe and Process Agent.
func (*NPMFeatureConfig) DeepCopy ¶
func (in *NPMFeatureConfig) DeepCopy() *NPMFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NPMFeatureConfig.
func (*NPMFeatureConfig) DeepCopyInto ¶
func (in *NPMFeatureConfig) DeepCopyInto(out *NPMFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyConfig ¶
type NetworkPolicyConfig struct { // Create defines whether to create a NetworkPolicy for the current deployment. // +optional Create *bool `json:"create,omitempty"` // Flavor defines Which network policy to use. // +optional Flavor NetworkPolicyFlavor `json:"flavor,omitempty"` // DNSSelectorEndpoints defines the cilium selector of the DNS server entity. // +optional // +listType=atomic DNSSelectorEndpoints []metav1.LabelSelector `json:"dnsSelectorEndpoints,omitempty"` }
NetworkPolicyConfig provides Network Policy configuration for the agents. +k8s:openapi-gen=true
func (*NetworkPolicyConfig) DeepCopy ¶
func (in *NetworkPolicyConfig) DeepCopy() *NetworkPolicyConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyConfig.
func (*NetworkPolicyConfig) DeepCopyInto ¶
func (in *NetworkPolicyConfig) DeepCopyInto(out *NetworkPolicyConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyFlavor ¶
type NetworkPolicyFlavor string
NetworkPolicyFlavor specifies which flavor of Network Policy to use.
const ( // NetworkPolicyFlavorKubernetes refers to `networking.k8s.io/v1/NetworkPolicy` NetworkPolicyFlavorKubernetes NetworkPolicyFlavor = "kubernetes" // NetworkPolicyFlavorCilium refers to `cilium.io/v2/CiliumNetworkPolicy` NetworkPolicyFlavorCilium NetworkPolicyFlavor = "cilium" )
func IsNetworkPolicyEnabled ¶ added in v1.0.0
func IsNetworkPolicyEnabled(dda *DatadogAgent) (bool, NetworkPolicyFlavor)
IsNetworkPolicyEnabled returns whether a network policy should be created and which flavor to use
type OOMKillFeatureConfig ¶ added in v1.0.0
type OOMKillFeatureConfig struct { // Enables the OOMKill eBPF-based check. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` }
OOMKillFeatureConfig configures the OOM Kill monitoring feature.
func (*OOMKillFeatureConfig) DeepCopy ¶ added in v1.0.0
func (in *OOMKillFeatureConfig) DeepCopy() *OOMKillFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OOMKillFeatureConfig.
func (*OOMKillFeatureConfig) DeepCopyInto ¶ added in v1.0.0
func (in *OOMKillFeatureConfig) DeepCopyInto(out *OOMKillFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OTLPFeatureConfig ¶ added in v1.0.0
type OTLPFeatureConfig struct { // Receiver contains configuration for the OTLP ingest receiver. Receiver OTLPReceiverConfig `json:"receiver,omitempty"` }
OTLPFeatureConfig contains configuration for OTLP ingest. +k8s:openapi-gen=true
func (*OTLPFeatureConfig) DeepCopy ¶ added in v1.0.0
func (in *OTLPFeatureConfig) DeepCopy() *OTLPFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OTLPFeatureConfig.
func (*OTLPFeatureConfig) DeepCopyInto ¶ added in v1.0.0
func (in *OTLPFeatureConfig) DeepCopyInto(out *OTLPFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OTLPGRPCConfig ¶ added in v1.0.0
type OTLPGRPCConfig struct { // Enable the OTLP/gRPC endpoint. // +optional Enabled *bool `json:"enabled,omitempty"` // Endpoint for OTLP/gRPC. // gRPC supports several naming schemes: https://github.com/grpc/grpc/blob/master/doc/naming.md // The Datadog Operator supports only 'host:port' (usually `0.0.0.0:port`). // Default: `0.0.0.0:4317`. // +optional Endpoint *string `json:"endpoint,omitempty"` }
OTLPGRPCConfig contains configuration for the OTLP ingest OTLP/gRPC receiver. +k8s:openapi-gen=true
func (*OTLPGRPCConfig) DeepCopy ¶ added in v1.0.0
func (in *OTLPGRPCConfig) DeepCopy() *OTLPGRPCConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OTLPGRPCConfig.
func (*OTLPGRPCConfig) DeepCopyInto ¶ added in v1.0.0
func (in *OTLPGRPCConfig) DeepCopyInto(out *OTLPGRPCConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OTLPHTTPConfig ¶ added in v1.0.0
type OTLPHTTPConfig struct { // Enable the OTLP/HTTP endpoint. // +optional Enabled *bool `json:"enabled,omitempty"` // Endpoint for OTLP/HTTP. // Default: '0.0.0.0:4318'. // +optional Endpoint *string `json:"endpoint,omitempty"` }
OTLPHTTPConfig contains configuration for the OTLP ingest OTLP/HTTP receiver. +k8s:openapi-gen=true
func (*OTLPHTTPConfig) DeepCopy ¶ added in v1.0.0
func (in *OTLPHTTPConfig) DeepCopy() *OTLPHTTPConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OTLPHTTPConfig.
func (*OTLPHTTPConfig) DeepCopyInto ¶ added in v1.0.0
func (in *OTLPHTTPConfig) DeepCopyInto(out *OTLPHTTPConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OTLPProtocolsConfig ¶ added in v1.0.0
type OTLPProtocolsConfig struct { // GRPC contains configuration for the OTLP ingest OTLP/gRPC receiver. // +optional GRPC *OTLPGRPCConfig `json:"grpc,omitempty"` // HTTP contains configuration for the OTLP ingest OTLP/HTTP receiver. // +optional HTTP *OTLPHTTPConfig `json:"http,omitempty"` }
OTLPProtocolsConfig contains configuration for the OTLP ingest receiver protocols. +k8s:openapi-gen=true
func (*OTLPProtocolsConfig) DeepCopy ¶ added in v1.0.0
func (in *OTLPProtocolsConfig) DeepCopy() *OTLPProtocolsConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OTLPProtocolsConfig.
func (*OTLPProtocolsConfig) DeepCopyInto ¶ added in v1.0.0
func (in *OTLPProtocolsConfig) DeepCopyInto(out *OTLPProtocolsConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OTLPReceiverConfig ¶ added in v1.0.0
type OTLPReceiverConfig struct { // Protocols contains configuration for the OTLP ingest receiver protocols. Protocols OTLPProtocolsConfig `json:"protocols,omitempty"` }
OTLPReceiverConfig contains configuration for the OTLP ingest receiver. +k8s:openapi-gen=true
func (*OTLPReceiverConfig) DeepCopy ¶ added in v1.0.0
func (in *OTLPReceiverConfig) DeepCopy() *OTLPReceiverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OTLPReceiverConfig.
func (*OTLPReceiverConfig) DeepCopyInto ¶ added in v1.0.0
func (in *OTLPReceiverConfig) DeepCopyInto(out *OTLPReceiverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrchestratorExplorerFeatureConfig ¶
type OrchestratorExplorerFeatureConfig struct { // Enabled enables the Orchestrator Explorer. // Default: true // +optional Enabled *bool `json:"enabled,omitempty"` // Conf overrides the configuration for the default Orchestrator Explorer check. // This must point to a ConfigMap containing a valid cluster check configuration. // +optional Conf *CustomConfig `json:"conf,omitempty"` // ScrubContainers enables scrubbing of sensitive container data (passwords, tokens, etc. ). // Default: true // +optional ScrubContainers *bool `json:"scrubContainers,omitempty"` // Additional tags to associate with the collected data in the form of `a b c`. // This is a Cluster Agent option distinct from DD_TAGS that is used in the Orchestrator Explorer. // +optional // +listType=set ExtraTags []string `json:"extraTags,omitempty"` // Override the API endpoint for the Orchestrator Explorer. // URL Default: "https://orchestrator.datadoghq.com". // +optional DDUrl *string `json:"ddUrl,omitempty"` }
OrchestratorExplorerFeatureConfig contains the Orchestrator Explorer check feature configuration. The Orchestrator Explorer check runs in the Process and Cluster Agents (or Cluster Check Runners). See also: https://docs.datadoghq.com/infrastructure/livecontainers/#kubernetes-resources +k8s:openapi-gen=true
func (*OrchestratorExplorerFeatureConfig) DeepCopy ¶
func (in *OrchestratorExplorerFeatureConfig) DeepCopy() *OrchestratorExplorerFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrchestratorExplorerFeatureConfig.
func (*OrchestratorExplorerFeatureConfig) DeepCopyInto ¶
func (in *OrchestratorExplorerFeatureConfig) DeepCopyInto(out *OrchestratorExplorerFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusScrapeFeatureConfig ¶
type PrometheusScrapeFeatureConfig struct { // Enable autodiscovery of pods and services exposing Prometheus metrics. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` // EnableServiceEndpoints enables generating dedicated checks for service endpoints. // Default: false // +optional EnableServiceEndpoints *bool `json:"enableServiceEndpoints,omitempty"` // AdditionalConfigs allows adding advanced Prometheus check configurations with custom discovery rules. // +optional AdditionalConfigs *string `json:"additionalConfigs,omitempty"` // Version specifies the version of the OpenMetrics check. // Default: 2 // +optional Version *int `json:"version,omitempty"` }
PrometheusScrapeFeatureConfig allows configuration of the Prometheus Autodiscovery feature. +k8s:openapi-gen=true
func (*PrometheusScrapeFeatureConfig) DeepCopy ¶
func (in *PrometheusScrapeFeatureConfig) DeepCopy() *PrometheusScrapeFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusScrapeFeatureConfig.
func (*PrometheusScrapeFeatureConfig) DeepCopyInto ¶
func (in *PrometheusScrapeFeatureConfig) DeepCopyInto(out *PrometheusScrapeFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SeccompConfig ¶ added in v1.0.0
type SeccompConfig struct { // CustomRootPath specifies a custom Seccomp Profile root location. // +optional CustomRootPath *string `json:"customRootPath,omitempty"` // CustomProfile specifies a ConfigMap containing a custom Seccomp Profile. // ConfigMap data must either have the key `system-probe-seccomp.json` or CustomProfile.Items // must include a corev1.KeytoPath that maps the key to the path `system-probe-seccomp.json`. // +optional CustomProfile *CustomConfig `json:"customProfile,omitempty"` }
SeccompConfig is used to override default values for Seccomp Profile configurations.
func (*SeccompConfig) DeepCopy ¶ added in v1.0.0
func (in *SeccompConfig) DeepCopy() *SeccompConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompConfig.
func (*SeccompConfig) DeepCopyInto ¶ added in v1.0.0
func (in *SeccompConfig) DeepCopyInto(out *SeccompConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretBackendConfig ¶ added in v1.0.0
type SecretBackendConfig struct { // Command defines the secret backend command to use Command *string `json:"command,omitempty"` // Args defines the list of arguments to pass to the command Args []string `json:"args,omitempty"` }
SecretBackendConfig provides configuration for the secret backend.
func (*SecretBackendConfig) DeepCopy ¶ added in v1.0.0
func (in *SecretBackendConfig) DeepCopy() *SecretBackendConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendConfig.
func (*SecretBackendConfig) DeepCopyInto ¶ added in v1.0.0
func (in *SecretBackendConfig) DeepCopyInto(out *SecretBackendConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityContextConstraintsConfig ¶ added in v1.0.0
type SecurityContextConstraintsConfig struct { // Create defines whether to create a SecurityContextConstraints for the current component. // If CustomConfiguration is not set, setting Create to `true` will create a default SCC. // +optional Create *bool `json:"create,omitempty"` // CustomConfiguration defines a custom SCC configuration to use if Create is `true`. // +optional CustomConfiguration *securityv1.SecurityContextConstraints `json:"customConfiguration,omitempty"` }
SecurityContextConstraintsConfig provides SecurityContextConstraints configurations for the components. +k8s:openapi-gen=true
func (*SecurityContextConstraintsConfig) DeepCopy ¶ added in v1.0.0
func (in *SecurityContextConstraintsConfig) DeepCopy() *SecurityContextConstraintsConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContextConstraintsConfig.
func (*SecurityContextConstraintsConfig) DeepCopyInto ¶ added in v1.0.0
func (in *SecurityContextConstraintsConfig) DeepCopyInto(out *SecurityContextConstraintsConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TCPQueueLengthFeatureConfig ¶ added in v1.0.0
type TCPQueueLengthFeatureConfig struct { // Enables the TCP queue length eBPF-based check. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` }
TCPQueueLengthFeatureConfig configures the TCP queue length monitoring feature.
func (*TCPQueueLengthFeatureConfig) DeepCopy ¶ added in v1.0.0
func (in *TCPQueueLengthFeatureConfig) DeepCopy() *TCPQueueLengthFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPQueueLengthFeatureConfig.
func (*TCPQueueLengthFeatureConfig) DeepCopyInto ¶ added in v1.0.0
func (in *TCPQueueLengthFeatureConfig) DeepCopyInto(out *TCPQueueLengthFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type USMFeatureConfig ¶
type USMFeatureConfig struct { // Enabled enables Universal Service Monitoring. // Default: false // +optional Enabled *bool `json:"enabled,omitempty"` }
USMFeatureConfig contains USM (Universal Service Monitoring) feature configuration. Universal Service Monitoring runs in the Process Agent and System Probe.
func (*USMFeatureConfig) DeepCopy ¶
func (in *USMFeatureConfig) DeepCopy() *USMFeatureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new USMFeatureConfig.
func (*USMFeatureConfig) DeepCopyInto ¶
func (in *USMFeatureConfig) DeepCopyInto(out *USMFeatureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UnixDomainSocketConfig ¶
type UnixDomainSocketConfig struct { // Enabled enables Unix Domain Socket. // Default: true // +optional Enabled *bool `json:"enabled,omitempty"` // Path defines the socket path used when enabled. // +optional Path *string `json:"path,omitempty"` }
UnixDomainSocketConfig contains the Unix Domain Socket configuration. +k8s:openapi-gen=true
func (*UnixDomainSocketConfig) DeepCopy ¶
func (in *UnixDomainSocketConfig) DeepCopy() *UnixDomainSocketConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnixDomainSocketConfig.
func (*UnixDomainSocketConfig) DeepCopyInto ¶
func (in *UnixDomainSocketConfig) DeepCopyInto(out *UnixDomainSocketConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.