@@ -205,6 +205,222 @@ spec:
205205 imageTag :
206206 description : Image for thinRuntime fuse
207207 type : string
208+ lifecycle :
209+ description : Lifecycle describes actions that the management system
210+ should take in response to container lifecycle events.
211+ properties :
212+ postStart :
213+ description : |-
214+ PostStart is called immediately after a container is created. If the handler fails,
215+ the container is terminated and restarted according to its restart policy.
216+ Other management of the container blocks until the hook completes.
217+ More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
218+ properties :
219+ exec :
220+ description : Exec specifies the action to take.
221+ properties :
222+ command :
223+ description : |-
224+ Command is the command line to execute inside the container, the working directory for the
225+ command is root ('/') in the container's filesystem. The command is simply exec'd, it is
226+ not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
227+ a shell, you need to explicitly call out to that shell.
228+ Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
229+ items :
230+ type : string
231+ type : array
232+ type : object
233+ httpGet :
234+ description : HTTPGet specifies the http request to perform.
235+ properties :
236+ host :
237+ description : |-
238+ Host name to connect to, defaults to the pod IP. You probably want to set
239+ "Host" in httpHeaders instead.
240+ type : string
241+ httpHeaders :
242+ description : Custom headers to set in the request.
243+ HTTP allows repeated headers.
244+ items :
245+ description : HTTPHeader describes a custom header
246+ to be used in HTTP probes
247+ properties :
248+ name :
249+ description : |-
250+ The header field name.
251+ This will be canonicalized upon output, so case-variant names will be understood as the same header.
252+ type : string
253+ value :
254+ description : The header field value
255+ type : string
256+ required :
257+ - name
258+ - value
259+ type : object
260+ type : array
261+ path :
262+ description : Path to access on the HTTP server.
263+ type : string
264+ port :
265+ anyOf :
266+ - type : integer
267+ - type : string
268+ description : |-
269+ Name or number of the port to access on the container.
270+ Number must be in the range 1 to 65535.
271+ Name must be an IANA_SVC_NAME.
272+ x-kubernetes-int-or-string : true
273+ scheme :
274+ description : |-
275+ Scheme to use for connecting to the host.
276+ Defaults to HTTP.
277+ type : string
278+ required :
279+ - port
280+ type : object
281+ sleep :
282+ description : Sleep represents the duration that the container
283+ should sleep before being terminated.
284+ properties :
285+ seconds :
286+ description : Seconds is the number of seconds to sleep.
287+ format : int64
288+ type : integer
289+ required :
290+ - seconds
291+ type : object
292+ tcpSocket :
293+ description : |-
294+ Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
295+ for the backward compatibility. There are no validation of this field and
296+ lifecycle hooks will fail in runtime when tcp handler is specified.
297+ properties :
298+ host :
299+ description : ' Optional: Host name to connect to, defaults
300+ to the pod IP.'
301+ type : string
302+ port :
303+ anyOf :
304+ - type : integer
305+ - type : string
306+ description : |-
307+ Number or name of the port to access on the container.
308+ Number must be in the range 1 to 65535.
309+ Name must be an IANA_SVC_NAME.
310+ x-kubernetes-int-or-string : true
311+ required :
312+ - port
313+ type : object
314+ type : object
315+ preStop :
316+ description : |-
317+ PreStop is called immediately before a container is terminated due to an
318+ API request or management event such as liveness/startup probe failure,
319+ preemption, resource contention, etc. The handler is not called if the
320+ container crashes or exits. The Pod's termination grace period countdown begins before the
321+ PreStop hook is executed. Regardless of the outcome of the handler, the
322+ container will eventually terminate within the Pod's termination grace
323+ period (unless delayed by finalizers). Other management of the container blocks until the hook completes
324+ or until the termination grace period is reached.
325+ More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
326+ properties :
327+ exec :
328+ description : Exec specifies the action to take.
329+ properties :
330+ command :
331+ description : |-
332+ Command is the command line to execute inside the container, the working directory for the
333+ command is root ('/') in the container's filesystem. The command is simply exec'd, it is
334+ not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
335+ a shell, you need to explicitly call out to that shell.
336+ Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
337+ items :
338+ type : string
339+ type : array
340+ type : object
341+ httpGet :
342+ description : HTTPGet specifies the http request to perform.
343+ properties :
344+ host :
345+ description : |-
346+ Host name to connect to, defaults to the pod IP. You probably want to set
347+ "Host" in httpHeaders instead.
348+ type : string
349+ httpHeaders :
350+ description : Custom headers to set in the request.
351+ HTTP allows repeated headers.
352+ items :
353+ description : HTTPHeader describes a custom header
354+ to be used in HTTP probes
355+ properties :
356+ name :
357+ description : |-
358+ The header field name.
359+ This will be canonicalized upon output, so case-variant names will be understood as the same header.
360+ type : string
361+ value :
362+ description : The header field value
363+ type : string
364+ required :
365+ - name
366+ - value
367+ type : object
368+ type : array
369+ path :
370+ description : Path to access on the HTTP server.
371+ type : string
372+ port :
373+ anyOf :
374+ - type : integer
375+ - type : string
376+ description : |-
377+ Name or number of the port to access on the container.
378+ Number must be in the range 1 to 65535.
379+ Name must be an IANA_SVC_NAME.
380+ x-kubernetes-int-or-string : true
381+ scheme :
382+ description : |-
383+ Scheme to use for connecting to the host.
384+ Defaults to HTTP.
385+ type : string
386+ required :
387+ - port
388+ type : object
389+ sleep :
390+ description : Sleep represents the duration that the container
391+ should sleep before being terminated.
392+ properties :
393+ seconds :
394+ description : Seconds is the number of seconds to sleep.
395+ format : int64
396+ type : integer
397+ required :
398+ - seconds
399+ type : object
400+ tcpSocket :
401+ description : |-
402+ Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
403+ for the backward compatibility. There are no validation of this field and
404+ lifecycle hooks will fail in runtime when tcp handler is specified.
405+ properties :
406+ host :
407+ description : ' Optional: Host name to connect to, defaults
408+ to the pod IP.'
409+ type : string
410+ port :
411+ anyOf :
412+ - type : integer
413+ - type : string
414+ description : |-
415+ Number or name of the port to access on the container.
416+ Number must be in the range 1 to 65535.
417+ Name must be an IANA_SVC_NAME.
418+ x-kubernetes-int-or-string : true
419+ required :
420+ - port
421+ type : object
422+ type : object
423+ type : object
208424 livenessProbe :
209425 description : livenessProbe of thin fuse pod
210426 properties :
0 commit comments