Prerequisites
On this page
Kubernetes concepts
This tutorial assumes you have a basic knowledge of containers and Kubernetes concepts such as Objects, Pods, PersistentVolumes, and so on.
kubectl
Follow these instructions to install kubectl on the host used to control and manage your cluster.
Host requirements
Cluster deployments must be on hosts that satisfy SingleStore’s hardware and software requirements.
-
Red Hat OpenShift Container Platform 4.
x+ -
Kubernetes versions 1.
19 through 1. 35 Note
For supported deployments on AWS, Azure, or GCP, please use SingleStore Helios.
A Helm chart is available for deploying SingleStore clusters via a Kubernetes operator.
Please note that the code in this repository is for experimental use only and is not fully tested, documented, or supported by SingleStore. Visit the SingleStore Forums for questions about, and support for, this repository. -
Physical or virtual machines with the following:
-
The number of vCPUs, the amount of RAM, and the size of the persistent cache will vary based on the license version used to deploy SingleStore.
Refer to General for more information. -
Running Linux kernel 3.
10 or later and either an xfsorext4filesystem -
Each SingleStore Pod needs to be able to communicate with other SingleStore Pods in the same cluster over port 3306
-
The Kubernetes worker nodes/host systems must meet the specified system requirements as outlined in our System Requirements and Recommendations documentation.
-
Refer to Set System Requirements for more information on how to configure hosts with a Kubernetes DaemonSet.
Host recommendations
Consideration should be given to future expansion needs.allowVolumeExpansion is set to true to enable future storage size increases.
Licensing on Kubernetes
SingleStore license units are calculated based on leaf node pod resource requests, not on the specifications of the underlying worker nodes.
Only leaf nodes consume license units.
Key Implications for Kubernetes
-
A dedicated worker node pool is not required for licensing purposes.
Leaf pods can run on shared worker nodes without affecting license calculations. -
License consumption depends solely on the resource requests defined in the
MemsqlClustercustom resource. -
When you scale leaf replicas horizontally, each additional leaf pod adds license units based on its own resource requests.
Example
A cluster with four leaf pods, each requesting 16 vCPUs, 128 GB RAM, and 500 GB disk cache:
-
Per leaf: max(16 ÷ 8, 128 ÷ 64, 500 ÷ 1000) = max(2, 2, 0.
5) = 2 license units -
Total: 4 × 2 = 8 license units
Last modified: