Chapter 10. HTTP configuration
10.1. Global HTTPS redirection Copy linkLink copied to clipboard!
HTTPS redirection provides redirection for incoming HTTP requests. These redirected HTTP requests are encrypted. You can enable HTTPS redirection for all services on the cluster by configuring the httpProtocol
spec for the KnativeServing
custom resource (CR).
10.1.1. HTTPS redirection global settings Copy linkLink copied to clipboard!
Example KnativeServing
CR that enables HTTPS redirection
10.2. HTTPS redirection per service Copy linkLink copied to clipboard!
You can enable or disable HTTPS redirection for a service by configuring the networking.knative.dev/http-option
annotation.
10.2.1. Redirecting HTTPS for a service Copy linkLink copied to clipboard!
The following example shows how you can use this annotation in a Knative Service
YAML object:
10.3. Full duplex support for HTTP/1 Copy linkLink copied to clipboard!
You can enable the HTTP/1 full duplex support for a service by configuring the features.knative.dev/http-full-duplex
annotation.
Verify your HTTP clients before enabling, as earlier version clients might not provide support for HTTP/1 full duplex.
The following example shows how you can use this annotation in a Knative Service
YAML object at the revision spec level:
Example KnativeServing
CR that provides full duplex support for HTTP/1