What is Docker? World before Docker no virtualization hypervisor-based virtualization container-based virtualization Architecture Docker uses a client-server architecture Main Docker elements deamon : process that runs on a host machine (server) client : primary Docker interface image : read-only template (build component) registry : public or private image repositories (distribution, ship component) container : created form image, holds everything that is needed for an application to run (run component) Benefits of Docker separation of roles and concerns developers focuses on building applications system administrators focuses on deployment portability: build in one environment, distributed and run on many others faster development, testing, deployment scalability: easy to spin up new containers or migrate to more powerful hosts better ...
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 Slave (Mac) Setup:- Go to Manage Jenkins and Select Manage Nodes Click on New Node Give the node name Give the executors Give the Remote Root Directory Specify a label name, For example: any custom name Select the launch method as: Launch agent via Java Web Start Click on Save, once done with above steps. Below the output, we see once after saving the changes. To start Mac Slave communication for Jenkins server Create a script for running the java JNLP from slave machine using the below content mentioned in the box. java -jar /Users/ssp/Downloads/slave.jar -jnlpUrl http://13.126.145.70:8080/computer/MacSlave/slave-agent.jnlp -secret 4c0a0370a9e9a46edfe939ccab0e9f4707715bd663587ab8c9e8e17287c1cf4c -workDir "/Users/ssp/jenkins" Put the above content in a script (ex: - Mac_Slave_On.sh) Give executable permissions to the script (ex: - chmod +x jenkins_slave.sh) Now To m...
Comments
Post a Comment