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
The controller only defines a default CPU Request currently, with custom specification of resources on the engine available through the svcOrch specification. As we tighten up our underlying K8s installation with OPA policies (specifically a policy requiring both requests and limits for CPU and memory be set), SeldonDeployments without engine resources defined in the svcOrch spec fail to deploy.
To reproduce
Deploy any SeldonDeployment with svcOrch resources specified in a cluster with an OPA policy requiring that containers have resources defined.
Expected behaviour
The default installation can come up without being blocked by OPA.
Environment
K8s installation with OPA policies enabled (specifically requiring requests/limits).
Model Details
Images of your model: [Output of: kubectl get seldondeployment -n <yourmodelnamespace> <seldondepname> -o yaml | grep image: where <yourmodelnamespace>]
Logs of your model: [You can get the logs of your model by running kubectl logs -n <yourmodelnamespace> <seldonpodname> <container>]
The text was updated successfully, but these errors were encountered:
I've been specifying 1 CPU and 512Mi of memory, but I haven't really run a stress test in a while. Definitely open to guidance if you have any thoughts here.
Describe the bug
The controller only defines a default CPU Request currently, with custom specification of resources on the engine available through the
svcOrch
specification. As we tighten up our underlying K8s installation with OPA policies (specifically a policy requiring both requests and limits for CPU and memory be set),SeldonDeployments
without engine resources defined in thesvcOrch
spec fail to deploy.To reproduce
svcOrch
resources specified in a cluster with an OPA policy requiring that containers have resources defined.Expected behaviour
The default installation can come up without being blocked by OPA.
Environment
K8s installation with OPA policies enabled (specifically requiring requests/limits).
Model Details
kubectl get seldondeployment -n <yourmodelnamespace> <seldondepname> -o yaml | grep image:
where<yourmodelnamespace>
]kubectl logs -n <yourmodelnamespace> <seldonpodname> <container>
]The text was updated successfully, but these errors were encountered: