Chapter 4. Starting and Stopping the Database


VoltDB Home » Documentation » VoltDB Kubernetes Administrator's Guide

Chapter 4. Starting and Stopping the Database

The key to managing VoltDB clusters in Kubernetes is to let the Helm charts do the work for you. You can use helm commands to perform all basic database management activities. This chapter explains how to use helm commands to:

  • Start the cluster for the first time

  • Stop and restart the cluster

  • Resize the cluster

  • Pause and resume

Subsequent chapters explain how to modify the database and cluster configuration of a running database as well as upgrade the VoltDB software itself.

4.1. Starting the Cluster for the First Time

As described in Chapter 2, Configuring the VoltDB Database Cluster you can customize every aspect of the database and the cluster using Helm properties and the configuration can be a simple or as complex as you choose. But once you have determined the configuration options you want to use, actually initializing and starting the database cluster is a single command, helm install. For example:

$ helm install mydb voltdb/voltdb                        \
   --values myconfig.yaml                                \
   --set-file cluster.config.licenseXMLFile=license.xml  \
   --set cluster.clusterSpec.replicas=5