-
Notifications
You must be signed in to change notification settings - Fork 591
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
Implement ServiceFacade
behind an alpha feature gate
#5152
Comments
I'd like to make some suggestions and clarify some parts of the suggested solution so that we can include them in the acceptance criteria:
|
Notes from a meeting with @mflendrich
It would be preferable to not split the CRDs bundles by the criteria mentioned above (GA+ beta vs. alpha). We'd rather prefer to make the decision where a CRD lands (standard or experimental) individually for every CRD. The experimental channel should not be covered in the Helm chart. The name of the new channel is to be discussed ("opt-in" sounds like a good candidate as it emphasizes the nature of this channel - these are opt-in functionalities that are not going to be graduated to beta/GA most probably).
Kong prefix could be a good idea, but we should make the name unique in a way it's hard to misjudge it for being just a regular Service, e.g.
This would be nice-to-have if there would be a use-case for that. This is already supported in Gateway API (multiple backendRefs). |
Is there an existing issue for this?
Problem Statement
Implement an abstraction between the Kubernetes
Service
and KongService
(proposed name:ServiceFacade
- suggestions welcome) that will be usable as abackendRef
in Gateway API routes and Ingress.Design doc link.
This feature should be opt-in:
Proposed Solution
ServiceFacade
CRD (distributed separately) similar to the resource below:ServiceFacade
in rule types in KIC:ServiceFacade
to be set asdefaultBackend
and individual rules' backendServiceFacade
as a backendRefServiceFacade
proxy
/upstream
) settingsAdditional information
Diagram of the desired use:
![image](https://private-user-images.githubusercontent.com/2715147/282510277-c8dcb827-875b-491d-8f02-84e7339bd87a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3ODM1NzksIm5iZiI6MTcxOTc4MzI3OSwicGF0aCI6Ii8yNzE1MTQ3LzI4MjUxMDI3Ny1jOGRjYjgyNy04NzViLTQ5MWQtOGYwMi04NGU3MzM5YmQ4N2EucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYzMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MzBUMjEzNDM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTBjOGI3MDEwMjRiNzY5MzljZGU3MWI2ZmJiZTVlZjViNmZmOTQ4MWFlNjIwYzNhZjJiMDY2YmIwNTU1NGM0YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.LYEKVYxpeoPcXmft0BDbtK-PBujJQF5FNvx9XvQx_lg)
Acceptance Criteria
ServiceFacade
CRD exists and is not installed by defaultIngress
ServiceFacade
worksService
(annotations) workThe text was updated successfully, but these errors were encountered: