Important
Self-managed SingleStore will soon transition from version 9.1 RC to version 10. This new semantic versioning scheme will provide SingleStore with finer control over engine and feature releases that were not possible with the current versioning scheme.
In the interim, SingleStore 9.1 RC can be used to preview, evaluate, and provide feedback on the new and upcoming features in SingleStore 10 prior to its general availability. Ahead of this transition, SingleStore 9.0 is recommended for production workloads, which can later be upgraded to SingleStore 10.
Set System Requirements
Each Kubernetes worker node (host system) must meet the system requirements as specified in the System Requirements and Recommendations documentation.
As manually configuring a multitude of worker nodes to conform to SingleStore’s system requirements can be time-consuming, a DaemonSet can be employed to make this configuration easier.
One key benefit to using a DaemonSet is that, as you scale your cluster with additional worker nodes, the DaemonSet will automatically configure each worker node with the required settings.
The following DaemonSet template must run with elevated privileges in order to perform the required system-level updates to a worker node.
Note: The value of sysctl -w vm. must be updated to either 1% of system RAM or 4 GB, whichever is smaller:
apiVersion: apps/v1kind: DaemonSetmetadata:name: singlestore-sysreqlabels:"app.kubernetes.io/name": "singlestore-sysreq"spec:selector:matchLabels:"app.kubernetes.io/name": "singlestore-sysreq"updateStrategy:type: RollingUpdatetemplate:metadata:labels:"app.kubernetes.io/name": "singlestore-sysreq"spec:hostPID: truevolumes:- name: syshostPath:path: /sysinitContainers:- name: sysreqimage: busyboxsecurityContext:privileged: truevolumeMounts:- name: sysmountPath: /rootfs/syscommand:- "/bin/sh"- "-c"- |set -euxo pipefailsysctl -w vm.max_map_count=1000000000sysctl -w vm.min_free_kbytes=<set this value to either 1% of system RAM or 4 GB, whichever is smaller>echo never > /rootfs/sys/kernel/mm/transparent_hugepage/enabledecho never > /rootfs/sys/kernel/mm/transparent_hugepage/defragecho 0 > /rootfs/sys/kernel/mm/transparent_hugepage/khugepaged/defragcontainers:- name: pauseimage: gcr.io/google_containers/pause
Last modified: