Skip to content

Set appProtocol for service resources #796

@vspallas-flyr

Description

@vspallas-flyr

Hi,

We are exposing a flagd instance via a GRPCRoute. When attempting to retrieve feature flag details, requests fail with StatusCode.UNKNOWN. After some investigation, we found that explicitly setting appProtocol: grpc on the flagd service port resolves the issue and allows requests to succeed as expected.

The primary benefit of specifying the appProtocol field is that the protocol is no longer inferred, which reduces ambiguity and prevents related issues. It also makes the manifests more explicit and future-proof, while serving as clearer documentation for users.

That seem to happen because we use Istio, where the gateway will forward all incoming HTTP requests using HTTP/1.1. https://istio.io/latest/docs/ops/configuration/traffic-management/protocol-selection/

I'm more than happy to raise a PR and resolve it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions