File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -203,12 +203,19 @@ runcmd:
203203
204204 # Deploy Splunk secrets
205205 - /usr/local/bin/kubectl apply -f /tmp/workshop-secrets.yaml
206+
207+ # Add splunk user to docker group
208+ - usermod -aG docker splunk
209+
210+ # Increase inotify limits for k3s
211+ - sysctl -w fs.inotify.max_user_watches=524288
212+ - sysctl -w fs.inotify.max_user_instances=8192
206213EOF
207214
208215# qm destroy $VMID >/dev/null
209216rm -f jammy-server-cloudimg-amd64.img > /dev/null
210217wget -q https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
211- qemu-img resize jammy-server-cloudimg-amd64.img 20G > /dev/null
218+ qemu-img resize jammy-server-cloudimg-amd64.img 40G > /dev/null
212219qm create $VMID --name $HOSTNAME --ostype l26 \
213220 --memory 8192 --balloon 0 \
214221 --agent 1 \
You can’t perform that action at this time.
0 commit comments