You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proposal: Support for pod template (podspec) #1951
As an alternative to #1816, I want to suggest that perhaps Revisions should support pod template (PodSpec) as an alternative to a container template (ContainerSpec).
I think this has come up before and been shot down, with the reasoning having been that the desired model in Knative Serving is to keep things simple-- and that multi-container pods don't fit that mold.
While I respect that rationale, I humbly propose that it could be flawed. Knative Serving isn't useful only for functions. imho, Knative Serving implements a deployment model that could be compelling for workloads (e.g. applictions) of any size. Supporting only one container per pod in a Revision would seem to preclude such "off label" use in many cases.
I'd like to propose that the current model be preserved, but that specifying a pod template instead of a container template become optional and that those two options be mutually exclusive with one another.
The thing that made knative serving so attractive was the ability to lower the barrier for scaling on something other than CPU threshold, scale to zero at idle states, effectively manage append-only versions of a service, having an easily managed message queue in front of a service ingress (retry, async, throttling), and potentially some other features I'm not able to recall from memory. None of those are dependent on just a single container, and pretty much that whole list would be applicable to sidecar models of pod deployments. Knative might be attracting attention due to the fact it's using a buzzword serverless, but in my mind knative has a bountiful feature-set applicable to the entirely of services in kubernetes.
Activity
voor commentedon Aug 28, 2018
The thing that made knative serving so attractive was the ability to lower the barrier for scaling on something other than CPU threshold, scale to zero at idle states, effectively manage append-only versions of a service, having an easily managed message queue in front of a service ingress (retry, async, throttling), and potentially some other features I'm not able to recall from memory. None of those are dependent on just a single container, and pretty much that whole list would be applicable to sidecar models of pod deployments. Knative might be attracting attention due to the fact it's using a buzzword
serverless, but in my mind knative has a bountiful feature-set applicable to the entirely of services in kubernetes.mattmoor commentedon Aug 29, 2018
I think this is covered by #1794 going to dedupe.