Gemfire: How to create the Gemfire cluster in Kubernetes
search cancel

Gemfire: How to create the Gemfire cluster in Kubernetes

book

Article ID: 384009

calendar_today

Updated On:

Products

Gemfire Pivotal GemFire VMware GemFire Enterprise Edition VMware Tanzu Gemfire

Issue/Introduction

This guide will show you how to install the Gemfire cluster in Kubernetes.

 

 

Resolution

Generally, there are two steps to deploy the Gemfire cluster in Kubernets.

 

1. Install the Gemfire Operator

 

  • Before we install the Gemfire operator, we should install the cert manager

    kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.0/cert-manager.yaml

 

  • Create the secret to pull the image

         Please replace the username and the password with information from the Broadcom support portal.

    kubectl create secret docker-registry image-pull-secret --docker-server=registry.packages.broadcom.com --docker-username='USERNAME' --docker-password='PASSWORD'

 

  • Install the helm
    helm registry login -u 'USERNAME' registry.packages.broadcom.com

 

  • Install the Operator
    helm install gemfire-crd oci://registry.packages.broadcom.com/tanzu-gemfire-for-kubernetes/gemfire-crd --version 2.4.0 --set operatorReleaseName=gemfire-operator
    helm install gemfire-operator oci://registry.packages.broadcom.com/tanzu-gemfire-for-kubernetes/gemfire-operator --version 2.4.0

 

  • Verify the Operator installation status
    kubectl get crd gemfireclusters.gemfire.vmware.com

         

 

2. Deploy the Gemfire cluster

  • Please download the attachment and apply it

         kubectl apply -f gemfire.yaml

 

  • Verify the pod status
    kubectl get pods

Attachments

gemfire.yaml get_app