Skip to content

Tuning the Kubernetes Worker

Automatic tuning during deployment

If deploy the cart as a cluster-admin, you can enable a job that will improve OS level settings on your worker nodes.

  optimize: true

Optional: Redis Cluster

Skip this if kubernetes.optimize: true.

Redis Instances can be tuned with the following kernel settings.

echo 1 > /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal
echo never > /sys/kernel/mm/transparent_hugepage/enabled
echo never > /sys/kernel/mm/transparent_hugepage/defrag
echo 10000 > /proc/sys/net/core/somaxconn
cat << EOF > /etc/sysctl.d/ibexa
net.core.somaxconn = 10000
net.netfilter.nf_conntrack_tcp_be_liberal = 1

Last update: February 13, 2023