Skip to main content

Posts

Showing posts from March, 2020

Build and release interview questions and answer

1. What challenges you have faced in your experience    A)Faced issue while setting up HA(High availability kubernetes cluster) by using kubespray to setup master and worker nodes    B)Uploading microservices dashboards in to grafana .    c)After build deploying war file in to s3 bucket   2. What type of build failure you have seen and how u fixed ?    when doing maven project build was failled due to maven version not supported after fixing the maven version Build was success and job was stable 3. Same question for deployment how u fixed deployment issues    In kubernetes when i am going to deploy elasticsearch in kubernetes cluster i fixed the limit and       requests count i.e GB then finally deployment was success. 4. What type of automation scripts you have written    For automation purpose we written groovy script according to that we made different stages build ,   test an...

Linux commands

1. netstat --listen To check which ports are in listening in Linux Server 2.lsof lsof  means List of file, we can know which file is opened by which process. 3.systemctl status To check status of the service 4.  ps -ef | grep httpd To check process 5. top By this top command to determine which processes are running and how much memory and CPU they are consuming. 6.df    df stands for display free disk space we  can use df command to troubleshoot disk space issues. 7.df -h  This command show free space on mounted file systems.     8.fdisk -l  fdisk -I command show disks partitions sizes and types. 9.free - h free  command gives you a summary of the memory usage with our computer. It does this for both the main Random Access Memory (RAM) and swap memory also. 10. kill kill  command allows you to terminate a process from the command line...

Jenkins interview questions and answers

1. In Jenkins I have a 3 jobs like env , uat , prod Case 1 If trigger a job 'env', based on condition it go-to 'uat 'job and trigger job Case2 trigger a job 'env', based on condition it go-to 'prod' job and trigger job How to write job freestyle or pipeline? A. Install build pipe line plugin Then click on plus symbol in that view name give Buildpipelinetest select .Build Pipeline View then click on ok. under select Upstream / downstream config   Select Initial Job as env Then next select similarly uat and next prod then these three will be chain linked and each one build one by one if one becomes success.

Kubernetes interview questions and answers

1.H ow to setup kubernetes dashboard on ubuntu16.04 cluster? To create kubernetes dashboard follow below link https://docs.aws.amazon.com/eks/latest/userguide/dashboard-tutorial.html To deploy the Metrics Server kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.6/components.yaml kubectl get deployment metrics-server -n kube-system Deploy the dashboard kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml root@ip-172-31-43-76:~# kubectl get svc -n kubernetes-dashboard NAME                        TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)         AGE dashboard-metrics-scraper   ClusterIP   10.102.6.123   <none>        8000/TCP        120m kubernetes-dashboard  ...
Hi this is sreenivasulu reddy worked as aws Devops software engineer .I am trainer as well and i was given training to different persons who are working in different companies like Techmahindra, Accenture, Cognizant Technology solutions and wipro etc. And also i was given my training to the persons who are new to IT field and i was explained from basic level My main concentration is to place many number of persons in to software companies and they only clear their interviews by my training they no need any dependancy they will clear interview by themselves only . From my  training people will learn following tasks related to both aws and devops These are the topics which I am going to cover Source code management - Git, TASK - 1)  Pushing file from local repository to central repository 2)  Jenkins setup by deploying Jenkins warfile into tomcat 3)  Installing Apache httpd , nginx on Red Hat Machine 4)  SSH keygen in between 3 machine ( Password les...