When describing the scene of “overqualified”, Chinese people always like to use some physical analogies, such as: anti-aircraft guns shooting mosquitoes.
The British QF 3.7-inch (94mm) anti-aircraft gun has a total combat weight of over 9.3 tons, a length of nearly 5 meters, a maximum range of about 18 km, a maximum fire height of over 9000 meters, a shell weight of 12.7 kg, manual semi-automatic loading, a fire rate of 20 rounds per minute, and a crew of 7 men. Developed by The British company Vickers, in the 1930s during the second World War began a large number of equipment.
According to legend, nvwa left four stone after mending the sky, after thousands of years of which the “black cold” by the sword villa, at that time. At that time, the fire Kylin everywhere was a disaster, so the Sword Worship villa dedicated to research how to make the “black cold” into a cold sword, used to restrain the fire Kylin heat.
After completing the final steps of making the sword, the three poisonous blood greed (blood of sword greed), dosa (blood of walking through the clouds) and Delusion (blood of breaking waves) were fused into the furnace and the great sword was born. In the first “Storm”, Bujingyun hands hold this sword with xiong Ba, no god and other first-class master PK.
Jerry has been a fan of The Stormwind since childhood and still reads Ma Rongcheng’s masterpiece from time to time. Jerry couldn’t afford to buy a 1:1 replica of the best zinc alloy sword on a treasure. He could only afford the following ratio:
Another piece in the picture is the magic soldier named “The Fire Linlie on the top of the South Mountain, and the shallow and deep snow in the North Sea drink cold” in the first part of the film and the excellent sword: Snow print wild sword.
Jerry also has a real guy: xiao Longquan, a god hunter, who is determined to stop Bujingyun in the battle to stop bujingyun’s revenge. He fights with it with this sword (or rather, a dagger) and is killed by Bujingyun.
Xiao Longquan, 48cm in length, 10cm in hilt length, 30cm in blade length, 3.3cm in blade width, 0.8cm in blade thickness.
Indeed, SAP Kyma is based on Kubernetes, as is the case with anti-aircraft guns to kill mosquitoes and chickens with a great sword, but if you use Kyma just as a normal Kubernetes cluster, you may not even use 1% of Kyma’s functionality.
As an extension to SAP’s C/4HANA product line, Kyma is as important to C/4HANA as the SAP Cloud platform is to SAP.
Since the main purpose of SAP Kyma is to make C/4HANA extensions, why is this article still about how to run SAP UI5 applications on it?
Like programmers learning any new technology, they always like to start with the simplest Hello World. Running UI5 applications on SAP Kyma is one of the best ways for us to step from our comfort zone to our learning zone and become familiar with Kyma operation methods.
Before you begin, you might want to review some of Jerry’s earlier introductions:
- Newton on the Shoulders of Giants: Kubernetes and SAP Kyma
- Run SAP UI5 application on Kubernetes
- Run SAP UI5 application on Kubernetes – below
- Enhanced introduction to order orchestration based on SAP Kyma
- What? In SAP China research institute also need to know PHP development?
Follow Jerry’s steps to run a UI5 application on Kyma.
As a prerequisite, you need to have a UI5 application running locally and then make a Docker image of it with some Web server such as Nginx.
Jerry in the previous public account article running SAP UI5 application on Kubernetes (above) has introduced the detailed method of making Docker image.
Jerry has uploaded the image containing the TEST UI5 application to the Docker Hub website, i042416 / UI5-nginx: hub.docker.com/
(1) Access the console of Kyma and download the config file to the local PC.
What is this file for? Recall the architecture of Kyma, Jerry emphasized that the underlying Kyma is based on Kubernetes:
As users of Kubernetes, we can either use the Kubernetes workbench, or use a command line tool to interact with the main node of the Kubernetes cluster. It’s like using THE SAP Cloud Platform’s Cockpit or cf command line tools to interact with the SAP Cloud Platform’s CloudFoundry environment.
SAP Cloud Platform CloudFoundry; Kubernetes; You need to tell the command line the remote Kubernetes API Server connection information, which is maintained in the config file just downloaded from the Kyma console.
Opening the config file, I found that the address of the Kubernetes API server was maintained, as well as the user name of the config file and the Bearer token of OAuth 2.0. With this token, every time we use the Kubernetes command line tool to execute commands on the Kubernetes master node, we are actually making Restful requests to the API server maintained in the config file. By authenticating with the OAuth 2.0 Bearer token, we have avoided having to enter a username and password every time we type a command.
Search for the keyword “kubectl” in the search engine, download the command line tool to your local computer, create a. Kube folder under the user folder, and put the configuration file in it.
Run the kubectl cluster-info command. If you see the following output, it indicates that the local Kubectl has successfully established communication with the API server.
(2) Run this Docker image on Kyma:
Kubectl run jerry – kyma – ui5 – image = i042416 / ui5 – nginx: v2.0
A pod was successfully created under the default namespace in the Running state:
A command line specified deployment named jerry-kyma-UI5 is also created:
The POD and Deployment can also be seen in the Kyma Web console:
Expose this deploymen as a service:
kubectl expose deployment jerry-kyma-ui5 –type=LoadBalancer –port=80 –target-port=80
Kubectl get service external-IP: kubectl get service external-IP
Enter the IP address in the browser and the UI5 application deployed on SAP Kyma is presented to us.
More practical sharing of SAP Kyma, please stay tuned.
Read more
- Newton on the Shoulders of Giants: Kubernetes and SAP Kyma
- Run SAP UI5 application on Kubernetes
- Run SAP UI5 application on Kubernetes – below
- Enhanced introduction to order orchestration based on SAP Kyma
- What? In SAP China research institute also need to know PHP development?
For more of Jerry’s original articles, please follow the public account “Wang Zixi “:
[img-dqETL2FW-1565837882135]User-images.githubusercontent.com/5669954/600…)] For more of Jerry’s original articles, please follow the public account “Wang Zixi “: