Skip to content

Commit

Permalink
Merge pull request #1382 from rzetelskik/ci-sysctl
Browse files Browse the repository at this point in the history
Increase fs.aio-max-nr on CI worker nodes
  • Loading branch information
scylla-operator-bot[bot] authored Sep 11, 2023
2 parents 75a39bf + 22b4e03 commit bcad2f6
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions hack/.ci/run-e2e-gke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,45 @@ kubectl_create -f - <<EOF
- patch
EOF

# FIXME: remove the workaround once https://github.com/scylladb/scylla-operator/issues/749 is done
kubectl_create -n default -f - <<EOF
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: "${SO_IMAGE}"
imagePullPolicy: IfNotPresent
command:
- /usr/bin/bash
- -euExo
- pipefail
- -O
- inherit_errexit
- -c
args:
- |
sysctl fs.aio-max-nr=0xffffffff
sleep infinity &
wait
nodeSelector:
scylla.scylladb.com/node-type: scylla
EOF
kubectl -n default rollout status daemonset/sysctl

kubectl apply --server-side -f ./pkg/api/scylla/v1alpha1/scylla.scylladb.com_nodeconfigs.yaml
kubectl wait --for condition=established crd/nodeconfigs.scylla.scylladb.com

Expand Down

0 comments on commit bcad2f6

Please sign in to comment.