Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Add support for Cilium as replacement CNI #2

Open
brumhard opened this issue Nov 21, 2021 · 2 comments
Open

Add support for Cilium as replacement CNI #2

brumhard opened this issue Nov 21, 2021 · 2 comments

Comments

@brumhard
Copy link
Owner

brumhard commented Nov 21, 2021

Cilium should be supported as replacement for the default flannel CNI. Docs on the K3s Cilium setup can be found here.

Requires #1 to disable flannel.

@brumhard
Copy link
Owner Author

There are two options for the implementation:

  1. Installing and using cilium-cli on the master node. The problem with this is that the kubeconfig by default has 700 permissions and the cilium cli does not work with sudo (Error on cilium context when $KUBECONFIG requires root privileges cilium/cilium-cli#617)
  2. Calling the cilium-cli install code from the pulumi provider. The problem with this is that the k8sclient implementation used for install.NewK8sInstaller is in an internal package and therefore not usable. Other than that the code is nicely reusable and separated.

@brumhard
Copy link
Owner Author

Opened an issue for 2nd option: cilium/cilium-cli#618

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant