Skip to content

Commit 885e652

Browse files
committed
update crd and docs
1 parent 390fe93 commit 885e652

File tree

3 files changed

+174
-16
lines changed

3 files changed

+174
-16
lines changed

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

+10-8
Original file line numberDiff line numberDiff line change
@@ -3881,11 +3881,12 @@ spec:
38813881
items:
38823882
type: string
38833883
type: array
3884+
x-kubernetes-list-type: atomic
38843885
type: object
38853886
failureThreshold:
38863887
description: |-
38873888
Minimum consecutive failures for the probe to be considered failed after having succeeded.
3888-
Defaults to 6. Minimum value is 1.
3889+
Defaults to 3. Minimum value is 1.
38893890
format: int32
38903891
type: integer
38913892
grpc:
@@ -3896,11 +3897,11 @@ spec:
38963897
format: int32
38973898
type: integer
38983899
service:
3900+
default: ""
38993901
description: |-
39003902
Service is the name of the service to place in the gRPC HealthCheckRequest
39013903
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
39023904

3903-
39043905
If this is not specified, the default behavior is defined by gRPC.
39053906
type: string
39063907
required:
@@ -3932,6 +3933,7 @@ spec:
39323933
- value
39333934
type: object
39343935
type: array
3936+
x-kubernetes-list-type: atomic
39353937
path:
39363938
description: Path to access on the HTTP server.
39373939
type: string
@@ -3961,7 +3963,7 @@ spec:
39613963
periodSeconds:
39623964
description: |-
39633965
How often (in seconds) to perform the probe.
3964-
Default to 15 seconds. Minimum value is 1.
3966+
Default to 10 seconds. Minimum value is 1.
39653967
format: int32
39663968
type: integer
39673969
successThreshold:
@@ -4005,7 +4007,7 @@ spec:
40054007
timeoutSeconds:
40064008
description: |-
40074009
Number of seconds after which the probe times out.
4008-
Defaults to 5 second. Minimum value is 1.
4010+
Defaults to 1 second. Minimum value is 1.
40094011
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
40104012
format: int32
40114013
type: integer
@@ -5148,7 +5150,7 @@ spec:
51485150
description: DownwardAPIVolumeFile represents information to create the file containing the pod field
51495151
properties:
51505152
fieldRef:
5151-
description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
5153+
description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
51525154
properties:
51535155
apiVersion:
51545156
description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
@@ -5171,7 +5173,7 @@ spec:
51715173
format: int32
51725174
type: integer
51735175
path:
5174-
description: 'Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..''
5176+
description: 'Required: Path is the relative path name of the file to be created. Must not be absolute or contain the ''..'' path. Must be utf-8 encoded. The first item of the relative path must not start with ''..'''
51755177
type: string
51765178
resourceFieldRef:
51775179
description: |-
@@ -6053,7 +6055,7 @@ spec:
60536055
description: DownwardAPIVolumeFile represents information to create the file containing the pod field
60546056
properties:
60556057
fieldRef:
6056-
description: 'Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.'
6058+
description: 'Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.'
60576059
properties:
60586060
apiVersion:
60596061
description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
@@ -6076,7 +6078,7 @@ spec:
60766078
format: int32
60776079
type: integer
60786080
path:
6079-
description: 'Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..''
6081+
description: 'Required: Path is the relative path name of the file to be created. Must not be absolute or contain the ''..'' path. Must be utf-8 encoded. The first item of the relative path must not start with ''..'''
60806082
type: string
60816083
resourceFieldRef:
60826084
description: |-

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

+156
Original file line numberDiff line numberDiff line change
@@ -3921,6 +3921,162 @@
39213921
},
39223922
"type": "object"
39233923
},
3924+
"startupProbe": {
3925+
"additionalProperties": false,
3926+
"description": "Configure the Startup Probe of the container",
3927+
"properties": {
3928+
"exec": {
3929+
"additionalProperties": false,
3930+
"description": "Exec specifies the action to take.",
3931+
"properties": {
3932+
"command": {
3933+
"description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.",
3934+
"items": {
3935+
"type": "string"
3936+
},
3937+
"type": "array",
3938+
"x-kubernetes-list-type": "atomic"
3939+
}
3940+
},
3941+
"type": "object"
3942+
},
3943+
"failureThreshold": {
3944+
"description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.",
3945+
"format": "int32",
3946+
"type": "integer"
3947+
},
3948+
"grpc": {
3949+
"additionalProperties": false,
3950+
"description": "GRPC specifies an action involving a GRPC port.",
3951+
"properties": {
3952+
"port": {
3953+
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
3954+
"format": "int32",
3955+
"type": "integer"
3956+
},
3957+
"service": {
3958+
"default": "",
3959+
"description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.",
3960+
"type": "string"
3961+
}
3962+
},
3963+
"required": [
3964+
"port"
3965+
],
3966+
"type": "object"
3967+
},
3968+
"httpGet": {
3969+
"additionalProperties": false,
3970+
"description": "HTTPGet specifies the http request to perform.",
3971+
"properties": {
3972+
"host": {
3973+
"description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.",
3974+
"type": "string"
3975+
},
3976+
"httpHeaders": {
3977+
"description": "Custom headers to set in the request. HTTP allows repeated headers.",
3978+
"items": {
3979+
"additionalProperties": false,
3980+
"description": "HTTPHeader describes a custom header to be used in HTTP probes",
3981+
"properties": {
3982+
"name": {
3983+
"description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.",
3984+
"type": "string"
3985+
},
3986+
"value": {
3987+
"description": "The header field value",
3988+
"type": "string"
3989+
}
3990+
},
3991+
"required": [
3992+
"name",
3993+
"value"
3994+
],
3995+
"type": "object"
3996+
},
3997+
"type": "array",
3998+
"x-kubernetes-list-type": "atomic"
3999+
},
4000+
"path": {
4001+
"description": "Path to access on the HTTP server.",
4002+
"type": "string"
4003+
},
4004+
"port": {
4005+
"anyOf": [
4006+
{
4007+
"type": "integer"
4008+
},
4009+
{
4010+
"type": "string"
4011+
}
4012+
],
4013+
"description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.",
4014+
"x-kubernetes-int-or-string": true
4015+
},
4016+
"scheme": {
4017+
"description": "Scheme to use for connecting to the host.\nDefaults to HTTP.",
4018+
"type": "string"
4019+
}
4020+
},
4021+
"required": [
4022+
"port"
4023+
],
4024+
"type": "object"
4025+
},
4026+
"initialDelaySeconds": {
4027+
"description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
4028+
"format": "int32",
4029+
"type": "integer"
4030+
},
4031+
"periodSeconds": {
4032+
"description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.",
4033+
"format": "int32",
4034+
"type": "integer"
4035+
},
4036+
"successThreshold": {
4037+
"description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.",
4038+
"format": "int32",
4039+
"type": "integer"
4040+
},
4041+
"tcpSocket": {
4042+
"additionalProperties": false,
4043+
"description": "TCPSocket specifies an action involving a TCP port.",
4044+
"properties": {
4045+
"host": {
4046+
"description": "Optional: Host name to connect to, defaults to the pod IP.",
4047+
"type": "string"
4048+
},
4049+
"port": {
4050+
"anyOf": [
4051+
{
4052+
"type": "integer"
4053+
},
4054+
{
4055+
"type": "string"
4056+
}
4057+
],
4058+
"description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.",
4059+
"x-kubernetes-int-or-string": true
4060+
}
4061+
},
4062+
"required": [
4063+
"port"
4064+
],
4065+
"type": "object"
4066+
},
4067+
"terminationGracePeriodSeconds": {
4068+
"description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.",
4069+
"format": "int64",
4070+
"type": "integer"
4071+
},
4072+
"timeoutSeconds": {
4073+
"description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
4074+
"format": "int32",
4075+
"type": "integer"
4076+
}
4077+
},
4078+
"type": "object"
4079+
},
39244080
"volumeMounts": {
39254081
"description": "Specify additional volume mounts in the container.",
39264082
"items": {

0 commit comments

Comments
 (0)