When using a customized "cache-container" ConfigMap, it may not be possible to change the RHDG 8 pod status from "unready" to "ready".

Solution Unverified - Updated -

Issue

  • The issue occurs when the ConfigMap for an custom cache-container is configured name is not default like below. The below sets name as ProbeFailure.

    apiVersion: v1
    kind: ConfigMap
    metadata:
     name: cache-container-config
     namespace: dg8test
    data:
     infinispan-config.xml: >
        <infinispan>
           <cache-container name="ProbeFailure" statistics="true">  <<== HERE. The `name` is not `default`.
    ..snip..
    

    Sample:

    % oc get infinispan
    NAME     AGE
    dgtest   34m
    % oc get pod dgtest-0
    NAME       READY   STATUS    RESTARTS        AGE
    dgtest-0   0/1     Running   3 (3m13s ago)   33m  <<== NOT READY
    

Environment

  • Red Hat Data Grid (RHDG) 8.x
  • Red Hat Data Grid Operator 8.x

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