Skip to content

Instantly share code, notes, and snippets.

@aliartiza75
Last active August 22, 2019 18:40
Show Gist options
  • Save aliartiza75/6f613e3041d36f4abe85a8ca04af547e to your computer and use it in GitHub Desktop.
Save aliartiza75/6f613e3041d36f4abe85a8ca04af547e to your computer and use it in GitHub Desktop.
MySQL init container manifest for removing the lost+found folder, it is an issue related to IBM Cloud.
initContainers:
- image: busybox
name: mysql-volume-cleaner
args: [/bin/sh, -c, 'rm -rf /var/lib/mysql/lost+found || true']
volumeMounts:
- mountPath: /var/lib/mysql
name: mysql-pvc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment