Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executable tutorial: proposal #2529

Merged
merged 7 commits into from
Oct 7, 2024
Merged

Executable tutorial: proposal #2529

merged 7 commits into from
Oct 7, 2024

Conversation

Lindefor
Copy link
Contributor

@Lindefor Lindefor commented Sep 23, 2024

Assignment Proposal

Title

Working with Kubernetes and Docker to deploy and scale a web application

Names and KTH ID

Deadline

  • Task 2

Category

  • executable-tutorial

Description

This tutorial provides a guide to building, containerizing, and deploying a Node.js application using Docker and Kubernetes on a single local system. Participants will start by creating a small Node.js application. They will then learn how to create a Dockerfile to containerize the application and run it locally to verify functionality. The tutorial continues with setting up a local Kubernetes cluster using Minikube. Participants will deploy the Docker container to Kubernetes, expose it via a Service, and scale the application by increasing the number of replicas. Moving on to more advanced features, the tutorial will demonstrate how to implement role-based access control (RBAC) within the Kubernetes environment. This is to show how you can manage permissions and ensure that different users and services have the appropriate level of access to resources. The tutorial will contain how to set up RBAC policies, create roles and role bindings, and assign them to users and service accounts. The tutorial will also use the Kubernetes secrets functionality.

Relevance

This tutorial is relevant to DevOps since it teaches important skills in containerization and orchestration using Docker and Kubernetes. By learning how to build, deploy, and scale applications in a consistent and automated way, tutorial participants will be more prepared to work in complex application environments. Furthermore, Docker is a DevOps tool that everyone should be familiar with, and Kubernetes is required for scaling up a growing application.

@javierron
Copy link
Collaborator

@Lindefor Thanks for the proposal.

While the topic is very relevant for the course, this is content that can already be found in a lot of tutorials available on the internet. I recommend adding to the tutorial one or two of Kubernetes' advanced features.

@javierron javierron self-assigned this Sep 29, 2024
@javierron javierron added proposal A task proposal tutorial One of the task categories listed in README.md labels Sep 29, 2024
@tobiasljunggren97
Copy link
Contributor

tobiasljunggren97 commented Sep 30, 2024

@Lindefor Thanks for the proposal.

While the topic is very relevant for the course, this is content that can already be found in a lot of tutorials available on the internet. I recommend adding to the tutorial one or two of Kubernetes' advanced features.

@javierron

Alright! We have chosen also to demonstrate how to implement role-based access control (RBAC) within the Kubernetes environment. This is to show how you can manage permissions and ensure that different users and services have the appropriate level of access to resources. The tutorial will contain how to set up RBAC policies, create roles and role bindings, and assign them to users and service accounts. We will also use the Kubernetes secrets functionality.

Would that work?

@javierron
Copy link
Collaborator

@Lindefor Sounds good. Update the proposal and I'll merge.

@Lindefor
Copy link
Contributor Author

Lindefor commented Oct 1, 2024

@Lindefor Sounds good. Update the proposal and I'll merge.

Done, thank you @javierron !

@javierron
Copy link
Collaborator

@Lindefor Thanks a lot! Please update the README as well.

@Lindefor
Copy link
Contributor Author

Lindefor commented Oct 2, 2024

Missed that part, done now @javierron

@Lindefor
Copy link
Contributor Author

Lindefor commented Oct 7, 2024

Please have a look at the updated proposal when possible @javierron

@javierron javierron merged commit 22b3f31 into KTH:2024 Oct 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal A task proposal tutorial One of the task categories listed in README.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants