Skip to content

Commit

Permalink
Add management workload annotations
Browse files Browse the repository at this point in the history
In support of the workload partitioning feature
(openshift/enhancements#703), we need to add
annotations to all management pods and namespaces so they can be
properly identified and assigned to segregated management cores on
clusters configured to do so.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
  • Loading branch information
Artyom Lukianov committed Apr 8, 2021
1 parent 20e52fd commit 7009736
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions install/0000_00_cluster-version-operator_00_namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
openshift.io/node-selector: ""
workload.openshift.io/allowed: "management"
labels:
name: openshift-cluster-version
openshift.io/run-level: "1"
Expand Down
2 changes: 2 additions & 0 deletions install/0000_00_cluster-version-operator_03_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ spec:
template:
metadata:
name: cluster-version-operator
annotations:
workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
labels:
k8s-app: cluster-version-operator
spec:
Expand Down

0 comments on commit 7009736

Please sign in to comment.