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

[t8s-cluster] use cilium's kube-proxy replacement #606

Open
cwrau opened this issue Oct 12, 2023 · 1 comment
Open

[t8s-cluster] use cilium's kube-proxy replacement #606

cwrau opened this issue Oct 12, 2023 · 1 comment
Labels
good first issue Good for newcomers

Comments

@cwrau
Copy link
Member

cwrau commented Oct 12, 2023

This needs the APIServer URL, see https://docs.cilium.io/en/stable/network/kubernetes/kubeproxy-free/

We could use https://gitlab.teuto.net/4teuto/ops/k8s/t8s-engine/-/issues/13 for this, which would implement a DNS record for each clusters' API server

After we implement this, we need to make sure the user doesn't switch back to calico, as we don't have a good way to install kube-proxy in that case.

@cwrau cwrau added the good first issue Good for newcomers label Oct 12, 2023
@cwrau
Copy link
Member Author

cwrau commented Oct 16, 2023

I've tried this, and chatted with some SCS people on this topic, but it seems like we definitely need the API IP as a cilium parameter to get this working.

This is even mentioned in the docs, I just hoped it was kinda optional 😅

Currently, I see a couple of options;

  • create a configmap that reflects the API IP which we can use in the cilium HelmRelease
    • this can come from the capi cluster via
      • a new HelmRelase and syncs via a CronJob I guess
      • the t8s operator
  • we could patch the cilium helm chart to allow for initContainers which we can use to get the API IP from the kubeadm-config configmap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant