mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
Add notes on restrictions for overriding probes
Fix the information on which probes can be overridden Add missing net-istio-webhook information regarding probes Co-authored-by: Martin Gencur <mgencur@redhat.com>
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
b8c628f7d7
commit
34ea23ff2a
@@ -6,7 +6,22 @@ include::_attributes/common-attributes.adoc[]
|
||||
|
||||
toc::[]
|
||||
|
||||
You can override the default configurations for some specific deployments by modifying the `deployments` spec in the `KnativeEventing` custom resource (CR).
|
||||
You can override the default configurations for some specific deployments by modifying the `deployments` spec in the `KnativeEventing` custom resource (CR). Currently, overriding default configuration settings is supported for the `eventing-controller`, `eventing-webhook`, and `imc-controller` fields, as well as for the `readiness` and `liveness` fields for probes.
|
||||
|
||||
[IMPORTANT]
|
||||
====
|
||||
The `replicas` spec cannot override the number of replicas for deployments that use the Horizontal Pod Autoscaler (HPA), and does not work for the `eventing-webhook` deployment.
|
||||
====
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
You can only override probes that are defined in the deployment by default.
|
||||
|
||||
All Knative Serving deployments define a readiness and a liveness probe by default, with these exceptions:
|
||||
|
||||
* `net-kourier-controller` and `3scale-kourier-gateway` only define a readiness probe.
|
||||
* `net-istio-controller` and `net-istio-webhook` define no probes.
|
||||
====
|
||||
|
||||
include::modules/knative-eventing-CR-system-deployments.adoc[leveloffset=+1]
|
||||
|
||||
|
||||
@@ -6,8 +6,18 @@ include::_attributes/common-attributes.adoc[]
|
||||
|
||||
You can override the default configurations for some specific deployments by modifying the `deployments` spec in the `KnativeServing` custom resources (CRs).
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
You can only override probes that are defined in the deployment by default.
|
||||
|
||||
All Knative Serving deployments define a readiness and a liveness probe by default, with these exceptions:
|
||||
|
||||
* `net-kourier-controller` and `3scale-kourier-gateway` only define a readiness probe.
|
||||
* `net-istio-controller` and `net-istio-webhook` define no probes.
|
||||
====
|
||||
|
||||
include::modules/knative-serving-CR-system-deployments.adoc[leveloffset=+1]
|
||||
|
||||
[role="_additional-resources"]
|
||||
.Additional resources
|
||||
* link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#probe-v1-core[Probe configuration section of the Kubernetes API documentation]
|
||||
* link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#probe-v1-core[Probe configuration section of the Kubernetes API documentation]
|
||||
|
||||
Reference in New Issue
Block a user