How to configure nodeSelector and tolerations for LokiStack in RHOCP 4

Solution Verified - Updated -

Issue

  • How to configure the LokiStack to run in specific nodes
  • Desired to configure the nodeSelector and tolerations for the LokiStack
  • Since LokiStack is a part of RedHat OpenShift Logging LokiStack Component pods need to be scheduled on Infra nodes rather than Worker nodes.
  • How to move Loki Component pods on Infra Nodes?
  • Not able to configure the nodeSelector for logging-loki-gateway
  • The logging-loki-gateway is not running in the nodes specified by the nodeSelector

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Logging
    • 5
  • 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