You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are migrating our manifests from the Istio API (networking.istio.io) to the API Gateway API (gateway.networking.k8s.io) and we are faced with the following situation:
In the spec.http.retries.retryOn field of the Istio VirtualService we have the following values coming from the Envoy retry policies: gateway-error, connect-failure, refused-stream.
We would like to know what the equivalent values would be in the spec.rules.retry.codes field in the Gateway API?
Reading the official documentation I saw that the field only accepts int values, so I couldn't pass the same values from the Istio API.
Below is an example of the migration of this Virtual Service to HTTPRoute:
apiVersion: gateway.networking.k8s.io/v1kind: HTTPRoutemetadata:
name: nginxnamespace: appsspec:
parentRefs:
- kind: Servicename: nginxnamespace: appshostnames:
- nginx.apps.svc.cluster.localrules:
- retry:
codes: [] # What do I fill in here to maintain equivalence?attempts: 4backoff: 500msbackendRefs:
- name: nginxnamespace: appsport: 80
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello to everyone!
We are migrating our manifests from the Istio API (networking.istio.io) to the API Gateway API (gateway.networking.k8s.io) and we are faced with the following situation:
In the
spec.http.retries.retryOn
field of the Istio VirtualService we have the following values coming from the Envoy retry policies:gateway-error, connect-failure, refused-stream
.Here's an example below:
We would like to know what the equivalent values would be in the
spec.rules.retry.codes
field in the Gateway API?Reading the official documentation I saw that the field only accepts int values, so I couldn't pass the same values from the Istio API.
Below is an example of the migration of this Virtual Service to HTTPRoute:
Beta Was this translation helpful? Give feedback.
All reactions