Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Basic Examples

Basic examples of using GridGain Operator: scaling a cluster, switching to Ignite, rolling upgrades, switching to in-memory mode, and adjusting configuration.

This section contains basic examples of GridGain Operator usage. The section does not include a full set of possible operations that you can do with Operator, but should provide you with a knowledge on how to perform some of the operations using Operator.

All examples assume that you have a deployed cluster with the default settings. Please refer to the Getting Started section for more details.

This section uses the following assumptions:

  • A dedicated namespace for operator deployment is created. See the Create Operator namespace section for GridGain Operator configuration.

  • CustomResourceDefinitions is deployed, See the Apply CRDs section for more details.

  • RBAC is configured. See the Apply RBAC section for more details.

  • Operator is deployed. See the Deploy the Operator section for more details.

  • Ignite and IgniteConfig resources are deployed. See the Deploy the Operator section for more details.

Scaling a Cluster

With the default settings, a cluster has two server nodes available. To bring a new node or to remove a current one, adjust the number_of_nodes parameter for the Ignite custom resource.

1. Change number_of_nodes to 3 and save the 'ignite.yaml' file

  # Number of pods.
  # ---
  number_of_nodes: 3

Save the file changes

2. Apply changes in the Ignite custom resource

Changes should be automatically propagated to the operator and after a short time you should notice a new node available:

Switching to Ignite Version

By default, Operator deploys the latest GridGain version. To switch to Ignite cluster, adjust the Cluster Image

1. Change the Ignite Resource

Adjust ignite.yaml and make the following changes:

Save the file changes.

2. Apply Changes

To deploy a new cluster, run the following commands:

3. Check the Result

Rolling Upgrade

Suppose you have previously deployed a cluster with the following GridGain version specified in Ignite resource:

And now you want to upgrade to a newer version, for example, 8.7.33.

1. Make sure that the RollingUpgrade property is configured

Open ignite_config.yaml and add the following lines if absent:

Save the file and apply changes

2. Change the Image

Modify ignite.yaml and set a newer image version:

Save the file and apply changes

3. Check the Result

Note, PODs are restarted one-by-one:

Switching to In-Memory Mode

By default, Operator comes with a persistent cluster configuration. To switch to pure in-memory mode, perform the following changes:

1. Change 'cluster_type' to 'in-memory' for Ignite CR

Save ignite.yaml file.

2. Change IgniteConfig CR to the following one:

ignite_config.yaml

Save the ignite_config.yaml file.

3. Deploy Modified CRs

Cluster Configuration Adjustment

1. Make changes in the IgniteConfig resource

To make internal configuration changes, adjust the ignite_config.yaml file. For example, you want to deploy a new cache with a name "cacheName":

Make the changes and save the file.

2. Apply Changes

Apply changes:

3. Check the Result

Nodes are restarted automatically in order to reflect new changes.

This page is: Copyright © 2026 MariaDB. All rights reserved.

Last updated

Was this helpful?