Evaluate K8S Gateway API to model sidecar behavior
Los mantenedores suelen responder en 1 día
@louiscryan ya está trabajando en esto.
Desde el 17/12/2019.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Describe the feature request
Kubernetes is working on a new API proposal to evolve the state of ingress into the cluster ...
details ...
Istio will support this API just as we have for the current Ingress API. Looking at the API and comparing it with the Sidecar API it might be possible to use it to model that scenario as well. Doing so would have obvious benefits to users in terms of the universe of APIs they need to understand.
Some important points in that design that seem relevant:
- The definition of 'classes' is quite powerful and allows for implementation & default variation within the concrete API more easily. Might have applications for versioning in addition to behavior defaults.
- Gateway has a polymorphic reference to 'routes'. This seems like it could accommodate references to the types in the docs as well as VirtualService and Service/ServiceEntry. This is important for egress.
- The spec has adopted a model for 'extensions' that can be defined in-line contextual to elements in the API. The examples in the doc show extension of listeners. Could be used to support a wildcard ingress
- The use of 'endpoint' in the spec might not be general enough to handle capture for things like
Strawman for discussion:
- Define a Gateway class as ~ 'istio/sidecar'
- Can model scoped egress to services as Gateway -- [ref] --> Service / Service Entry. Other reference types could be useful here beyond the ones called out in the spec. E.g. a name matching rule against sets of services.
- To model a restrictive ingress either use an extension to reference the local backend (no need to use a resource ref for a route given context) or make a route type (a little verbose probably).
An alternative would be to expand the Istio Sidecar resource to support referencing XXXRoute types just as we would extend the Istio Gateway resource for the same. This would share the routing API model with K8S even if Sidecar was kept as a specialization in Istio.
Describe alternatives you've considered
Status quo
[X] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[X] User Experience
Additional context
- Lenguaje dominante
- Go
- Estrellas
- 523
- Forks
- 623
- Merge medio
- 5 d 20 h
- PR fusionados (30 d)
- 4
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de istio/api
-
Gateway CRD accepts both credentialName and tlsCertificates in server TLS settingsPosiblemente ocupada @RaphaelFakhri la tomó hace 23 días. Abiertoarea/networking area/user experience
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
area/user experience kind/docs kind/enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 40/100
Los mantenedores suelen responder en 1 día
-
area/networking area/user experience kind/docs kind/enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
[release-1.29] change default of statsCompression to trueQuizá libre de nuevo @keithmattix la tomó hace 304 días y no hay ningún pull request abierto. Abierto
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
istio/api#3638 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Issues similares
-
bug raised-by:verifier to:worker
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
medici-finance/assay#7835 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
golang-malawi/qatarina#496 ·
Los mantenedores suelen responder en 2 días
-
hive size:simple
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
janitor: 2026-11-27 hygieneAbiertodocumentation stage:review
Dificultad 1/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
wso2/identity-customer-data-service#430 ·
Los mantenedores suelen responder en 1 día