|
3921 | 3921 | },
|
3922 | 3922 | "type": "object"
|
3923 | 3923 | },
|
| 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 | + }, |
3924 | 4080 | "volumeMounts": {
|
3925 | 4081 | "description": "Specify additional volume mounts in the container.",
|
3926 | 4082 | "items": {
|
|
0 commit comments