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 }}
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.
The custom resource (CR) for the knative operators should allow for tweaking all the resources deployed at the Kuberneters spec level. For example, allow for Affinity, Envs, HPA, Image pull policy, Annotations, Replicas, probes (readiness, liveness, startup), LifeCycle, Priority class, Tolerations, Request sizes...
For example, there are cases where the default deployment needs to be tweaked for a specific usage.
In one case we needed to add a Lifecycle preStop to a deployment to allow it more time to shutdown.
An example of how Istio handled this in the CR looked like this:
We would like implement on a use case based approach, instead of offering one powerful way to override everything.
Another related topic: knative/operator#5
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem
The custom resource (CR) for the knative operators should allow for tweaking all the resources deployed at the Kuberneters spec level. For example, allow for Affinity, Envs, HPA, Image pull policy, Annotations, Replicas, probes (readiness, liveness, startup), LifeCycle, Priority class, Tolerations, Request sizes...
For example, there are cases where the default deployment needs to be tweaked for a specific usage.
In one case we needed to add a
Lifecycle preStop
to a deployment to allow it more time to shutdown.An example of how Istio handled this in the CR looked like this:
Where ingressGateways in the high level CR component and istio-ingressgateway is the section of the manifest we are interested in patching.
The patch is straight forward, just a basic spec path and values to patch in there.
Which persona is this feature for?
integrator
Exit Criteria
See the deployment yaml output changed to include the patched values.
Time Estimate (optional):
not sure.
Additional context (optional)
Refs:
https://istio.io/docs/setup/install/standalone-operator/
https://istio.io/docs/setup/install/istioctl/#customize-kubernetes-settings
The text was updated successfully, but these errors were encountered: