To install the chart with the default configuration, use the following command:
helminstallmy-releasegridgain/gridgain
This installs GridGain on your Kubernetes cluster.
Step 3 (Optional): Customize Your Installation
You can customize the installation by providing a custom values.yaml file or using the --set options. Here is an example of providing custom values:
Following are two common customizations.
3.1. Custom Configuration for GridGain
You can provide custom configuration for GridGain by passing configuration parameters in the values.yaml file.
3.2. Custom License
To install GridGain with a custom license, you can use the license key.
3.3. Authentication Configuration
To configure authentication for GridGain, specify the auth section in the values.yaml file. Authentication may include usernames, passwords, and permissions.
3.4. Volume Configuration
To configure persistent storage or attach custom volumes to GridGain, define the volume mounts and persistence settings in values.yaml.
Do not store the work directory, WAL, or WAL archive on NFS volumes. GridGain uses an OS-level advisory lock (fcntl) to prevent two nodes from sharing a persistence directory. On NFS volumes the lock is held by the server and survives the client for up to 30-90 seconds. Because Kubernetes restarts crashed pods inside that window, the restarting node cannot reacquire its own lock and the pod is stuck in CrashLoopBackOff until the server times out.
Updating Your Installation
To update GridGain with new values, run the following command:
Uninstalling GridGain
To remove the installation from your Kubernetes cluster, use the following command: