Expected Behavior
As a user of Knative I can pick any valid port for my container.
Actual Behavior
Currently ports 8012 and 8022 are hardcoded and used by the QueueProxy sidecar. Since they share the same network interface as the user container, the user container cannot select these ports. Use of these ports are currently blocked by the webhook (#2753). This issue is to update the QueueProxy to allow it to be started on arbitrary ports, and update the routing to the QueueProxy to support the arbitrary port.
Additional Info
https://github.com/knative/serving/blob/master/pkg/queue/constants.go
https://github.com/knative/serving/blob/master/cmd/queue/main.go
https://github.com/knative/serving/blob/master/pkg/reconciler/v1alpha1/revision/resources/queue.go
https://github.com/knative/serving/blob/master/pkg/reconciler/v1alpha1/revision/resources/deploy.go
Expected Behavior
As a user of Knative I can pick any valid port for my container.
Actual Behavior
Currently ports 8012 and 8022 are hardcoded and used by the QueueProxy sidecar. Since they share the same network interface as the user container, the user container cannot select these ports. Use of these ports are currently blocked by the webhook (#2753). This issue is to update the QueueProxy to allow it to be started on arbitrary ports, and update the routing to the QueueProxy to support the arbitrary port.
Additional Info
https://github.com/knative/serving/blob/master/pkg/queue/constants.go
https://github.com/knative/serving/blob/master/cmd/queue/main.go
https://github.com/knative/serving/blob/master/pkg/reconciler/v1alpha1/revision/resources/queue.go
https://github.com/knative/serving/blob/master/pkg/reconciler/v1alpha1/revision/resources/deploy.go