-
Download the source code of the kyma-runtime-extension-samples GitHub repo.
git clone https://github.com/SAP-samples/kyma-runtime-extension-samples
-
Go to the nextjs-app-with-kyma-eventing/conference-registration-app folder.
cd nextjs-app-with-kyma-eventing/conference-registration-app
-
Build the docker image of the conference-registration-app microservice.
docker build . -t <docker-username>/conference-registration-app -f Dockerfile
Note: Replace
<docker-username>
with your username -
Push the docker image of the conference-registration-app microservice to your Container Image Library.
docker push <docker-username>/conference-registration-app
Note: Replace
<docker-username>
with your username -
Update the docker image in the ./conference-registration-app/k8s/deployment.yaml file.
Note: Replace
<docker-username>
with your username -
Go back to the parent folder (i.e. nextjs-app-with-kyma-eventing folder).
cd ..
-
Create a Kubernetes namespace called conference-registration.
kubectl create namespace conference-registration
-
Create/update Kubernetes resources of the conference-registration-app microservice.
kubectl apply -f ./conference-registration-app/k8s/config-map.yaml kubectl apply -f ./conference-registration-app/k8s/deployment.yaml kubectl apply -f ./conference-registration-app/k8s/service.yaml kubectl apply -f ./conference-registration-app/k8s/api-rule.yaml
-
Verify that the config map, deployment, service and API Rule were created by going to the specific screens in the Kyma console.
🏠 |
---|