Usage Scenario
You have already deployed your application to a Kubernetes cluster using a Deployment. Before exposing it to the outside world, you must define a stable internal endpoint for the Deployment. This is done by creating a Service.
Task Flow
In this exercise, you will create a Service for the Deployment in three steps:
- Create a Service manifest and apply it to the cluster.
- Verify if the Service is successfully created using kubectl.
- Verify if the Service is successfully created using Kyma dashboard.
Prerequisites
Before you begin, ensure that the following prerequisites are met:
- You have created a SAP BTP, Kyma runtime instance in the SAP BTP subaccount. See Deploying a Kubernetes Cluster with Kyma on SAP BTP.
- You have configured kubectl to interact with your SAP BTP, Kyma runtime instance and you have access to Kyma dashboard. See Setting and Configuring Kubectl for Kyma and Accessing Your Kyma Runtime Instance Using Kyma Dashboard.
- You have successfully created the hello-kyma Deployment in the exercise Creating and Managing a Deployment.

