LokiStack deployment fails with duplicated mapping key in RHOCP 4

Solution Verified - Updated -

Issue

  • While creating the LokiStack Custom Resource (CR) in the openshift-logging namespace, as outlined in the section Example LokiStack CR with node selectors and tolerations, the following error occurs:

    An error occurred
    Error parsing YAML: YAMLException: duplicated mapping key at line XX, column -XXX:
    nodeSelector:
    tolerations:
    

Environment

  • Red Hat OpenShift Container Platform
    • 4
  • Red Hat OpenShift Logging (RHOL)
    • 5, 6
  • LokiStack

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