devstack: add kubelet iface to openshift nodes

OpenShift container probes in baremetal deployments are also necessary
as well as enabling routing to the service network for the OpenShift API
to be reachable by host networking pods.

Closes-Bug: 1757993
Change-Id: I73ab7d4ad660cb109ad3469c9a0ea0de35be8179
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
This commit is contained in:
Antoni Segura Puimedon 2018-03-22 09:56:02 +01:00
parent 563ddbee3b
commit f4e9e30198
No known key found for this signature in database
GPG Key ID: 9B08FFD846853B9D

View File

@ -675,6 +675,10 @@ if [[ "$1" == "stack" && "$2" == "extra" ]]; then
if is_service_enabled openshift-node; then
prepare_kubelet
run_openshift_node
KURYR_CONFIGURE_BAREMETAL_KUBELET_IFACE=$(trueorfalse True KURYR_CONFIGURE_BAREMETAL_KUBELET_IFACE)
if [[ "$KURYR_CONFIGURE_BAREMETAL_KUBELET_IFACE" == "True" ]]; then
ovs_bind_for_kubelet "$KURYR_NEUTRON_DEFAULT_PROJECT"
fi
fi
if is_service_enabled kubernetes-api \