Storage class gp2 not found for Loki in RHOCP 4

Solution Verified - Updated -

Issue

  • After deploying the LokiStack custom resource with gp2 or gp3 as storageClassName, the message below appears in openshift-logging namespace events:

    storageclass.storage.k8s.io "gp2" not found 
    
  • What Storageclass are provisioned by Loki?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.12
  • Red Hat Openshift Logging (RHOL)
    • 5.5
    • 5.6

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