Added Prometheus monitoring CPU and memory selector. (#1387)

* Added Prometheus monitoring CPU and memory selector.

* Minor text fixes

* Fixed memory units, improvements to get return

* Updated logic to add storageClassName to get response

* Minor fixes, removed warnings

* Removed blank entry for empty storageclassname

Co-authored-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
jinapurapu
2022-01-14 11:15:09 -08:00
committed by GitHub
parent 257f02c554
commit e374772fc6
8 changed files with 275 additions and 136 deletions

View File

@@ -3360,6 +3360,12 @@ func init() {
"$ref": "#/definitions/label"
}
},
"monitoringCPURequest": {
"type": "string"
},
"monitoringMemRequest": {
"type": "string"
},
"nodeSelector": {
"type": "array",
"items": {
@@ -7562,6 +7568,12 @@ func init() {
"$ref": "#/definitions/label"
}
},
"monitoringCPURequest": {
"type": "string"
},
"monitoringMemRequest": {
"type": "string"
},
"nodeSelector": {
"type": "array",
"items": {