CKA mock EXam 5 Q8 -daemonset with nodeAffinity

It seems to be a bug, because config is right and according to the guide, but no pods are scheduled to hte controlplane:

I’m not sure exactly what you did, but the following worked for me and validated for Q8:

  • I noticed that the ds template has a toleration for “master” rather than “controlplane”.
  • used k edit ds to change the toleration defined to
      tolerations:
      - effect: NoSchedule
        key: node-role.kubernetes.io/control-plane
        operator: Exists
  • on save, the second pod came up, and the question validated.