Skip to content

Commit d7d0987

Browse files
committed
Add support of vsock for intra agents communications
1 parent 71bf50d commit d7d0987

22 files changed

+100
-19
lines changed

api/datadoghq/v2alpha1/datadogagent_types.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1714,6 +1714,11 @@ type GlobalConfig struct {
17141714
// Configure the secret backend feature https://docs.datadoghq.com/agent/guide/secrets-management
17151715
// See also: https://github.com/DataDog/datadog-operator/blob/main/docs/secret_management.md
17161716
SecretBackend *SecretBackendConfig `json:"secretBackend,omitempty"`
1717+
1718+
// UseVSock allows the use of VSock communication between the Agent and containerized workloads.
1719+
// Default: 'false'
1720+
// +optional
1721+
UseVSock *bool `json:"useVSock,omitempty"`
17171722
}
17181723

17191724
// DatadogCredentials is a generic structure that holds credentials to access Datadog.

api/datadoghq/v2alpha1/zz_generated.deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/v1/datadoghq.com_datadogagentinternals.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3148,6 +3148,11 @@ spec:
31483148
UseFIPSAgent enables the FIPS flavor of the Agent. If 'true', the FIPS proxy will always be disabled.
31493149
Default: 'false'
31503150
type: boolean
3151+
useVSock:
3152+
description: |-
3153+
UseVSock allows the use of VSock communication between the Agent and containerized workloads.
3154+
Default: 'false'
3155+
type: boolean
31513156
type: object
31523157
override:
31533158
additionalProperties:

config/crd/bases/v1/datadoghq.com_datadogagentinternals_v1alpha1.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3332,6 +3332,10 @@
33323332
"useFIPSAgent": {
33333333
"description": "UseFIPSAgent enables the FIPS flavor of the Agent. If 'true', the FIPS proxy will always be disabled.\nDefault: 'false'",
33343334
"type": "boolean"
3335+
},
3336+
"useVSock": {
3337+
"description": "UseVSock allows the use of VSock communication between the Agent and containerized workloads.\nDefault: 'false'",
3338+
"type": "boolean"
33353339
}
33363340
},
33373341
"type": "object"

config/crd/bases/v1/datadoghq.com_datadogagentprofiles.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3148,6 +3148,11 @@ spec:
31483148
UseFIPSAgent enables the FIPS flavor of the Agent. If 'true', the FIPS proxy will always be disabled.
31493149
Default: 'false'
31503150
type: boolean
3151+
useVSock:
3152+
description: |-
3153+
UseVSock allows the use of VSock communication between the Agent and containerized workloads.
3154+
Default: 'false'
3155+
type: boolean
31513156
type: object
31523157
override:
31533158
additionalProperties:

config/crd/bases/v1/datadoghq.com_datadogagentprofiles_v1alpha1.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3336,6 +3336,10 @@
33363336
"useFIPSAgent": {
33373337
"description": "UseFIPSAgent enables the FIPS flavor of the Agent. If 'true', the FIPS proxy will always be disabled.\nDefault: 'false'",
33383338
"type": "boolean"
3339+
},
3340+
"useVSock": {
3341+
"description": "UseVSock allows the use of VSock communication between the Agent and containerized workloads.\nDefault: 'false'",
3342+
"type": "boolean"
33393343
}
33403344
},
33413345
"type": "object"

config/crd/bases/v1/datadoghq.com_datadogagents.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3148,6 +3148,11 @@ spec:
31483148
UseFIPSAgent enables the FIPS flavor of the Agent. If 'true', the FIPS proxy will always be disabled.
31493149
Default: 'false'
31503150
type: boolean
3151+
useVSock:
3152+
description: |-
3153+
UseVSock allows the use of VSock communication between the Agent and containerized workloads.
3154+
Default: 'false'
3155+
type: boolean
31513156
type: object
31523157
override:
31533158
additionalProperties:

config/crd/bases/v1/datadoghq.com_datadogagents_v2alpha1.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3332,6 +3332,10 @@
33323332
"useFIPSAgent": {
33333333
"description": "UseFIPSAgent enables the FIPS flavor of the Agent. If 'true', the FIPS proxy will always be disabled.\nDefault: 'false'",
33343334
"type": "boolean"
3335+
},
3336+
"useVSock": {
3337+
"description": "UseVSock allows the use of VSock communication between the Agent and containerized workloads.\nDefault: 'false'",
3338+
"type": "boolean"
33353339
}
33363340
},
33373341
"type": "object"

docs/configuration.v2alpha1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ spec:
271271
| global.site | Is the Datadog intake site Agent data are sent to. Set to 'datadoghq.com' to send data to the US1 site (default). Set to 'datadoghq.eu' to send data to the EU site. Set to 'us3.datadoghq.com' to send data to the US3 site. Set to 'us5.datadoghq.com' to send data to the US5 site. Set to 'ddog-gov.com' to send data to the US1-FED site. Set to 'ap1.datadoghq.com' to send data to the AP1 site. Default: 'datadoghq.com' |
272272
| global.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/ |
273273
| global.useFIPSAgent | UseFIPSAgent enables the FIPS flavor of the Agent. If 'true', the FIPS proxy will always be disabled. Default: 'false' |
274+
| global.useVSock | UseVSock allows the use of VSock communication between the Agent and containerized workloads. Default: 'false' |
274275
| override | The default configurations of the agents |
275276
<br>
276277

docs/configuration_public.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,9 @@ spec:
576576
`global.useFIPSAgent`
577577
: UseFIPSAgent enables the FIPS flavor of the Agent. If 'true', the FIPS proxy will always be disabled. Default: 'false'
578578

579+
`global.useVSock`
580+
: UseVSock allows the use of VSock communication between the Agent and containerized workloads. Default: 'false'
581+
579582
`override`
580583
: The default configurations of the agents
581584

0 commit comments

Comments
 (0)