Thanks for giving a great information about DevOps Good Explination nice Article anyone want to learn advance devops tools or devops online training DevOps Online Training
Jenkins Upgrade in Ubuntu: shutdown the jenkins ( goto —> Manage Jenkins —> Prepare for shutdown ) Take a snapshot of the ubuntu (AWS) image Login to the Jenkins (Master) Server Run the below commands $ service jenkins stop / service jenkins stop $ apt-get update / yum update -y $ apt-get install jenkins / service jenkins start $ service jenkins start — Go into Jenkins server Jenkins > Manage Plugins > Select "All" Click "Download now and install after restart" Notable Locations (Config, Logs) Config (config.xml): /var/lib/jenkins Logs: /var/log/jenkins
Step1: Configuring of the cluster #ecs-cli configure –cluster myCluster –region us-east-1 Step2: Starting the cluster #ecs-cli up --keypair ubuntu_mum --capability-iam --size 3 --instance-type t2.micro INFO[0002] Created cluster cluster=myCluster region=us-east-1 INFO[0003] Waiting for your cluster resources to be created... INFO[0004] Cloudformation stack status stackStatus="CREATE_IN_PROGRESS" INFO[0066] Cloudformation stack status stackStatus="CREATE_IN_PROGRESS" INFO[0129] Cloudformation stack status ...
Step: 1 Ø Login to AWS and launch 3 EC2 Instances (Master and 2 Nodes) Ø EC2 might be any Ubuntu/fedora/Rhel OS Step: 2 Ø Add kube-master in /etc/hostname file and in Master instance Ø Add kube-node1 in /etc/hostname file and in Node-1 instance Ø Add kube-node2 in /etc/hostname file and in Node-2 instance Ø Add the below 3 lines in all the three servers (Master, Node1, Node2) in /etc/hosts file <master-Pvt-Ip-Addr> kube-master <master-Pvt-Ip-Addr> kube-node1 <master-Pvt-Ip-Addr> kube-node2 Step: 3 Ø Install Docker $ sudo su $ apt-get update $ apt-get install -y docker.io Ø Install HTTPS support (if necessary) $ apt-get update $ apt-get install -y apt-transport-https Ø Install curl command $ apt-get install -y curl Ø Retrieve the key for the Kubernetes repo and add it to...
Thanks for giving a great information about DevOps Good Explination nice Article
ReplyDeleteanyone want to learn advance devops tools or devops online training
DevOps Online Training