···11+---
22+title: "Setting up Gitea on Kubernetes from scratch"
33+date: 2024-06-30
44+tags:
55+ - kubernetes
66+ - gitea
77+ - helm
88+ - pain
99+vod:
1010+ path: video/2024/gitea-k8s-vod
1111+---
1212+1313+I set up Gitea on Kubernetes with only the documentation, a dream, and existential suffering.
1414+1515+## High Level Topics Covered
1616+1717+- Setting up Gitea, a self-hosted Git service, on a Kubernetes cluster
1818+- Using Helm, a package manager for Kubernetes, to simplify the deployment process
1919+- Troubleshooting common issues that arise during the setup process
2020+- Configuring and managing persistent storage for Gitea
2121+- Integrating Gitea with other services, such as Tigris and S3
2222+2323+## Interesting Lessons Learned
2424+2525+- Helm can be a useful tool for simplifying Kubernetes deployments, but it can also introduce complexity and potential security risks.
2626+- Persistent storage is essential for ensuring that data is preserved across pod restarts.
2727+- Careful configuration of Gitea's storage settings is important to avoid potential errors and data loss.
2828+- Integrating Gitea with other services can enhance its functionality and make it a more powerful tool for managing Git repositories.
2929+- It is important to thoroughly test and troubleshoot any changes made to a Kubernetes deployment to ensure that it is functioning properly.