Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Construct working (not perfect yet) network for the cluster #44

Merged
merged 2 commits into from
Jul 2, 2020

Conversation

jnummelin
Copy link
Collaborator

Signed-off-by: Jussi Nummelin jnummelin@mirantis.com

This started as a PR to get just Calico in. Ended up building lots of things.

Running calico actually needs working kube-proxy as calico uses the clusters internal api address for eveything.
--> Had to build kube-proxy support

While building support for kube-proxy, sidetracked to build support for config file reading. This is 100% needed to be able to set API address etc. properly. Without those we cannot get kube-proxy up-and-running.

To be able to figure out why stuff does not work we need working kubectl logs xyz, that requires we have properly set up auth between api and kubelet.
--> Needed to fix that plus get the CA cert for kubelet

CoreDNS bundle to actually get DNS running, and to test the network even partially works. :D

Sorry for such a huge PR, would've been pretty impossible to break this into smaller pieces.

@jnummelin jnummelin requested review from jakolehm and ncopa July 2, 2020 16:49
cmd/worker.go Outdated Show resolved Hide resolved
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
@jnummelin jnummelin merged commit ebb3212 into main Jul 2, 2020
@jnummelin jnummelin deleted the working-network branch July 2, 2020 19:08
This was referenced Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants