Skip to main content

Lab Prerequisites

Prerequisites

  1. Make sure App Platform is installed with DNS. See here. Not needed when using the LKE automatic installation.

  2. Sign in with a user that has the platform-administrator role

  3. Enable Prometheus on the platform level.

  4. Enable additional Apps on the platform level to support the following labs:

LabApp
Create container imagesHarbor
Trigger buildsHarbor
Manually Push images to HarborHarbor
Scan running containers for vulnerabilitiesPrometheus, Grafana, Trivy Operator
View container logsLoki, Grafana
Tracing with Open TelemetryLoki, Otel, Tempo
Create a RabbitMQ clusterRabbitMQ
info

For the Tracing with Open Telemetry Lab, tracing needs to be configured in the Istio and Nginx Ingress apps.

  1. Create a Team called labs with Dashboards and Alerts enabled. See here how to create Teams.

  2. Create a user and make this user a member of the labs Team. In the labs we'll be using the user labs-user@labs.com. See here how to create users and assign them to Teams.

info

The App Platform will automatically create an organization for each Team in Gitea. Only members of the Team are added to the Owners group of this organization. It is possible to go through the labs using the (default) platform-admin user account that was created during the installation of the App Platform. When using the platform-admin user, then make sure to add your account to the Owners group of the Team's organization in Gitea. Follow the instruction for adding the platform-admin user to the Owners group of a Team's organization in Gitea here

  1. Add the Kube API to the Cluster Settings. Select the platform view and click on Settings in the left menu. Then click on Cluster. When using LKE: You can find the Kube API URL in the Summary of your LKE cluster. Here it is called the Kubernetes API Endpoint. You can remove :443 at the end.

Start with the labs

After sign in, you will see this page (with Dashboards enabled):

Team dashboard

  • Start with the first lab to create a code repository in Gitea (the self-hosted Git service in the App Platform).