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

Feature request: Install Gateway API before CNI installation #10814

Open
fredwangwang opened this issue Jan 19, 2024 · 12 comments
Open

Feature request: Install Gateway API before CNI installation #10814

fredwangwang opened this issue Jan 19, 2024 · 12 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@fredwangwang
Copy link

What would you like to be added

we are using cilium as CNI and cilium supports Gateway API, which we would like to use.

However, to enable the gateway support, the gateway api CRD must be pre-installed onto the cluster: https://docs.cilium.io/en/latest/network/servicemesh/gateway-api/gateway-api/#prerequisites

this is challenging because when using Kubespray to install the cluster, and CNI, there is no additional steps allowed to pre-install the gateway api before installing the CNI (at least I havent found one..)

The request is to allow installing gateway api crd after the cluster creation to allow seemless integration.

Why is this needed

To make Gateway api available for consumption before installing cilium so that gateway api feature can be enabled directly.

@fredwangwang fredwangwang added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 19, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 18, 2024
@adux6991
Copy link

Need this too. In addition, if gateway api is enabled, some role and rolebinding need to be modified too: https://github.com/search?q=repo%3Acilium%2Fcilium%20gatewayAPI.enabled&type=code

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jun 16, 2024
@tico88612
Copy link
Member

/remove-lifecycle rotten
/assign

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Jul 6, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 4, 2024
@tico88612
Copy link
Member

/retitle Feature request: Install Gateway API before CNI installation

@k8s-ci-robot k8s-ci-robot changed the title install gateway api Feature request: Install Gateway API before CNI installation Oct 22, 2024
@tico88612
Copy link
Member

@VannTen While we can install the Gateway API now (still very rough), what do you think is a good way to do this before the CNI is installed?

@VannTen
Copy link
Contributor

VannTen commented Nov 20, 2024 via email

@tico88612
Copy link
Member

tico88612 commented Nov 20, 2024

No. This issue is about installing the Gateway API CRDs before the CNI is installed; the current process is to install the Gateway API CRDs after the CNI is installed.

Current: ... -> kubeadm (create cluster) -> CNI (whatever Calico, Cilium etc.) -> Gateway API -> ...

However, some people may wish to

Expect: ... -> kubeadm (create cluster) -> Gateway API -> CNI -> ...

I'm not sure if it's feasible to allow users to freely choose the Gateway API installation process.

#10814 (comment)
However, to enable the gateway support, the gateway api CRD must be pre-installed onto the cluster: https://docs.cilium.io/en/latest/network/servicemesh/gateway-api/gateway-api/#prerequisites

@VannTen
Copy link
Contributor

VannTen commented Nov 20, 2024 via email

@tico88612
Copy link
Member

My previous question was more about the why : with current kubespray, would creating the cluster with gateway api and cilium then running upgrade-cluster achieve the desired result (== can cilium upgrade to a gateway api mode) ?

I'm not sure; I'll need to implement and test it, but I'm sure Kubespray's cilium needs to be patched with the gatewayAPI.enabled condition.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

6 participants