Configure Deployment resources
You can view the current config-deployment
ConfigMap by running the following command:
Configuring progress deadline settings allows you to specify the maximum time, either in seconds or minutes, that you will wait for your Deployment to progress before the system reports back that the Deployment has failed progressing for the Knative Revision.
The Knative Autoscaler component scales the revision to 0, and the Knative service enters a terminal Failed
state, if the initial scale cannot be achieved within the time limit defined by this setting.
You may want to configure this setting as a higher value if any of the following issues occur in your Knative deployment:
- It takes a long time for the Service to become
READY
, due to priming of the initial cache state.
The following example shows a snippet of an example Deployment Config Map that sets this value to 10 minutes:
You can configure Knative Serving to skip tag resolution for Deployments by modifying the ConfigMap setting.