Sheikh Mustafa has 3 years of experience in DevOps, working on an e-commerce application using microservices architecture with technologies like Git, Jenkins, Docker, Kubernetes, and Ansible, managing infrastructure and deployments, facing challenges with deployment failures, and implementing branching strategies to fix bugs in production servers.
Linux versions used: Amazon Linux and Ubuntu, with differences in commands and package installation; Awk command searches for patterns, DF and DU check free space, group command adds users; Sonar Cube checks code quality and raises tickets for bugs.
The Master Slave concept in Jenkins allows for workload distribution and job assignment, and if the master node fails, backups can be used to run the jobs on a new instance.
The speaker discusses a declarative pipeline and the stages available in their project pipeline, including code retrieval, building, testing, deploying on pre-production servers, using selenium for testing, and direct deployment to production servers, and explains how to configure the Jenkins pipeline to continue executing remaining stages even if the first stage fails, using various plugins and triggering jobs from the Jenkins dashboard or pipeline configuration.
To install Git on remote servers using Ansible, use the "yum install git" command for root user or the "become" command for non-root user, and Ansible can also automate the installation on multiple servers; to copy files between machines, make changes in the Ansible configuration file, add a user in every server, generate a key in the master server, and copy it to another server.
Docker is a containerization tool used to create and deploy applications, while Kubernetes uses pods to deploy and manage containers, and stateful sets for managing stateful applications, while deployments are used for stateless applications, and there are multiple ways to connect to an AWS EC2 instance without a pem file.
L7 load balancers have advanced traffic management, Nat Gateway provides internet access to instances in private subnets, VPC bearing connectors allow resource access between VPCs, and security groups and NaCl control traffic and provide security in VPCs.
Focus on improving Jenkins pipeline stages and understanding Kubernetes manifest files for deployments.
This article is a summary of a YouTube video "DevOps Interview For Experience : First Round Selected" by Ashok IT