SAP-archive / xsk

Compatible environment for SAP HANA Extended Application Services (XS) based applications outside of SAP HANA instance running in a container deployed on Kubernetes
Apache License 2.0
30 stars 31 forks source link

[Research] Check Kyma 2.0 #894

Closed krasimirdermendzhiev closed 2 years ago

krasimirdermendzhiev commented 2 years ago

Research the new Kyma 2.0 release.

krasimirdermendzhiev commented 2 years ago

Kyma 2.0

No longer support the following authentication and authorization components

API Exposure

Application Connectivity

CLI

Eventing

Kyma Dashboard

With the 2.0 release, Kyma does not expose Grafana, Kiali, and Jaeger UIs by default. After the upgrade, for each service, you can set up an identity provider of your choice.

New resources views

Easier resource creation

All Dashboards are accessible trough https://dashboard.kyma.cloud.sap

Connect your cluster

  1. You need to paste or drag kubeconfig file to connect your cluster.

  2. Privacy Options - ou can choose where to store your cluster configuration. Based on your kubeconfig type, we recommend the pre-selected storage mode. You can choose whatever you prefer for convenience and security. None of the options stores information on the server.

Cluster Overview

  1. Cluster overview section - you can see versions for kubernetes and Kyma, API server address, Storage Type.

  2. Nodes section - you see your nodes

  3. Message section - you can see all messages for your cluster.

Namespaces

  1. Columns - you can see names, created, labels, status.

Events

Integration

Configuration - the old Administration become Configuration

Observability

  1. Grafana

  2. Kiali

  3. Tracing

Security

Serverless

Service Management

Recap At this point XSK is deployed normally. We will check periodically for any new changes.

rdimitrov4 commented 2 years ago

SAP BTP Connectivity Proxy in Kyma 2 Environment

Establishing a secure tunnel between XSK deployed on Kyma 2.0 Environment and Systems on your On-Premise network.

Prerequisites:

1. First we need to deploy the Connectivity Gateway.

2. Install SAP Cloud Connector and connect it to your subaccount

3. Deploy XSK and a Sample Docker Application

4. Connecting your Cloud to the On-Premise system

5. Test the Cloud to On-Premise connection

var httpResponse = httpClient.get("http://mycomputer:8080/services/v4/web/helloWorld/", { proxyHost: "connectivity-proxy.kyma-system", proxyPort: 20003 });

response.println(httpResponse.statusMessage); response.println(httpResponse.text); response.flush(); response.close();

- Save All, Publish all and Refresh.

This will make a request to the On-Premise application through the Virtual Host (mycomputer) via the `connectivity-proxy` in the `kyma-system` namespace. In the Preview tab we can see that the request is successful and we get the requested page from our docker application.

- Alternatively we can make a `curl` request from the XSK WebIDE's Terminal to the locally hosted application via the connectivity proxy  that returns the same HTML page.

dirigible@xsk-665f5d9f4f-2qxz7:~$ curl --proxy http://connectivity-proxy.kyma-system:20003 http://mycomputer:8080/services/v4/web/helloWorld/ <!DOCTYPE html>

Hello World!

dirigible@xsk-665f5d9f4f-2qxz7:~$

rdimitrov4 commented 2 years ago

To add a new Cloud Connector administrator in an existing Kyma Cluster we must use: cluster-admin(CR) Role; app=kyma and type=admin Labels; Kind: User and the user's email for Subject; when creating the Cluster Role Binding