cloud-on-k8s icon indicating copy to clipboard operation
cloud-on-k8s copied to clipboard

OpenShift Troubleshooting for ECK beat deployment

Open SeanPlacchetti opened this issue 4 years ago • 1 comments

Update the troubleshooting page with notes on deploying beats to OpenShift 3.11

Beats (metricbeat, auditbeat, filebeat) will not go to all the nodes without this step in OpenShift 3.11

Per this documentation: https://docs.openshift.com/container-platform/3.11/dev_guide/daemonsets.html

You need to run this: oc patch namespace myproject -p '{"metadata": {"annotations": {"openshift.io/node-selector": ""}}}' to open up any project where you'd apply yaml using the beat CRD. This might be helpful to others, as it's a hidden default value.

SeanPlacchetti avatar Aug 25 '20 19:08 SeanPlacchetti

On OpenShift 4, I think, we might need these tolerations on the Pods:

      tolerations:
      - effect: NoSchedule
        key: node-role.kubernetes.io/master
        operator: Exists

This is because master nodes have this taint by default on OCP 4:

  taints:
  - effect: NoSchedule
    key: node-role.kubernetes.io/master

As a side note, regarding "monitoring Pods" like Beats deployments, we might also want to tolerate other kinds of conditions/taints, but it is not OCP specific.

barkbay avatar Sep 08 '21 13:09 barkbay