-
Notifications
You must be signed in to change notification settings - Fork 670
Find a way to install weave-kube alongside rkt/hyperkube #2613
Comments
From @bboreham on October 13, 2016 10:38 cc @errordeveloper - any ideas? |
From @bboreham on October 13, 2016 11:7 Possibly we can use a kubelet option - kubelet will always look in |
We have this working. Note the mounts in the kubelet wrapper to Our kubelet wrapper:
Our weave manifest:
|
Problem still exists with latest coreos and upstream hyperkube image from google ( not coreos specific ) using workaround
allowed me to install and get it running. This is a one year old bugg, is weave-net project dead? |
Integrating Istio CNI is trickier than it should, even with the workaround in place, we have to copy files around on an |
Hi Ruben,
I am not sure why you think this issue maybe related. Would you mind to
elaborate? Are you using Weave Net with rkt and Istio? This was rather
specifically about rkt+hyperkube and I am not entirely sure if this issue
is still relevant.
…On Thu, 25 Apr 2019, 10:53 am Rubén, ***@***.***> wrote:
Integrating Istio CNI is trickier than it should, even with the workaround
in place, we have to copy files around on a ExecStartPre task. I think
this issue should be revisited and worked on.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2613 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAB5MS2PYOGQDU6IC3AQ6RDPSF5SJANCNFSM4CVSHXTQ>
.
|
Hi @errordeveloper, thanks for following up. I might have been mistaken when assuming this weave behaviour was the root cause of the problem. It seems kubelet can handle this multiple CNI plugin scenario. Thanks to @YuraBeznos for doing the research on this, the following is a freely edited copy paste of the outcome he shared: When running running rkt+hyperkube for kubelet, we were trying to have every CNI file in one place, but kubelet checks for different paths:
Links to the relevant code: kubelet reads/rereads CNI configs dir (/etc/cni/net.d) and gets "type" value from every file to find where actually plugins are (default cni plugins folder checked too) So we are going to test if it works by configuring Istio-cni with |
From @bboreham on October 13, 2016 10:38
TL;DR: hyperkube sets up its CNI files inside a container, while weave-kube mounts directories from the host and installs Weave Net CNI files into those. K8s needs one directory that has the full set of files.
Full detail from user:
"
This leads to a sort of chicken-and-egg problem: We are not able to get the weave binaries in the same folder with the other binaries that k8s needs for CNI to work.
Some solutions we could think of:
Copied from original issue: weaveworks-experiments/weave-kube#37
The text was updated successfully, but these errors were encountered: