Kubernetes (also known as k8s or “kube”) is an open source container orchestration platform that automates many of the manual processes involved in deploying, managing, and scaling containerized applications. Pod: A group of one or more containers deployed to a single node.
if app is not working , then send email to developer with error messages and redeploy the application after code is being edited by the developer. FROM centosRUN yum install wget -yRUN yum install git -yRUN yum install sudo -yRUN wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repoRUN rpm — import https://pkg.jenkins.io/redhat-stable/jenkins.io.keyRUN yum install java-11-openjdk.x86_64 -yRUN yum install jenkins -yRUN yum install net-tools -yRUN yum install python36 -y
This shell command is to check the status of the webserver .If it’s running then skip otherwise pass the failure code to Job-4