Browse Source

[k8s] Make metrics-server work without DNS

At present, metrics-server pod keeps doing a CrashLoopBack because host
name does not resolve when a cloud does not operate a DNS.

Task: 38642
Story: 2007265

Change-Id: Ia47a9282f56f30569b190ec2585b38c459086b63
Signed-off-by: Bharat Kunwar <brtknr@bath.edu>
changes/84/705984/4
Bharat Kunwar 3 years ago
parent
commit
8108679c2d
  1. 2
      magnum/drivers/common/templates/kubernetes/helm/metrics-server.sh

2
magnum/drivers/common/templates/kubernetes/helm/metrics-server.sh

@ -51,6 +51,8 @@ data:
install-${CHART_NAME}-values.yaml: |
image:
repository: ${CONTAINER_INFRA_PREFIX:-gcr.io/google_containers/}metrics-server-amd64
args:
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
---
apiVersion: batch/v1

Loading…
Cancel
Save