You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
499
+
- name: 'livenessProbe'
500
+
type: NestedObject
501
+
description: |-
502
+
Periodic probe of container liveness. Container will be restarted if the probe fails.
503
+
properties:
504
+
- name: 'initialDelaySeconds'
505
+
default_value: 0
506
+
description: |-
507
+
Optional. Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
508
+
type: Integer
509
+
- name: 'timeoutSeconds'
510
+
default_value: 1
511
+
description: |-
512
+
Optional. Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
513
+
type: Integer
514
+
- name: 'periodSeconds'
515
+
default_value: 10
516
+
description: |-
517
+
Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
518
+
type: Integer
519
+
- name: 'failureThreshold'
520
+
default_value: 3
521
+
description: |-
522
+
Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
523
+
type: Integer
524
+
- name: 'httpGet'
525
+
description: |-
526
+
Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
527
+
type: NestedObject
528
+
properties:
529
+
- name: 'path'
530
+
description: |-
531
+
Optional. Path to access on the HTTP server. Defaults to '/'.
532
+
type: String
533
+
- name: 'port'
534
+
description: |-
535
+
Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
536
+
type: Integer
537
+
- name: 'httpHeaders'
538
+
description: |-
539
+
Optional. Custom headers to set in the request. HTTP allows repeated headers.
540
+
type: NestedObject
541
+
properties:
542
+
- name: 'port'
543
+
required: true
544
+
description: |-
545
+
Required. The header field name
546
+
type: Integer
547
+
- name: 'value'
548
+
description: |-
549
+
Optional. The header field value
550
+
type: String
551
+
- name: 'tcpSocket'
552
+
description: |-
553
+
Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
554
+
type: NestedObject
555
+
properties:
556
+
- name: 'port'
557
+
description: |-
558
+
Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
559
+
type: Integer
560
+
- name: 'grpc'
561
+
description: |-
562
+
Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
563
+
type: NestedObject
564
+
properties:
565
+
- name: 'port'
566
+
description: |-
567
+
Optional. Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
568
+
type: Integer
569
+
- name: 'service'
570
+
description: |-
571
+
Optional. Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC
572
+
type: String
573
+
- name: 'startupProbe'
574
+
type: NestedObject
575
+
description: |-
576
+
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
577
+
properties:
578
+
- name: 'initialDelaySeconds'
579
+
default_value: 0
580
+
description: |-
581
+
Optional. Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
582
+
type: Integer
583
+
- name: 'timeoutSeconds'
584
+
default_value: 1
585
+
description: |-
586
+
Optional. Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
587
+
type: Integer
588
+
- name: 'periodSeconds'
589
+
default_value: 10
590
+
description: |-
591
+
Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
592
+
type: Integer
593
+
- name: 'failureThreshold'
594
+
default_value: 3
595
+
description: |-
596
+
Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
597
+
type: Integer
598
+
- name: 'httpGet'
599
+
description: |-
600
+
Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
601
+
type: NestedObject
602
+
properties:
603
+
- name: 'path'
604
+
description: |-
605
+
Optional. Path to access on the HTTP server. Defaults to '/'.
606
+
type: String
607
+
- name: 'port'
608
+
description: |-
609
+
Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
610
+
type: Integer
611
+
- name: 'httpHeaders'
612
+
description: |-
613
+
Optional. Custom headers to set in the request. HTTP allows repeated headers.
614
+
type: NestedObject
615
+
properties:
616
+
- name: 'port'
617
+
required: true
618
+
description: |-
619
+
Required. The header field name
620
+
type: Integer
621
+
- name: 'value'
622
+
description: |-
623
+
Optional. The header field value
624
+
type: String
625
+
- name: 'tcpSocket'
626
+
description: |-
627
+
Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
628
+
type: NestedObject
629
+
properties:
630
+
- name: 'port'
631
+
description: |-
632
+
Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
633
+
type: Integer
634
+
- name: 'grpc'
635
+
description: |-
636
+
Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
637
+
type: NestedObject
638
+
properties:
639
+
- name: 'port'
640
+
description: |-
641
+
Optional. Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
642
+
type: Integer
643
+
- name: 'service'
644
+
description: |-
645
+
Optional. Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this is not specified, the default behavior is defined by gRPC
0 commit comments