Kube proxy can not resolve host ip 98/1698/1
authorBalazs Szekeres <balazs.szekeres@nokia.com>
Wed, 2 Oct 2019 11:28:56 +0000 (13:28 +0200)
committerBalazs Szekeres <balazs.szekeres@nokia.com>
Wed, 2 Oct 2019 12:06:04 +0000 (14:06 +0200)
Workaround added as can seen below:
https://bugs.launchpad.net/charm-kubernetes-master/+bug/1841114

Change-Id: Icf7c352fff19b976bd788611c0c77894c5962b04
Signed-off-by: Balazs Szekeres <balazs.szekeres@nokia.com>
ansible/roles/kube_proxy/templates/kube-proxy.yml
caas-kubernetes.spec

index 0a5f033..4441508 100644 (file)
@@ -29,7 +29,8 @@ spec:
       command:
         - "/kube-proxy"
         - "--kubeconfig=/etc/kubernetes/kubeconfig/proxyc.yml"
       command:
         - "/kube-proxy"
         - "--kubeconfig=/etc/kubernetes/kubeconfig/proxyc.yml"
-        - "--hostname-override={{ ansible_host }}"
+        - "--bind-adress={{ networking.infra_internal.ip }}"
+        - "--hostname-override={{ networking.infra_internal.ip }}"
         - "--masquerade-all=true"
       resources:
         requests:
         - "--masquerade-all=true"
       resources:
         requests:
index b4b344d..9c74ca3 100644 (file)
@@ -15,7 +15,7 @@
 %define COMPONENT kubernetes
 %define RPM_NAME caas-%{COMPONENT}
 %define RPM_MAJOR_VERSION 1.16.0
 %define COMPONENT kubernetes
 %define RPM_NAME caas-%{COMPONENT}
 %define RPM_MAJOR_VERSION 1.16.0
-%define RPM_MINOR_VERSION 3
+%define RPM_MINOR_VERSION 4
 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION}
 %define KUBERNETESPAUSE_VERSION 3.1
 
 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION}
 %define KUBERNETESPAUSE_VERSION 3.1