Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Latest commit

 

History

History
54 lines (37 loc) · 5.65 KB

File metadata and controls

54 lines (37 loc) · 5.65 KB

SAP Community Code Challenge Cloud Native - Challenges

On this page you will get a new challenge based on this repository and the SAP BTP, Kyma runtime each week. These challenges must be concluded and the submission fulfilled in order to have your submission count towards the month's total progression. Each week the type of submission might look different so be aware of that. Read the challenges for each week carefully and most importantly Have fun! 😊

Week 1 (July 6th, 2022 - July 13th, 2022)

This week's challenge is all about understanding and getting to know Kubernetes and setting up your SAP BTP, Kyma environment.

Parts of the challenge for this week are educational and some are hands-on where you will deploy your first containerized service to the SAP BTP, Kyma runtime. So let's get started:

  1. Watch the videos of the 2minOf Cloud Native series on YouTube.
  2. Sign-up for Free Tier on SAP BTP with Get an Account on SAP BTP to Try Out Free Tier Service Plans.
  3. Use SAP BTP to enable the SAP BTP, Kyma runtime.
  4. Fork and clone this repository to run and test the provided service locally (you should have already done this in the setup phase - see the Setup and Participation section).
  5. Follow the secret setup to set up a Kubernetes secret containing credentials with which an image can be pulled from the GitHub Container Registry (in the next step).
  6. Deploy and run the provided service on SAP BTP, Kyma runtime using the Kyma Console UI or the kubectl Command Line Interface. The already containerized service is available through this repository! SAP Community Code Challenge Cloud Native - Service Package. You'll need to have the secret set up in the previous step for this.

NOTE: If you need help deploying the service you can take a look at the following resources:

kubectl apply -n <namespace> -f <path-to-deployment.yaml>

Submission: Post a screenshot of your deployed service as well as the Service URL in the SAP Community Code Challenge - Let's set sail for Cloud Native Island! thread.

Week 2 (July 13th, 2022 - July 20th, 2022)

In this week's challenge you have to containerize your own service and deploy it to the SAP BTP, Kyma runtime. Use the forked repository to create your project and needed files.

  1. Create your own service within the forked repository. The project doesn't have to be anything complicated, it can be a simple Hello World app. You're free to use whatever programming language you feel comfortable with (Node.js, JavaScript, GoLang, CAP, etc.).
  2. Containerize your service using a container technology like Docker, Podman, etc.
  3. Write a deployment.yaml for your containerized service.
  4. Deploy your service to the SAP BTP, Kyma runtime. It is okay to delete the old deployment (Week 1) if you want to.

Submission: Post a screenshot of your deployed service as well as the deployment.yaml in the SAP Community Code Challenge - Let's set sail for Cloud Native Island! thread.

Week 3 (July 20th, 2022 - July 27th, 2022)

For last weeks challenge you have created your own small service, containerized it and deployed it to the SAP BTP, Kyma runtime. But a service is no good if you can't connect to it. This week is all about using APIRules and securing the connection.

  1. Read the official documentation to Expose and Secure a Workload with a JSON Web Token.
  2. Expose and secure your deployed service.

Submission: Provide the service URL in the SAP Community Coffee Corner thread. IMPORTANT: Do not post or send your security configuration, tokens, passwords or any other security related information. It is enough for us if we see that we can't access the service because of unauthorized. :)

Week 4 (July 27th, 2022 - August 3rd, 2022)

Wow! You're almost there. The true power of Kubernetes is that it has self-healing and autoscaling capabilities so your services and applications are always available to your users at any time. For this weeks challenge you will tackle exactly that!

  1. Re-deploy your service or remove authentication from it in order for us to be able to access your service.
  2. Use the Horizontal Autoscaler feature of SAP BTP, Kyma runtime.
  3. Make sure to increase your Pod-count to at least 10.

Submission: Provide the service URL in the SAP Community Coffee Corner thread and pass our stress testing. Additional provide a screenshot of your running pods.