Adding Resources
Once the project has been created, the next step involves creating the resources required for the pet clinic application. Here, we will opt to create a Service resource, a Postgres resource, and an Ingress resource.
The Postgres resource in this context is a PostgreSQL database, used by your application for data storage and retrieval. The Service resource is where the Spring Boot application resides, and the Ingress resource manages the exposure of your services to the external world.
- Open the Projects tab and select the required project.
- In the Blueprint tab, locate the Add Resource pop-up.
Adding a Postgres Resource
- Search for and select the resource type Postgres.
- In the pop-up, select the Flavor and mention the Postgres Name.
- Click Add.
Adding a Service Resource
- Search for and select the resource type Service.
- In the pop-up, select the Flavor and mention the Service Name.
- Click Add.
Adding an Ingress Resource
- Search for and select the resource type Ingress.
- In the pop-up, select the Flavor and mention the Ingress Name.
- Click Add.
Note: When creating a resource, it is initially set with default sample values that can be modified after the resource has been created.
You have successfully created the necessary resources for the Pet Clinic application.
Let's move forward to the next step, Creating and Launching an Environment.
Updated 3 months ago