1. How to downgrade/upgrade Jenkins
To Downgrade/upgrade Jenkins on ubuntu from eg version 2.320 to version 2.318 use the below command
sudo apt install jenkins=2.318
sudo systemctl restart jenkins
2. My Instance is Slow after installing Sonarqube
a. increase the storage volume
b. upgrade your instace type from t2micro to like t2medium
c. try this steps to Extend the OS file
i. log into the instance and enter the below commands:
sudo growpart /dev/xvda 1
sudo resize2fs /dev/xvda1
source:https://blog.shikisoft.com/increase-root-volume-of-ebs-backed-ec2/
3. How to change ansible Tower password(If you forgot)
Log into the Tower Console
Enter the following commands
docker ps
docker exec -it awx_web bash
awx-manage changepassword adminhttp://vcloud-lab.com/entries/devops/reset-ansible-awx-tower-admin-password
4. Sonarqube is under maintenance
+ kubectl get nodes /var/lib/jenkins/workspace/test@tmp/durable-fd334313/script.sh: line 1: kubectl: command not found