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

Gateway address field not functional #30123

Closed
2 tasks done
acelinkio opened this issue Jan 8, 2024 · 1 comment
Closed
2 tasks done

Gateway address field not functional #30123

acelinkio opened this issue Jan 8, 2024 · 1 comment
Labels
kind/bug This is a bug in the Cilium logic. kind/community-report This was reported by a user in the Cilium community, eg via Slack. needs/triage This issue requires triaging to establish severity and next steps.

Comments

@acelinkio
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Gateway API aims to reduce the use of vendor specific annotations and provide a standard for all gateway controllers to honor. Part of that standard is to allow for the creation of load balancers via Gateway custom resource and assign listening addresses. Traditionally this has been done via annotations on Kubernetes services, such as io.cilium/lb-ipam-ips: 192.168.1.50.

Cilium does not appear to support assigning addresses via Gateway custom resource. This was tested via the following:

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
  name: internal
  namespace: cilium-gateway
spec:
  gatewayClassName: cilium
  listeners:
  - protocol: HTTP
    port: 80
    name: http
    allowedRoutes:
      kinds:
        - kind: HTTPRoute
      namespaces:
        from: All
  addresses:
    - type: IPAddress
      value: "192.168.1.50"

Cilium Version

1.15.0-rc.0

Kernel Version

Linux rockchip2 5.10.160-rockchip #21 SMP Mon Nov 20 00:36:42 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

Kubernetes Version

1.29.0+k3s1

Sysdump

No response

Relevant log output

No response

Anything else?

Gateway Custom Resource Definition on Addresses:
https://github.com/kubernetes-sigs/gateway-api/blob/v1.0.0/config/crd/standard/gateway.networking.k8s.io_gateways.yaml#L57-L120

Gateway example for setting addresses:
https://github.com/kubernetes-sigs/gateway-api/blob/v1.0.0/examples/standard/gateway-addresses.yaml

Related issues:
#25357 - Discussion about Gateway API standard for propagating annotations
#27636 - Workaround submissions for specifying annotations to child objects

Code of Conduct

  • I agree to follow this project's Code of Conduct
@acelinkio acelinkio added kind/bug This is a bug in the Cilium logic. kind/community-report This was reported by a user in the Cilium community, eg via Slack. needs/triage This issue requires triaging to establish severity and next steps. labels Jan 8, 2024
@dylandreimerink
Copy link
Member

I believe this is a duplicate of #21926

@dylandreimerink dylandreimerink closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is a bug in the Cilium logic. kind/community-report This was reported by a user in the Cilium community, eg via Slack. needs/triage This issue requires triaging to establish severity and next steps.
Projects
None yet
Development

No branches or pull requests

2 participants