-
Configured SSH keys for password less authentication between Ansible Controller and Agent nodes.
-
Added GitHub credentials to the Jenkins Master and created Multibranch Pipeline job.
-
SonarQube:
- Generated an access token in SonarCloud and added SonarQube server credentials in Jenkins Master.
- Installed Sonarqube scanner plugin.
- Added Sonarqube server to the Jenkins Master in System section.
- Added Sonarqube scanner to the Jenkins Master in Tools section.
- Configured an organization and project in SonarCloud and wrote a sonar-project. properties file.
- Added sonarqube, unit tests and build stages in the Jenkinsfile.
-
EKS:
- Provisioned the EKS cluster with Terraform.
- Installed kubectl in Jenkins Slave.
- Installed AWS CLI v2 in Jenkins Slave to connect with AWS account.
- Downloaded Kubernetes credentials and cluster configuration from the cluster using the command
aws eks update-kubeconfig --region <region_name> --name <cluster_name>
-
- Note: Changed the default service type of Prometheus and Grafana services from ClusterIP to LoadBalancer to access them from the browser.
If you are planning to use this repo for learning, please hit the star. Thanks!