Knative Configuration is a custom resource that declares the desired configuration of a workload separately from its container code. It belongs to Knative Serving’s resource model, alongside Service, Revision, and Route: changing the configuration creates a new immutable Revision, while Routes expose revisions to users. section 9.3.2
Use Configuration to:
- Separate application configuration from the container image. section 9.3.2
- Trigger a new Revision when configuration changes. section 9.3.2
- Rely on a Knative Service to create and manage the related Configuration, Revision, and Route resources. section 9.3.2
Deployment relationship
Applying a Knative Service manifest with a container image and environment variable creates multiple objects, including a Configuration and Revision. You can inspect them with kubectl get pod,ksvc,configuration,revision,route. section 9.3.6
Inspect the resource dependency diagram to see how Configuration fits into Knative Serving’s Service, Revision, and Route lifecycle. section 9.3.2
