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.
Change-Id: I9d328626723d11372a6d912fae4edd33b8f01277
Closes-Bug: #1668337
(cherry picked from commit 396439f703aea8598a07adac6b562c714fa19113)
Reviewed: https:/ /review. openstack. org/486638 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=baac010d79b e32e3d72b11db6e 85fd6175682b67
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit baac010d79be32e 3d72b11db6e85fd 6175682b67
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 98a07adac6b562c 714fa19113)
Closes-Bug: #1668337
(cherry picked from commit 396439f703aea85