Deploy a Go MSSQL API Endpoint in SAP BTP, Kyma Runtime
Intermediate
40 min.
Develop and deploy an MSSQL API endpoint written in Go to SAP BTP, Kyma runtime.
You will learn
- How to configure and build a Go Docker image
- How to deploy the Go Docker image to SAP BTP, Kyma runtime
Prerequisites
This tutorial expects that the tutorial Deploy MSSQL in SAP BTP, Kyma Runtime has been completed and relies on the database running either locally or within SAP BTP, Kyma runtime. If you run the database in SAP BTP, Kyma runtime, make sure to use the port-forward
feature presented in the tutorial to expose the database to your local environment.
Deploying the image includes:
- A Kubernetes Secret to store the database user/password
- A Kubernetes ConfigMap to store the database configuration in
- A Kubernetes Service to expose the Go application to other Kubernetes resources
- A Kyma APIRule to expose the API to the Internet