Hello everyone! Currently, I have a Kubernetes Cluster with a pool containing 3 nodes. (The default option when creating a cluster). A total cluster capacity of 150GB of disk and 6GB of memory.
I’ve installed kubectl on my machine and pushed an image to it… (A .net Core API with a mySql database)… The .NET Api is working, but right now it can’t connect to a mysql database yet, because I need to make it works… And here comes my questions:
1- I can replicate this .net API, but I obviously can’t create “copies” of the database, it must be one, being accessed by all .net copies. How can I achieve that? Do I need to create a “Volume” to this .mysql database?
2- I will need to store the uploaded files of my .net project (are basically images and .pdf, nothing else). Can I store them on this 150GB of disk in my pool, or do I need to create a separate volume to store these uploaded images and PDF?
Thank you in advance!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!