Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-4270

Console does not honor well known label topology.kubernetes.io/zone

XMLWordPrintable

    • False
    • None
    • False
    • Not Selected

      Console deployment does not honor well known label `topology.kubernetes.io/zone`. This causes outages of the console in case one of the zones goes down.

      $ oc get node -o go-template='{{range .items}}{{.metadata.name}} {{.metadata.labels}}{{"\n"}}{{end}}'
      rhodain01-openshift-master-0 map[beta.kubernetes.io/arch:amd64 beta.kubernetes.io/os:linux kubernetes.io/arch:amd64 kubernetes.io/hostname:rhodain01-openshift-master-0 kubernetes.io/os:linux node-role.kubernetes.io/control-plane: node-role.kubernetes.io/master: node.openshift.io/os_id:rhcos topology.kubernetes.io/zone:primary]
      rhodain01-openshift-master-1 map[beta.kubernetes.io/arch:amd64 beta.kubernetes.io/os:linux kubernetes.io/arch:amd64 kubernetes.io/hostname:rhodain01-openshift-master-1 kubernetes.io/os:linux node-role.kubernetes.io/control-plane: node-role.kubernetes.io/master: node.openshift.io/os_id:rhcos topology.kubernetes.io/zone:primary]
      rhodain01-openshift-master-2 map[beta.kubernetes.io/arch:amd64 beta.kubernetes.io/os:linux kubernetes.io/arch:amd64 kubernetes.io/hostname:rhodain01-openshift-master-2 kubernetes.io/os:linux node-role.kubernetes.io/control-plane: node-role.kubernetes.io/master: node.openshift.io/os_id:rhcos topology.kubernetes.io/zone:secondary]
      rhodain01-openshift-worker-0 map[beta.kubernetes.io/arch:amd64 beta.kubernetes.io/os:linux kubernetes.io/arch:amd64 kubernetes.io/hostname:rhodain01-openshift-worker-0 kubernetes.io/os:linux node-role.kubernetes.io/worker: node.openshift.io/os_id:rhcos topology.kubernetes.io/zone:primary]
      rhodain01-openshift-worker-1 map[beta.kubernetes.io/arch:amd64 beta.kubernetes.io/os:linux kubernetes.io/arch:amd64 kubernetes.io/hostname:rhodain01-openshift-worker-1 kubernetes.io/os:linux node-role.kubernetes.io/worker: node.openshift.io/os_id:rhcos topology.kubernetes.io/zone:secondary]
      rhodain01-openshift-worker-2 map[beta.kubernetes.io/arch:amd64 beta.kubernetes.io/os:linux kubernetes.io/arch:amd64 kubernetes.io/hostname:rhodain01-openshift-worker-2 kubernetes.io/os:linux node-role.kubernetes.io/worker: node.openshift.io/os_id:rhcos topology.kubernetes.io/zone:primary]
      rhodain01-openshift-worker-3 map[beta.kubernetes.io/arch:amd64 beta.kubernetes.io/os:linux kubernetes.io/arch:amd64 kubernetes.io/hostname:rhodain01-openshift-worker-3 kubernetes.io/os:linux node-role.kubernetes.io/worker: node.openshift.io/os_id:rhcos topology.kubernetes.io/zone:primary]
      rhodain01-openshift-worker-4 map[beta.kubernetes.io/arch:amd64 beta.kubernetes.io/os:linux kubernetes.io/arch:amd64 kubernetes.io/hostname:rhodain01-openshift-worker-4 kubernetes.io/os:linux node-role.kubernetes.io/worker: node.openshift.io/os_id:rhcos topology.kubernetes.io/zone:secondary]
      
      oc get deployment console -n openshift-console -o yaml | grep -i topology.kubernetes.io/zone| wc -l
      0
       

              amobrem Ali Mobrem
              rhn-support-rhodain1 Roman Hodain
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: