This project is a template for creating a Kubernetes application that uses the QBot OTS (Off-The-Shelf) platform to detect drift in Kubernetes resources.
This project requires the following resources:
- - Kubernetes 1.16+
- - Kustomize 3.0.0+
- - Helm 3.0+
For more information about the project, see the following resources:
./charts/drift-detection/README.md
Maintaining a Kubernetes applications can be challenging, and even more so when the application is deployed in multiple environments. This project aims to provide a simple way to detect drift configurations in Kubernetes resources across multiple environments. The best part, it aims to do this leveraging AI agent by Agentico. 🤖
We are following the official Kubernetes best practices for configuration management of OTS applications, and we are using helm
and kustomize
to manage the Kubernetes resources.
Reference: kubectl.docs.kubernetes.io
If you find this project useful, please consider giving it a star. ⭐
Also, star the QBot and the Agentico Tools projects, we will appreciate it. 🙏
If you want to do it with QBot, you can follow the instructions in the QBot website. If you want to do it manually, you can follow the instructions below.
First of all, fork the repository to your GitHub account.
Example with the gh
CLI:
gh repo fork [email protected]:la-rebelion/qbot-base-template.git --clone=true --remote=true --remote-name "my-qbot-fork"
Then, clone the repository to your local machine with the following commands:
# Repository was forked and cloned
# Change the directory
cd my-qbot-fork
# deploy the application in the dev environment
kubectl kustomize --enable-helm=true envs/dev/ | kubectl apply -f -
# also, you can deploy the application in multiple environments
kubectl kustomize --enable-helm=true envs/ | kubectl apply -f -
The last command will deploy the application in the dev
, staging
, and prod
environments. Review the envs
kustomization files to see the different environments.
This project is licensed under the MIT License - see the LICENSE file for details.