Giter Site home page Giter Site logo

kube-node-tuning's Introduction

kube-node-tuning

kube-node-tuning is aimed at kernel tuning by kubernetes. It's useful to :

  • High performance application
  • Large Scale Cluster
  • Network Tuning

Quick Start

export VERSION=v0.3.1
helm repo add kube-node-tuning https://kubean-io.github.io/kube-node-tuning/
helm install -n kube-node-tuning kube-node-tuning kube-node-tuning/kube-node-tuning --version $VERSION --create-namespace

Tips: If the machine is in China, you should following by: quick-start-in-china

The kernel's sysctl settings are applied to the node at /etc/99-kube-node-tuning.conf.

Check if the settings are applied by the following command. SSH to the node of cluster

cat /etc/sysctl.d/99-kube-node-tuning.conf
sysctl -a # view the sysctl setting

Configuration

# Change the config
kubectl -n kube-node-tuning edit cm/kube-node-tuning-config -o yaml

# Restart the DaemonSet
kubectl -n kube-node-tuning rollout restart ds kube-node-tuning

Roadmap

  • Different OS Support. (Ubuntu, CentOS, RHEL, etc.)
  • Multi profile
  • Operator instead of Daemonset

kube-node-tuning's People

Contributors

dependabot[bot] avatar erikjiang avatar panpan0000 avatar tu1h avatar yankay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kube-node-tuning's Issues

optimize arp parameters

when stress testing, the network presure increase.This may cause arp overflow.
The following parameters need to be considered:

net.ipv4.neigh.default.gc_thresh1 = 8192
net.ipv4.neigh.default.gc_thresh2 = 32768
net.ipv4.neigh.default.gc_thresh3 = 65536

pid_max optimization

when /proc/sys/kernel/pid_max is small (such as 65536) , it may give rise to the upper application report "Cannot allocate memory".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.