KUBERNETES What are containers Before we dive into Container Orchestration, let's review first what containers are. Containers are an application-centric way to deliver high-performing, scalable applications on the infrastructure of your choice. With a container image, we bundle the application along with its runtime and dependencies. We use that image to create an isolated executable environment, also known as container . We can deploy containers from a given image on the platform of our choice, such as desktops, VMs, Cloud, etc. Container Orchestration ? In Development and Quality Assurance (QA) environments, we can get away with running containers on a single host to develop and test applications. However, when we go to production, we do not have the same liberty, as we need to ensure that our applications: Are fault-tolerant Can scale, and do this on-demand Use resources optimally Can discover other applications automatically, and c...
Jenkins Overview: Jenkins is an open source automation server written in Java. Jenkins helps to automate the non-human part of software development process, with continuous integration and facilitating technical aspects of continuous delivery Basically Continuous Integration is the practice of running your tests on a non-developer machine automatically every time someone pushes new code into the source repository. Built on top of Continuous Integration are Continuous Deployment/Delivery where after a successful test run your instantly and automatically release the latest version of your codebase. Makes deployment a non-issue and helps you speed up your development. Jenkins Installation on CentOS STEPS: Lauch an ec2 instance in AWS run the below script to install jenkins #!/bin/bash yum update -y sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo sudo rpm --import https://pkg.jenkins.io...
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
Comments
Post a Comment