Currently not able to run kubectl exec/logs commands
with a k8s cluster created on devstack. This is due
to the fact that apiserver is not able to resolve
the worker node by hostname. This change fixes the
issue by passing --kubelet-preferred-address-types
argument to apiserver.
Reviewed: https:/ /review. openstack. org/439906 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=396439f703a ea8598a07adac6b 562c714fa19113
Committed: https:/
Submitter: Jenkins
Branch: master
commit 396439f703aea85 98a07adac6b562c 714fa19113
Author: Vijendar Komalla <email address hidden>
Date: Wed Mar 1 17:17:21 2017 -0600
Set k8s apiserver preferred address type arg
Currently not able to run kubectl exec/logs commands preferred- address- types
with a k8s cluster created on devstack. This is due
to the fact that apiserver is not able to resolve
the worker node by hostname. This change fixes the
issue by passing --kubelet-
argument to apiserver.
Change-Id: I9d328626723d11 372a6d912fae4ed d33b8f01277
Closes-Bug: #1668337