Converting a Kubernetes Deployment to a Knative Service
- Reduces the footprint of the service instance because the instance scales to 0 when it becomes idle.
- All work done is triggered by HTTP.
- The container is stateless. All state is stored elsewhere or can be re-created.
- Your workload uses only Secret and ConfigMap volumes.
Knative Service
kind: Service
metadata:
spec:
template:
containers:
- image: nginx