Skip to content

Instantly share code, notes, and snippets.

@iogbole
Created February 17, 2025 14:50
Increase aiomax for syclla
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: sysctl
spec:
selector:
matchLabels:
app.kubernetes.io/name: sysctl
template:
metadata:
labels:
app.kubernetes.io/name: sysctl
spec:
containers:
- name: sysctl
securityContext:
privileged: true
image: debian:latest
imagePullPolicy: IfNotPresent
command:
- /usr/bin/bash
- -euExo
- pipefail
- -O
- inherit_errexit
- -c
args:
- |
apt-get update -y
apt-get install -y procps
sysctl fs.aio-max-nr=0xffffffff
sleep infinity &
wait
@iogbole
Copy link
Author

iogbole commented Feb 17, 2025

kubectl apply -f aiomax.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment