K8sMasterDeploy is a comprehensive solution for deploying a Kubernetes multi-master cluster on AWS. This project also includes setting up a CI/CD pipeline using Jenkins, GitHub Actions, and GitOps. Additionally, it provides monitoring and logging capabilities using Prometheus and Grafana.
- Deploy Kubernetes multi-master cluster on AWS
- Setup CI/CD pipeline using Jenkins, GitHub Actions, and GitOps
- Monitoring and logging with Prometheus and Grafana
- AWS account
- Basic knowledge of Kubernetes
- Jenkins, GitHub Actions, and GitOps familiarity
- Prometheus and Grafana understanding
git clone https://github.com/yourusername/K8sMasterDeploy.git
cd K8sMasterDeploy- Configure your AWS CLI with the necessary credentials.
- Create an S3 bucket and an IAM role for Kubernetes.
- Use the provided Terraform scripts to deploy the Kubernetes multi-master cluster.
cd terraform
terraform init
terraform apply- Configure Jenkins and GitHub Actions using the provided configuration files.
- Integrate GitOps for continuous deployment.
- Deploy Prometheus and Grafana using the provided Helm charts.
helm install prometheus stable/prometheus
helm install grafana stable/grafana- Access the Kubernetes cluster using
kubectl.
kubectl get nodes-
Monitor the cluster using Prometheus and Grafana.
-
Use Jenkins and GitHub Actions for CI/CD.