From the course: OpenShift Essential Training: Container Orchestration and Deployment

Unlock this course with a free trial

Join today to access over 24,300 courses taught by industry experts.

Challenge: Deploying a database

Challenge: Deploying a database

(bouncy electronic music) - [Instructor] It is time for another challenge. In this challenge, you will deploy a containerized database. To solve this challenge, you will need the lab environment, which includes OpenShift local or CRC setup on your local computer or virtual machine and internet connectivity. You are an OpenShift engineer at Cyber Bank, a leading FinTech company that processes millions or secure transactions daily. The company is launching a new payment processing system and it requires a widely available PostGresQL database to store customer transactions securely. These are your tasks. Create a one gigabyte persistent volume claim called db-pvc. Create a secret called db-credentials with the following entries. PostgreSQL USERNAME = my user. PostgreSQL PASSWORD will be mypass, and the PostGresQ database will be called mydb. Deploy the database Postgres from bitnami/postgresql 15, and finally, set limits to prevent the database from using too many resources by allowing…

Contents