Commit 9765dc35 authored by Diogo Filipe Tomas Guerra's avatar Diogo Filipe Tomas Guerra
Browse files

Populate kube-{controller,scheduler,proxy} IP

Change-Id: I6c361397f5a086ae187837fa2c65b27b4ba2c472
parent 22941f2e
......@@ -167,8 +167,14 @@ ${NVIDIA_GPU_VALUES}
enabled: ${MONITORING_ENABLED}
grafana:
adminPassword: ${GRAFANA_ADMIN_PASSWD}
kubeControllerManager:
endpoints: ${KUBE_MASTERS_PRIVATE}
kubeEtcd:
endpoints: ${KUBE_MASTERS_PRIVATE}
kubeScheduler:
endpoints: ${KUBE_MASTERS_PRIVATE}
kubeProxy:
endpoints: ${KUBE_NODES_PRIVATE}
prometheus:
prometheusSpec:
externalLabels:
......
......@@ -1247,6 +1247,8 @@ resources:
template: {get_file: ../../common/templates/kubernetes/helm/prometheus-operator.sh}
params:
"${ADMIN_PASSWD}": {get_param: grafana_admin_passwd}
"${KUBE_MASTERS_PRIVATE}": {get_attr: [kube_masters, kube_master_ip]}
"${KUBE_MINIONS_PRIVATE}": {get_attr: [kube_minions, kube_minion_ip]}
- get_file: ../../common/templates/kubernetes/helm/prometheus-adapter.sh
- get_file: ../../common/templates/kubernetes/helm/ingress-nginx.sh
# CERN
......
......@@ -1508,7 +1508,15 @@ resources:
- get_file: ../../common/templates/kubernetes/helm/cern-central-monitoring-logging.sh
- get_file: ../../common/templates/kubernetes/helm/cern-eos-provisioner.sh
- get_file: ../../common/templates/kubernetes/helm/landb-sync.sh
- get_file: ../../common/templates/kubernetes/helm/cern-chart.sh
- str_replace:
template: {get_file: ../../common/templates/kubernetes/helm/cern-chart.sh}
params:
"${KUBE_MASTERS_PRIVATE}": {get_attr: [kube_masters, kube_master_ip]}
"${KUBE_NODES_PRIVATE}":
list_join:
- ", "
- {get_attr: [kube_masters, kube_master_ip]}
- {get_attr: [kube_minions, kube_minion_ip]}
- get_file: ../../common/templates/kubernetes/fragments/install-helm-modules.sh
- get_file: ../../common/templates/kubernetes/fragments/cern-oidc-rolebinding.sh
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment