-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
None
-
-
None
OpenShift version: 4.20.10
OpenShift Virtualization version: 4.20.3
After deploying OpenShift Virtualization on an OpenShift cluster that has 1 master node and 6 worker nodes, the two alerts are firing:
- LowVirtAPICount
- LowVirtControllersCount
The OpenShift Virtualization operator has created virt-api and virt-controller deployments that place their pods on master nodes. In this context, it is anticipated that in a cluster with a single master node, there will be only one virt-api pod and one virt-controller pod deployed. The two alerts, LowVirtAPICount and LowVirtControllersCount, should not be triggered.
$ oc get -n openshift-cnv deploy
NAME READY UP-TO-DATE AVAILABLE AGE ... virt-api 1/1 1 1 16h virt-controller 1/1 1 1 16h ...
$ oc get deploy -n openshift-cnv virt-api -o yaml
... spec: ... template: ... spec: affinity: nodeAffinity: preferredDuringSchedulingIgnoredDuringExecution: - preference: matchExpressions: - key: node-role.kubernetes.io/worker operator: DoesNotExist weight: 100 requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: node-role.kubernetes.io/control-plane operator: Exists - matchExpressions: - key: node-role.kubernetes.io/master operator: Exists podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - podAffinityTerm: labelSelector: matchExpressions: - key: kubevirt.io operator: In values: - virt-api topologyKey: kubernetes.io/hostname weight: 1 ...
This issues is likely related to https://issues.redhat.com/browse/CNV-50027.