Schema version: 1

  • nodeSelector
    object
    The same as in the Pods spec.nodeSelector parameter in Kubernetes. If the parameter is omitted or false, nodeSelector will be determined automatically.
  • resourcesRequests
    object

    Max amounts of CPU and memory resources that the Pod can request when selecting a node.

    If the vertical-pod-autoscaler module is disabled, then these values become the default ones.

    Default: {}

    Examples:


    mode: VPA
    vpa:
      cpu:
        max: 2
        min: 50m
      memory:
        max: 2Gi
        min: 256Mi
      mode: Auto
    
    mode: VPA
    vpa:
      cpu:
        max: 3000m
        min: 1
      memory:
        max: 4096
        min: 1024
      mode: Initial
    
    mode: Static
    static:
      cpu: 55m
      memory: 256Ki
    
    • resourcesRequests.mode
      string

      Required value

      Resource request management mode:

      • Static is a classic one. In it, you explicitly specify requests. The parameters of this mode are defined in the Static parameter section.
      • VPA mode uses VPA. You can configure this mode by modifying parameters in the VPA parameter section.

      Default: VPA

      Allowed values: VPA, Static

    • resourcesRequests.static
      object
      Resource request management options for the Static mode.

      Default: {}

      • resourcesRequests.static.cpu

        Required value

        Configuring CPU requests.

        Default: 150m

      • resourcesRequests.static.memory

        Required value

        Configuring memory requests.

        Default: 256Mi

    • resourcesRequests.vpa
      object
      Resource request management options for the VPA mode.

      Default: {}

      • resourcesRequests.vpa.cpu
        object

        Required value

        CPU-related parameters.

        Default: {}

        • resourcesRequests.vpa.cpu.max
          The maximum value that the VPA can set for the CPU requests.

          Default: 500m

        • resourcesRequests.vpa.cpu.min
          The minimum value that the VPA can set for the CPU requests.

          Default: 100m

      • resourcesRequests.vpa.memory
        object

        Required value

        The amount of memory requested.

        Default: {}

        • resourcesRequests.vpa.memory.max
          The maximum memory requests the VPA can set.

          Default: 768Mi

        • resourcesRequests.vpa.memory.min
          The minimum memory requests the VPA can set.

          Default: 192Mi

      • resourcesRequests.vpa.mode
        string

        Required value

        The VPA usage mode.

        Default: Initial

        Allowed values: Initial, Auto

  • tolerations
    array of objects
    The same as in the Pods spec.tolerations parameter in Kubernetes. If the parameter is omitted or false, tolerations will be determined automatically.
    • tolerations.effect
      string
    • tolerations.key
      string
    • tolerations.operator
      string
    • tolerations.tolerationSeconds
      integer
    • tolerations.value
      string