Skip to content

Commit 193ee4a

Browse files
[feature][autoscaling] add min agent requirement (#2404) (#2409)
(cherry picked from commit 7ed6f60) Co-authored-by: Celene <celene@datadoghq.com>
1 parent 4f9c474 commit 193ee4a

9 files changed

+13
-7
lines changed

api/datadoghq/v2alpha1/datadogagent_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,6 +1247,7 @@ type WorkloadAutoscalingFeatureConfig struct {
12471247
// ClusterAutoscalingFeatureConfig contains the configuration for the cluster autoscaling product.
12481248
type ClusterAutoscalingFeatureConfig struct {
12491249
// Enabled enables the cluster autoscaling product.
1250+
// (Requires Cluster Agent 7.74.0+)
12501251
// Default: false
12511252
// +optional
12521253
Enabled *bool `json:"enabled,omitempty"`

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,7 @@ spec:
10471047
enabled:
10481048
description: |-
10491049
Enabled enables the cluster autoscaling product.
1050+
(Requires Cluster Agent 7.74.0+)
10501051
Default: false
10511052
type: boolean
10521053
type: object
@@ -8832,6 +8833,7 @@ spec:
88328833
enabled:
88338834
description: |-
88348835
Enabled enables the cluster autoscaling product.
8836+
(Requires Cluster Agent 7.74.0+)
88358837
Default: false
88368838
type: boolean
88378839
type: object

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@
10371037
"description": "Cluster contains the configuration for the cluster autoscaling product.",
10381038
"properties": {
10391039
"enabled": {
1040-
"description": "Enabled enables the cluster autoscaling product.\nDefault: false",
1040+
"description": "Enabled enables the cluster autoscaling product.\n(Requires Cluster Agent 7.74.0+)\nDefault: false",
10411041
"type": "boolean"
10421042
}
10431043
},
@@ -8649,7 +8649,7 @@
86498649
"description": "Cluster contains the configuration for the cluster autoscaling product.",
86508650
"properties": {
86518651
"enabled": {
8652-
"description": "Enabled enables the cluster autoscaling product.\nDefault: false",
8652+
"description": "Enabled enables the cluster autoscaling product.\n(Requires Cluster Agent 7.74.0+)\nDefault: false",
86538653
"type": "boolean"
86548654
}
86558655
},

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,7 @@ spec:
10471047
enabled:
10481048
description: |-
10491049
Enabled enables the cluster autoscaling product.
1050+
(Requires Cluster Agent 7.74.0+)
10501051
Default: false
10511052
type: boolean
10521053
type: object

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@
10411041
"description": "Cluster contains the configuration for the cluster autoscaling product.",
10421042
"properties": {
10431043
"enabled": {
1044-
"description": "Enabled enables the cluster autoscaling product.\nDefault: false",
1044+
"description": "Enabled enables the cluster autoscaling product.\n(Requires Cluster Agent 7.74.0+)\nDefault: false",
10451045
"type": "boolean"
10461046
}
10471047
},

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,7 @@ spec:
10471047
enabled:
10481048
description: |-
10491049
Enabled enables the cluster autoscaling product.
1050+
(Requires Cluster Agent 7.74.0+)
10501051
Default: false
10511052
type: boolean
10521053
type: object
@@ -8882,6 +8883,7 @@ spec:
88828883
enabled:
88838884
description: |-
88848885
Enabled enables the cluster autoscaling product.
8886+
(Requires Cluster Agent 7.74.0+)
88858887
Default: false
88868888
type: boolean
88878889
type: object

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@
10371037
"description": "Cluster contains the configuration for the cluster autoscaling product.",
10381038
"properties": {
10391039
"enabled": {
1040-
"description": "Enabled enables the cluster autoscaling product.\nDefault: false",
1040+
"description": "Enabled enables the cluster autoscaling product.\n(Requires Cluster Agent 7.74.0+)\nDefault: false",
10411041
"type": "boolean"
10421042
}
10431043
},
@@ -8714,7 +8714,7 @@
87148714
"description": "Cluster contains the configuration for the cluster autoscaling product.",
87158715
"properties": {
87168716
"enabled": {
8717-
"description": "Enabled enables the cluster autoscaling product.\nDefault: false",
8717+
"description": "Enabled enables the cluster autoscaling product.\n(Requires Cluster Agent 7.74.0+)\nDefault: false",
87188718
"type": "boolean"
87198719
}
87208720
},

docs/configuration.v2alpha1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ spec:
7272
| features.asm.iast.enabled | Enables Interactive Application Security Testing (IAST). Default: false |
7373
| features.asm.sca.enabled | Enables Software Composition Analysis (SCA). Default: false |
7474
| features.asm.threats.enabled | Enables ASM App & API Protection. Default: false |
75-
| features.autoscaling.cluster.enabled | Enables the cluster autoscaling product. Default: false |
75+
| features.autoscaling.cluster.enabled | Enables the cluster autoscaling product. (Requires Cluster Agent 7.74.0+) Default: false |
7676
| features.autoscaling.workload.enabled | Enables the workload autoscaling product. Default: false |
7777
| features.clusterChecks.enabled | Enables Cluster Checks scheduling in the Cluster Agent. Default: true |
7878
| features.clusterChecks.useClusterChecksRunners | Enabled enables Cluster Checks Runners to run all Cluster Checks. Default: false |

docs/configuration_public.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ spec:
106106
: Enables ASM App & API Protection. Default: false
107107

108108
`features.autoscaling.cluster.enabled`
109-
: Enables the cluster autoscaling product. Default: false
109+
: Enables the cluster autoscaling product. (Requires Cluster Agent 7.74.0+) Default: false
110110

111111
`features.autoscaling.workload.enabled`
112112
: Enables the workload autoscaling product. Default: false

0 commit comments

Comments
 (0)