Skip to content
Snippets Groups Projects
Commit 96bea894 authored by Konstantinos Samaras-Tsakiris's avatar Konstantinos Samaras-Tsakiris Committed by Francisco Borges Aurindo Barros
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 86dda322
No related branches found
No related tags found
1 merge request!135Tunned Critical QoS
......@@ -1149,6 +1149,7 @@ func deploymentForDrupalSite(currentobject *appsv1.Deployment, databaseSecret st
if currentobject.CreationTimestamp.IsZero() {
currentobject.Spec.Template.ObjectMeta.Annotations = map[string]string{}
if d.Spec.QoSClass == webservicesv1a1.QoSCritical {
// TODO: move this to the `DeploymentConfig`
// openshift-user-critical is part of the default OKD4 Priority classes
// https://github.com/openshift/cluster-config-operator/blob/168704868381c88551627239d132a3900eedc14f/manifests/0000_50_config-operator_09_user-priority-class.yaml
currentobject.Spec.Template.Spec.PriorityClassName = "openshift-user-critical"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment