Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database persistance #13

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

ankicabarisic
Copy link
Contributor

@ankicabarisic ankicabarisic commented Jan 2, 2025

  • for persistent volume definitions
    hostPath: This example uses a host directory on the node for simplicity. In production, use a cloud-native storage solution like AWS EBS, GCP Persistent Disks, or NFS for durability.
    capacity: Adjust the size (10Gi) as per your requirements.

  • deployment
    mountPath: directory where MariaDB stores its database files

hostPath: This example uses a host directory on the node for simplicity. In production, use a cloud-native storage solution like AWS EBS, GCP Persistent Disks, or NFS for durability.
capacity: Adjust the size (10Gi) as per your requirements.
introduce to the mariaDB container the volume to be mounted
update the Path where MariaDB stores data

introduce the MariaDB volume under volumes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant