MySQL database is the most commonly used open source database. The Docker image “mysql” could be used to create a Docker container running a MySQL database instance. Running Docker separately for a single MySQL instance or multiple instances lacks the features of scheduling multiple instances, scaling, and providing a service for external clients. In this chapter we shall discuss how the Kubernetes container cluster manager could be used to overcome all of those deficiencies.
Setting the Environment
Creating a Service
Creating a Replication Controller
Listing the Pods
Listing ...