Skip to content
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

Issue with Documentation: Confusion Over Full Duplex Setup #5873

Closed
QW-pawankundar opened this issue Feb 20, 2024 · 3 comments
Closed

Issue with Documentation: Confusion Over Full Duplex Setup #5873

QW-pawankundar opened this issue Feb 20, 2024 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@QW-pawankundar
Copy link

There appears to be a discrepancy in the documentation regarding the configuration of full duplex support. The current documentation suggests placing the feature flag within the annotations of the service template. However, this placement does not seem to enable the desired functionality.

Documentation Reference: Knative Documentation - Configure HTTP1 Full Duplex Support

Current Documentation Suggestion:

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
 name: example-service
 namespace: default
spec:
 template:
  spec:
   annotations:
    features.knative.dev/http-full-duplex: "Enabled"

Question:
Should the feature flag features.knative.dev/http-full-duplex be placed:

  1. Inside the metadata of the service template?
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
 name: example-service
 namespace: default
spec:
 template:
  metadata:
   annotations:
    features.knative.dev/http-full-duplex: "Enabled"

or

  1. directly inside the metadata?
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
 annotations:
  features.knative.dev/http-full-duplex: "Enabled"

Any insights would be greatly appreciated. Thank you!

@QW-pawankundar QW-pawankundar added the kind/bug Categorizes issue or PR as related to a bug. label Feb 20, 2024
@ReToCode
Copy link
Member

ReToCode commented Feb 20, 2024

You are correct that this was wrong. It was fixed with #5867.

The current docs reflect how it should be: https://knative.dev/docs/serving/services/http-protocol/#configure-http1-full-duplex-support

@skonto
Copy link
Contributor

skonto commented Feb 21, 2024

Hi @QW-pawankundar is it ok if we close this?

@QW-pawankundar
Copy link
Author

QW-pawankundar commented Feb 23, 2024

Sure @skonto we can close this, we are using the below placement for the full duplex feature flag.

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
 name: example-service
 namespace: default
spec:
 template:
  metadata:
   annotations:
    features.knative.dev/http-full-duplex: "Enabled"

Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants