This blog post is a series of 3, where our aim is to walkthrough setting up your PostgreSQL service on a Kyma environment:
In this second article we will cover how to deploy PostgreSQL on a Kyma environment.
Before connecting to your PostgreSQL instance there are some prerequisites and steps that need to be carried out:
Pre-requisites:
Please note:
This blog covers the creation of instances and bindings using the Kyma Dashboard if you prefer to use the command line tools (kubectl), please follow instructions provided within SAP help and additionally install:
After adding the necessary entitlements to the sub-account, you can now create your first PostgreSQL instance within your Kyma environment.
Go to your SAP BTP Cockpit and select the subaccount where you have your Kyma environment enabled. Select the console URL link (3).
Firstly, within the Kyma dashboard you need to create a new namespace, once created go to ‘Service Management’ > ‘Service Instances’ and select ‘Create Service Instance’ (7).
Please note:
Field | Value |
Name | <name of your choice> |
Offering Name | postgresql-db |
Service Plan Name | <Service plan of your choice> |
Validate the service instance was created successfully
Once you have created your instance successfully you will be able to see it within your SAP BTP Cockpit. Navigate to ‘Services’ > ‘Instances and Subscriptions’, within the instance subsection your new instance will be shown.
Creating a service binding within your Kyma environment
Within the Kyma Dashboard, navigate to your newly created instance and select ‘Create Service Binding ’.
Provide the following information and select ‘Create’. Once successfully created the status will be shown as ‘Provisioned’.
Field | Value |
Name | <name of your choice> |
Service Instance Name | <select your previously created instance from the drop down> |
Validate the service binding was created successfully
Within the SAP BTP Cockpit your instance will now show your new service binding, click within it for more information.
You have now successfully added a PostgreSQL instance to your Kyma environment.
For information on how to consume your PostgreSQL instance please have a look at our third and final blog here.
Relevant sources of information:
Please check out the blog post below, where we've shared a list of key topics from the product team.
Thank you,
SAP BTP Backing Services – Product Management
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
25 | |
11 | |
11 | |
7 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 |