Skip to content

Commit c12654e

Browse files
authored
Merge pull request #565 from mmitoraj/cap-udpate
Update from-zero-to-cap diagram
2 parents f825c94 + 111528b commit c12654e

5 files changed

Lines changed: 293 additions & 17 deletions

File tree

from-zero-to-cap-on-kyma/README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Overview
1+
# From Zero to CAP on Kyma
22

33
Using this sample, you start from scratch to deploy a [CAP](https://cap.cloud.sap/docs/) NodeJS application on SAP BTP, Kyma runtime.
44

5-
![cap-bookshop](assets/cap-booksop.png)
5+
![cap-bookshop](assets/from-zero-to-cap.drawio.svg)
66

77
- You create a sample NodeJS-based CAP application, namely the Bookshop.
88
- You use Core Data Services (CDS) to create the necessary artifacts and configurations required to deploy the application on Kyma.
@@ -74,14 +74,16 @@ Using this sample, you start from scratch to deploy a [CAP](https://cap.cloud.sa
7474
}
7575
```
7676

77-
> [!Note]
78-
> The standalone Application Router is used to simplify the setup and **is not a must**. It should also be possible to use the managed approuter because your CAP APIs are exposed via Fiori or UI5 applications and accessed using workzone.
77+
> [!Note]
78+
> The standalone Application Router is used to simplify the setup and **is not a must**. It should also be possible to use the managed approuter because your CAP APIs are exposed via Fiori or UI5 applications and accessed using workzone.
7979
8080
### Configuring Environment Variables
8181

8282
1. Set up the required environment variables:
83-
> [!Note]
83+
84+
> [!Note]
8485
> You can download the kubeconfig file from your Kyma runtime instance in the SAP BTP cockpit. If you have already configured the default Kubeconfig, you should also be able to access the kubeconfig from your local machine under `~/.kube/config`.
86+
8587
- In shell
8688

8789
```shell
@@ -121,11 +123,11 @@ Using this sample, you start from scratch to deploy a [CAP](https://cap.cloud.sa
121123

122124
3. Enable Istio injection for the namespace. Set the kubeconfig context to point to the namespace and create the Docker image pull Secret.
123125

124-
> [!Note]
125-
> - You will need a Docker API Key so that Kubernetes can pull the Docker images from your Docker account.
126-
> - `docker server` could be e.g. `https://index.docker.io/v1/` or your private docker registry server. **For this example, you may use the public Docker registry. However the recommended approach is to use a private Docker registry**.
127-
> - `docker user` is the username of your docker registry account.
128-
> - `docker password` is the API Key of your docker registry account.
126+
> [!Note]
127+
> - You need a Docker API Key so that Kubernetes can pull the Docker images from your Docker account.
128+
> - `docker server` could be, for example, `https://index.docker.io/v1/` or your private Docker registry server; **for this sample, you may use the public Docker registry; however, the recommended approach is to use a private Docker registry**
129+
> - `docker user` is the username of your Docker registry account
130+
> - `docker password` is the API Key of your Docker registry account
129131
130132
```shell
131133
make prepare-kyma-for-deployment
@@ -142,7 +144,8 @@ The sample uses [Helm charts](https://helm.sh/) to define the required configura
142144
`cds` can intelligently inspect what is defined in your CAP application and generate the necessary configurations (Helm charts) to deploy the application on Kyma runtime.
143145

144146
1. Create a Helm chart. When asked for the registry server:
145-
* If you're using Docker Hub, enter your username.
147+
148+
* If you're using Docker Hub, enter your username.
146149
* If you're using a private registry, enter the registry server URL.
147150

148151
```shell
-205 KB
Binary file not shown.

from-zero-to-cap-on-kyma/assets/cap-booksop.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)