Skip to content

HTTP/HTTPS Redirect for Knative Serving Route #49

@ultraJeff

Description

@ultraJeff

Hey y'all,

I'm not sure where to add this in the code, otherwise I'd make a PR.

I tried installing this today on a two-GPU cluster and discovered an issue.

The Llamastack deployment was unable to reach the /models endpoint of the LLM hosted with Knative Serving. I futzed about with it for a while and discovered that adding the following YAML to the KnativeServing CR fixed the http/https redirect issue. Not sure if or how others are able to connect to it out of the box, but I needed this to fix the routes to work correctly.

# in knative-serving
apiVersion: operator.knative.dev/v1beta1
kind: KnativeServing
...
spec:
  config:
    network:
      httpProtocol: redirected

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