From 5517145edbb19c39fdf316449ede359cbe213fdf Mon Sep 17 00:00:00 2001 From: Samuel Padgett Date: Fri, 26 Jan 2018 11:42:12 -0500 Subject: Add resource requests to console template --- files/origin-components/console-template.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/origin-components/console-template.yaml b/files/origin-components/console-template.yaml index 7bf2d0cf4..03cd7a25c 100644 --- a/files/origin-components/console-template.yaml +++ b/files/origin-components/console-template.yaml @@ -71,6 +71,10 @@ objects: path: / port: 8443 scheme: HTTPS + resources: + requests: + cpu: 100m + memory: 100Mi nodeSelector: "${{NODE_SELECTOR}}" volumes: - name: serving-cert -- cgit v1.2.3 From 95baaab260839d9e5e2517a09ffb68768205d35a Mon Sep 17 00:00:00 2001 From: Samuel Padgett Date: Fri, 26 Jan 2018 13:21:43 -0500 Subject: Add prometheus annotations to console service --- files/origin-components/console-template.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/origin-components/console-template.yaml b/files/origin-components/console-template.yaml index 03cd7a25c..547e7a265 100644 --- a/files/origin-components/console-template.yaml +++ b/files/origin-components/console-template.yaml @@ -116,6 +116,8 @@ objects: app: openshift-web-console annotations: service.alpha.openshift.io/serving-cert-secret-name: webconsole-serving-cert + prometheus.io/scrape: "true" + prometheus.io/scheme: https spec: selector: webconsole: "true" -- cgit v1.2.3