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, click Add Resource.
Adding a Postgres Resource
- In the Add Resource pop-up window, search for and select the resource type Postgres and the required flavor.
- Mention the Postgres Name and click Add.
Adding a Service Resource
- In the Add Resource pop-up window, search for and select the resource type Service.
- Mention the Service Name and click Add.
Adding an Ingress Resource
- In the Add Resource pop-up window, search for and select the resource type Ingress.
- Mention the Ingress Name and 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 6 months ago