Open dougbtv opened 5 years ago
@dougbtv
Thank you for attending the talk and I am glad you found it useful. For the smokeping demo, you just need to have the CRDs in the the cluster, you don't need OVS, you just need normal network connectivity via any CNI plugin. You also don't need the daemonset unless you need to run and test sFlow.
I also can't see for the resource you posted, what pod did you use as your source? you need to specify the correct source pod name and namespace for it to work.
Having the correct source-pod should get it to work, if not, then lets discuss about it tomorrow :). Also, I am quickly realising that the project needs more documentation but I guess its because I only intended for it to be a PoC for starters.
let me know how it goes.
Hey Adel, I'm giving it a shot -- I do have the networkconnectivity-test-controller running! But first I want to say a huge thank you for the inspiring kubecon talk! This is really neat, and I'm quite excited and inspired by it.
I think I'm kinda close. I probably missed something. Mostly, I'm trying to get the "smokeping" demo working.
Some overall environment issue, I used a fresh kube cluster, just a single master that I removed the noschedule taint from...
I installed Helm and then ran helm install your chart, like so:
The controller needed to restart itself once to find the certs for the webhook, but, then looked healthy in the logs after a restart.
Next, I created some pieces from the
./docs/kubecon-demo
folder...Then I described the custom resource...
I looked at the logs, nothing blatant, just keeps saying it's reconciling the test, which seems, good? (I haven't read any of the code yet, tbqh)
So, I tried creating some more pieces to see if I was missing something, so I also:
However, it's stuck initializing... So I got the logs from the initContainer...
So I realize... Oh! Wait, I don't have OvS installed on the host system. So I made a basic OvS install, and I created a bridge with the same name as you have in the config map -- and I got the daemonset to come up properly, logs now look like:
My host
ip a
now looks like: (sorry it's big, so I at least trimmed out the veths)Any ideas on what I could be missing? I can add how I installed OvS, as well. I'm not an OvS expert by any means, so, high likelihood I made a mistake there.