All fluentd pods keeps crashing due to certificate mismatch on OpenShift

Solution Verified - Updated -

Issue

fluentd pods in the project openshift-logging keeps crashing with status CrashLoopBackOff. The pods logs shows the error:

[error]: unexpected error error="hostname \"kubernetes.default.svc.cluster.local\" does not match the server certificate"

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 3.9
    • 3.10
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content