[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>
This commit is contained in:
Bharat Kunwar 2020-02-05 15:13:17 +00:00
parent 16ea8b6397
commit 8108679c2d
1 changed files with 2 additions and 0 deletions

View File

@ -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