Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12076

Ability to define the Cache template in yaml in the operator

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Operator
    • None

      In infinispan operator 2.0, there is a way to define caches with kubernetes CR. However, defining the template for that cache should be done in xml: https://github.com/infinispan/infinispan-operator/blob/master/documentation/asciidoc/topics/proc_creating_caches_xml.adoc

      However, it is not ideal to use xml in yaml files. For example, instead of:

       

      name: mycache
      template: <infinispan><cache-container><distributed-cache><mode>SYNC</mode><owners>1</owners></distributed-cache></cache-container></infinispan>

       

      It will be better something like:

       

      name: mycache
      template:
        distributed-cache:
          mode: SYNC
          owners: 1

              vrigamon@redhat.com Vittorio Rigamonti
              rgordill1@redhat.com Ramon Gordillo Gutierrez
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: