Description of problem: The cluster network operator itself can be deployed without master node selectors. However, it produces operands that select master nodes. In a ROKS/hypershift deployment there are no master nodes. We need to update operator behavior so that the deployments it lays down do not select master nodes. Version-Release number of selected component (if applicable): 4.9 How reproducible: Always Steps to Reproduce: 1. Install 4.9 OCP with hypershift/ROKS Actual results: There are master node selectors in network operator components. Expected results: There are no master node selectors in network operator components. Additional info:
@cewong I checked the network operator on OCP 4.9 with latest version of Hypershift. > The network operator on guest cluster still selects master node with nodeSelector: "node-role.kubernetes.io/master":"". ``` $ oc --kubeconfig=guest.yaml get deploy network-operator -n openshift-network-operator -ojsonpath='{.spec.template.spec.nodeSelector}' {"node-role.kubernetes.io/master":""} ``` > the CR infrastructure of guest cluster is same with that of OCP. Their infrastructure.Status.ControlPlaneTopology are both set to HighlyAvailable ``` $ oc --kubeconfig=guest.yaml get infrastructure cluster -ojsonpath='{.status.controlPlaneTopology}' HighlyAvailable ``` Now no failure occurs because guest cluster's node role is master/worker. They have "master" label to support the pods' nodeSelector. It seems that the default behavior is not as expected. Is the solution of this bug based on controlPlaneTopology = External ? If I must build OCP with External topology, do you know how to config that, thanks a lot!
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.9.4 bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3935