Question: Pre - Requisite: - ( Just Give a read ) Note: you will require your own installation of Ubuntu and Kubernetes to attempt this exercise.
PreRequisite:Just Give a read
Note: you will require your own installation of Ubuntu and Kubernetes to attempt this exercise.
Review the information on how to deploy and configure the database in areplicated configuration. Consider the resources that are available to you in Kubernetes and how these would relate to your chosen database that is the one I chose above: My SQL or you may choose another..
Deployments, StatefulSets, Services, PersistentVolumes, PersistentVolumeClaims, and other objects may all be relevant in deploying the application. The purpose is to demonstrate getting the replicated database working in the Kubernetes environment.
You do not need to be concerned about whether your demonstration is realistic. For example, in a realistic deployment, you would need to select a storage class that would allow the databasereplica to be instantiated on any node, but in this case hostPath storage would be adequate for demonstrating database replication.
You would also need to be keenly focused on the security and encryption of data in a realistic deployment, which is outside the scope of our studies. Whereas, feel free to change database I researched on implementing replication using MySQL however you will need to include an explanation for this change in Part below. It is not important that you get every step working
If you encounter an error, try to implement a workaround the error as best you can, and include these steps and outcomes in your appendices you are demonstrating that you can apply the knowledge you have on a new problem in the Kubernetes space, not that you can complete the task flawlessly. The appendices represents a journal of your activities, not an attempt at a perfect answer to an assignment question as this is not an assignment just an activity I am working on myself.
Question:MAJOR REQUIREMENT: APPENDICES AND SCREENSHOTS
Identify the database you will be implementing replication for. If you chose another database briefly explain why in your answer in short.
Summarise the major steps you completed to deploy the application in Kubernetes, noting any challenges you encountered and how you overcame those challenges in short.
Explain how you have tested that the replication is functioning correctly, discussing any problems you encountered and how you overcame those challenges, and any key observations on the actual testing in short.
A brief discussion of what you happened in completing this activity. Issues you may wish to consider include Did everything go as expected? What are the advantagesdisadvantage of deploying database replication application in this manner? Did you find it difficult learning how to work with the replicated database concepts or how to adapt them to the Kubernetes environment? What were the key Kubernetes technologies you employed to ensure that the database replication would work correctly in a live application deployment? Is Kubernetes a suitableideal platform for deploying your chosen database with replication?
Appendices provide stepbystep instructions for how to prepare the database and deploy it using Kubernetes. Note that you must include relevant screenshots to demonstrate the work you have completed and any configuration you have used database configuration files, Kubernetes YAML files, etc.
Please provide appendices and relevant screenshots as I will try everything in my working environment as well.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
