Cloud Native Hackathon 2021
December 9-12 was uncommon for me because I participated in Cloud Native Hackathon #CloudNativeHack.
Together Danil Vagapov, Polok Ghosh, and Snehomoy Maitra we were worked on Project API-dev-tool.
The main targets for our team were:
1. Learn sponsor’s DevOps tool like: https://www.datree.io/, https://www.civo.com/, https://devtron.ai/, https://github.com/, and etc…
2. Try these tools in practice. Make hands dirty
3. In a short period of time become a real TEAM, and not a group of people
4. Try our best and represent our project
And I can definitely say we have achieved our targets together!
Btw we were won 3 nominations!!!
- WINNER Best use of Datree
- WINNER Best use of Devtron
- WINNER Best .xyz domain
Usage of the project
This simplifies the job of the DevOps developers, who are working with misconfiguration and security of the k8s. And it can be used as a JSON datasource in Grafana. Inside the API we can populate the info of the datasources. There we can use the Datree CLI to analyze the k8s manifests and POST the report into the API to see the result in Grafana natively.
How we built it
- Clusters are created using Kubernetes in Civo
- DevOps(Configurations, etc)
- Flask API integration
- Python runs Datree commands and POST request to API
- Metrics and logs of the configurations are checked using Grafana (Devtron)
- Had to get the
fail.yamlfile from the customized policies of the Datree using our API POST request argument. - Integration of the Kubernetes Python Client with the local k8s clusters.
- Docker Image Build issue regarding the predefined ports.
Accomplishments that we're proud of
- Being able to create custom policies to PR into the Datree.io.
- Build the metrics into Devtron using Grafana.
What we learned
Devtron is a good DevOps tool that can boost the development process. Also, it contains not only CI/CD stuff but also allows us to understand the performance of deployed services and make changes in Kubernetes cluster using Devtron UI. Datree is a tool that can help in analyzing Kubernetes manifests, not only before applying it but also for existing manifests as well. In Datree, you can use a custom policy that allow you to cover any possible use-cases. Civo helped us to spin up the k8s clusters faster and had predictable prices and we were able to spin up the main and all needed service that we need and make our development make it all centralized in development instances for all the members.
What's next for DevTool API
- Alert the developers to the misconfigurations that have happened against the custom policy through Twilio alert.
- Increase more options for Datree usage.
- More monitoring system.
- Security system enhancement.
Workflow of the project
Sources:
- Hackathon page: https://cloudnativehack21.devpost.com/
- Short video about our project: https://www.youtube.com/watch?v=DNmgIxrbZkA&feature=youtu.be
- Source code: https://github.com/Snehomoy100/Cloud-Native-Hackathon-2021
- Project description: https://devpost.com/software/devtool-api
Comments
Post a Comment