|
@@ -165,6 +165,13 @@ questions:
|
|
description: CPU limit for Elastic Search.
|
|
description: CPU limit for Elastic Search.
|
|
schema:
|
|
schema:
|
|
type: string
|
|
type: string
|
|
|
|
+ max_length: 6
|
|
|
|
+ valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
|
|
|
|
+ valid_chars_error: |
|
|
|
|
+ Valid CPU limit formats are</br>
|
|
|
|
+ - Plain Integer - eg. 1</br>
|
|
|
|
+ - Float - eg. 0.5</br>
|
|
|
|
+ - Milicpu - eg. 500m
|
|
default: "4000m"
|
|
default: "4000m"
|
|
required: true
|
|
required: true
|
|
- variable: memory
|
|
- variable: memory
|
|
@@ -172,5 +179,13 @@ questions:
|
|
description: Memory limit for Elastic Search.
|
|
description: Memory limit for Elastic Search.
|
|
schema:
|
|
schema:
|
|
type: string
|
|
type: string
|
|
|
|
+ max_length: 12
|
|
|
|
+ valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
|
|
|
|
+ valid_chars_error: |
|
|
|
|
+ Valid Memory limit formats are</br>
|
|
|
|
+ - Suffixed with E/P/T/G/M/K - eg. 1G</br>
|
|
|
|
+ - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
|
|
|
|
+ - Plain Integer in bytes - eg. 1024</br>
|
|
|
|
+ - Exponent - eg. 134e6
|
|
default: "8Gi"
|
|
default: "8Gi"
|
|
required: true
|
|
required: true
|