This repository contains a basic Kubernetes deployment of the NGINX web server using Kustomize.
It is designed for GitOps-based delivery using Argo CD.
deployment.yaml
– Defines the NGINX Deploymentservice.yaml
– Exposes the NGINX deployment using ClusterIPkustomization.yaml
– Combines both files using Kustomize
To deploy this application using Argo CD:
- A running Kubernetes cluster (e.g. Minikube, Kind, or cloud-managed)
- Argo CD installed
kubectl
and optionallykustomize
for local testing
- Add the Git repo to Argo CD:
argocd repo add https://github.com/ahmadu2305/nginx-argo-app.git 2. Create the app:
argocd app create nginx-argo-app
--repo https://github.com/ahmadu2305/nginx-argo-app.git
--path .
--dest-server https://kubernetes.default.svc
--dest-namespace default
--sync-policy automated --self-heal
3. Sync the app:
argocd app sync nginx-argo-app
⸻
🔖 GitHub Topics
This project uses the following topics: argo-cd, gitops, nginx, kustomize, kubernetes, devops
⸻
🤝 Contributing
Contributions are welcome! If you’d like to improve this project, feel free to: • Fork the repository • Create a new branch • Commit your changes • Open a pull request (PR)
Please ensure your changes follow best practices and are tested when appropriate.
⸻
📄 License
This project is licensed under the MIT License – see the LICENSE file for details.
⸻
👤 Maintainer
Ahmed Samaila Yayyafi Global Resources 📫 Email: [email protected]
⸻
🌟 Acknowledgments • Built with ❤️ using Argo CD and Kubernetes • Supported by the Cloud Native and open source community
⸻