Skip to content

Commit

Permalink
Merge pull request #775 from ecordell/priorityclass
Browse files Browse the repository at this point in the history
chore(deploy): set priorityclass on olm pods
  • Loading branch information
openshift-merge-robot authored Mar 30, 2019
2 parents a88f534 + 61f2a02 commit b3ec35a
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ spec:
{{- end }}
image: {{ .Values.olm.image.ref }}
imagePullPolicy: {{ .Values.olm.image.pullPolicy }}
{{- if and .Values.installType (eq .Values.installType "ocp") }}
priorityClassName: "system-cluster-critical"
{{- end }}
ports:
- containerPort: {{ .Values.olm.service.internalPort }}
- containerPort: 8081
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ spec:
{{- end }}
image: {{ .Values.catalog.image.ref }}
imagePullPolicy: {{ .Values.catalog.image.pullPolicy }}
{{- if and .Values.installType (eq .Values.installType "ocp") }}
priorityClassName: "system-cluster-critical"
{{- end }}
ports:
- containerPort: {{ .Values.catalog.service.internalPort }}
- containerPort: 8081
Expand Down
3 changes: 3 additions & 0 deletions deploy/chart/templates/_packageserver.deployment-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ spec:
{{- end }}
image: {{ .Values.package.image.ref }}
imagePullPolicy: {{ .Values.package.image.pullPolicy }}
{{- if and .Values.installType (eq .Values.installType "ocp") }}
priorityClassName: "system-cluster-critical"
{{- end }}
ports:
- containerPort: {{ .Values.package.service.internalPort }}
livenessProbe:
Expand Down
1 change: 1 addition & 0 deletions manifests/0000_50_olm_07-olm-operator.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ spec:
- /var/run/secrets/serving-cert/tls.key
image: quay.io/operator-framework/olm@sha256:4b7dec341fc754fdd2c8784ca7d81747ebbb2b87866b9e61ebbebc8c5614cfdc
imagePullPolicy: IfNotPresent
priorityClassName: "system-cluster-critical"
ports:
- containerPort: 8080
- containerPort: 8081
Expand Down
1 change: 1 addition & 0 deletions manifests/0000_50_olm_08-catalog-operator.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ spec:
- /var/run/secrets/serving-cert/tls.key
image: quay.io/operator-framework/olm@sha256:4b7dec341fc754fdd2c8784ca7d81747ebbb2b87866b9e61ebbebc8c5614cfdc
imagePullPolicy: IfNotPresent
priorityClassName: "system-cluster-critical"
ports:
- containerPort: 8080
- containerPort: 8081
Expand Down
1 change: 1 addition & 0 deletions manifests/0000_50_olm_11-olm-operators.configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ data:
- openshift-operator-lifecycle-manager
image: quay.io/operator-framework/olm@sha256:4b7dec341fc754fdd2c8784ca7d81747ebbb2b87866b9e61ebbebc8c5614cfdc
imagePullPolicy: IfNotPresent
priorityClassName: "system-cluster-critical"
ports:
- containerPort: 5443
livenessProbe:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ spec:
- openshift-operator-lifecycle-manager
image: quay.io/operator-framework/olm@sha256:4b7dec341fc754fdd2c8784ca7d81747ebbb2b87866b9e61ebbebc8c5614cfdc
imagePullPolicy: IfNotPresent
priorityClassName: "system-cluster-critical"
ports:
- containerPort: 5443
livenessProbe:
Expand Down
1 change: 1 addition & 0 deletions manifests/0000_50_olm_17-packageserver.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ spec:
- openshift-operator-lifecycle-manager
image: quay.io/operator-framework/olm@sha256:4b7dec341fc754fdd2c8784ca7d81747ebbb2b87866b9e61ebbebc8c5614cfdc
imagePullPolicy: IfNotPresent
priorityClassName: "system-cluster-critical"
ports:
- containerPort: 5443
livenessProbe:
Expand Down

0 comments on commit b3ec35a

Please sign in to comment.