0% found this document useful (0 votes)
2 views16 pages

DevopsCompleteNotes

The document provides a comprehensive overview of DevOps, covering its fundamentals, lifecycle, and best practices, including CI/CD with Jenkins, version control with Git, and containerization with Docker. It highlights the importance of collaboration between development and operations teams, automation, and the use of various tools in the DevOps ecosystem. The content is aimed at engineers and individuals looking to build a career in DevOps, emphasizing the benefits of faster software delivery and improved quality.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
2 views16 pages

DevopsCompleteNotes

The document provides a comprehensive overview of DevOps, covering its fundamentals, lifecycle, and best practices, including CI/CD with Jenkins, version control with Git, and containerization with Docker. It highlights the importance of collaboration between development and operations teams, automation, and the use of various tools in the DevOps ecosystem. The content is aimed at engineers and individuals looking to build a career in DevOps, emphasizing the benefits of faster software delivery and improved quality.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
= (Beginner to Advanced) = Release Deplo Plan RK a Piey r \ wv Learn DevOps step-by-step 4) | Bridge Dev & Ops like a Pro! of | Jenkins Q Kubernetes © Monitoring & Docker © Git @) Fouow | <7 share | CQ commenr | © : COMPLETE NOTES ; P (GF) @qa_insights ; ue COMPLETE NOTES < AY What You'll Learn DevOps fundamentals and culture DevOps lifecycle & best practices CI/CD with Jenkins Version control with Git & GitHub Build tools with Maven Containerization with Docker Orchestration with Kubernetes Monitoring, Logging & more DevOps in Automation Testing Collaboration + Automation = DevOps 4% Who Should Learn? DevOps Roadmap © OH Engineers & Test Automation Engineers Lear the Fudan —> Dope cen, cre, snk 2 Deedee Ver Control Git, GitHub Pacer . ron Co > Gi, © Anyone who wants to build « carver in DevOpe Build & Automate > Maven, Bud tools CL/CD Piping > skins, Rpts © Why DevOps Matters? é Detar ibekee © Faster delivery of high-quality software, é Orchestration > Kubernates basics © Beiter collaboration between Dev & Ops teams. b onsing End-to-end DevOps implementation @ From QA Perspective fos seit ae et ca, 8-E -—)-@- 9 lakegrate tests in CI/CD pipelines, and deliver quality software faster with confidence! Test Automate Deliver Faster [ @ Keep Learning, Keep Balding, Keep Growing! 3? w Let's master DevOps togethe > } | o— learn © Share ¢ Grow BD eins ————e @qa_insights _*———e > WHAT IS DEVOPS? < ( js nati 7 | DevOps is a combination of Development (Dev) and Operations (Ops) practices, | fools and culture to automate and integrate the process of software development and IT operations. LY Definition Devdpe is a calle and sek of precios thal sins to shorten the systems evlopmant life cycle ond provide exntinuoas delivery sith high sofware = Better Collaboration. Better Software © Goals of DevOps @® Benefits @® DevOps Culture © Deliver value to customers faster @ Foster time to market @ Collaboration over Silos © Improve cclaboration between teams | @ Continuous delivery & deployment | @ Automation over Manual Werk © Adtomate manual. processes © Reduced failures and rllbocks © Continuous Improvement @ Increase efficiency and productivity | @ Beller scalability & stability © Transparency over Hiding @ Ensure high quality & reliability © Higher customer satisfaction @ Stored. Responsibility © Inproved feedback & visibility © Customer-Centric. Approach HER Why Companies Use DevOp: © Te handle dipanic market changes quily © To reduce manual work and human errors © To improve product quality and reliability © Te chin busines goals Faster -@-Q-9-@-B- | Plan Code Build.» Test «Release Deploy Operate Monitor © T grin conpatitive advantage DevOpe connects every step of the journey and makes it continuous! | DevOps is not just about tools, it's about people, process and culture working together | to deliver better software, faster and smarter. } o———— _ Learn @ Share @ Grow @qo_insights > DEVOPS LIFECYCLE < DEVOPS LIFECYCLE © Use automation © Fnaure smooth llouk @ overate Op © ant ag pt © Mostar health © Handle ides {© Optinins performace © ronrtor afi © Monitor loge & metrics © Sak alerts & notifications © © Compile the cade © © Manage dependencies | © Use bald tosls Maven) © Und, Inlegraion, E2E tests Code quality checks Security & performance teste ; >) [ 2@ Key Tokeawoy o | © te Mees O-&- ai- OO | inte eee ie pions fs « meso | + tecumadt sol eaten Cantinusus Baer Fader Bane | L Cycle Collaboration Delivery Success | Learn © Share © Grow [@) @qa_insights ——____—e @qa_insights > DEVOPS TOOLS ECOSYSTEM < (~ DevOps uses a set of powerful tools that work tagether at different stages} | A Whe Weal te satan, agate and dalees etwas fakes. | Tra \{ Gt | Maven | {Selenium zt) Docker ‘Ansible + Pansing | SHH | gat Playwright || scutes || Titiresiee I. + Configuration Ting | erin | + Dp || + Aoi || ontiry | + Canin || Haagen oe Gent | Megat || Tet || nage || rattan || «Adon tate || cae | suaity |] Article _ U \ “TOOLS BY CATEGORY (A vesion cONTROL) (CID. ~—) (BUILD TOOLS) CONTAINERIZATION ) { ORCHESTRATION Gk Gata Maven Docker Kubernetes Manage code changes end ial hl poecs and menage | Fastoge ppaion and || Asana delognnt, callable withthe team pny pens apd ety edged teaing nd sport CODE QUALITY) [ARTIFACT REPOSITORY MONITORING VISUALIZATION COMMUNICATION | ») C 6 s SonarQube Nexus Prometheus Grafona Slack Aaalye code unity | | Se ad manage bald Gallackien and Cote dastoards ond | | Tam conmuietion end ect etal end Uren, onker peas ui ren dota Key Takeaway | [Pt times |e ge a Remember ] © Choose the right oot for the job. | © nage tose fr masimun vale. — | © Automate everybhing you ean. | @ Mort ond improve continue, — | These Lele may look different, bab thay work together os a team to mche DevOpe faster, smarter and raiable eLearn ¢ Share © Grow (@) Oyo insights —————eo @qa_insights > CI/CD EXPLAINED < (—CH/eD stands For Continuous Tnbagration, Continuous Delivry ond Continumus. Deplaymant Ik is a DevOps practice that helps deliver high-quality software faster and reliably -@-#-6- Test Devloper Code ie) [Automated | {Bud erate Aatfacts oe ) | Aplin is wcaeits| | enpntent| | totsen | | ceyagd | | mogent | | agtga te | | eames ee to Gt | | tat etfs) enaeatad to || (TAR, WAR, | | opprovd for | | target performance rpstrg | | we ede | ere gatiy| | Dede tmag. | run | | irene, | ad @ Key points SJB CI vs CD vs CD (Deployment) © Co: Denes integrate nda frmpany Anpet | a © (elvery) CD (Deployment) Tntngale 8 tat | Daler code © 0 Caio: Cla ag no dee dal | Heaing | TAPS wah ome © CD (Depiaynent): Code is automatically | aeter | T deployed to production. Tagger commit [_Maswat sopra] Aatematio © Automates build, test, release and deployment at © Reduces manual werk and human errors. © Provides faster feedback to developers © Inpro cabana uly HB sencrrrs oF creo © Fate ey of faire ©-8-6-e-9 © ey ty den oie ey See Alen fa see cow a ey oN Fars are © Consistent end reiale releases f, Feedback Loop @ ipeteenios J Shemp Cap (ke eae 0 | un CI/CD = Speed + Quality + Reliability Automate Everything! @ga_insights. ———_—e SXAMPLE (JENKINS PIPELINE SNIPPET) Ey) Remenper © CLis about Integration & Testing ae © CD (Delivery) is about Releasing safely. tage Toot) ( tage (oem tl DD agape © CD (Deployment) is about Deploying automatically. e e oo _ lean ¢ Share © Grow @go_insights GIT_IN DEVOPS < Git is a Distributed Version Control System that helps teams track changes, | collaborate and manage code efficiontly. | fy WHAT Is GIT? Tae ary change in Ube cle WHY GIT IN DEVOPS? | © Version Contr = Track every change © Aleve maltiple developers te work tegsther © Collaboration - Multiple people can work together © Stoves cade i a remote repeater r © Branching = Work on features independantly, © rae tng, mergag and clarion, BTL | @ sgainn- wee wth C/CD lode Ue Sie © Exeertial for CI/CD pipelines chup ~ Remote repositories act as backup, ‘Ye GIT_WORKFLOW ‘fy GIT BASIC COMMANDS gt int 1 nilise «nw repertory fa) = = S = a st done i> Geo ronte reper gt odd 1H Add Fle te saging crea Working Segng git commit =m Tm 1 Connik chong Sealy ey git status Check status of changes ft puch origin Push te remote repo | faba St pull origin branck> Hf Pall from ramola repo | ore bail git branch # Lt all branches sidbe it checkout ff Snitch to & branch git merge 1 Marge @ branch ‘YY BRANCHING IN GIT ‘fy GIT WORKFLOW EXAMPLE © Brenching lle you Ue wk ox Fula indapdaly © tr agg be a ac -Ee >(Y-@-G > Q © ‘Koos the main code cable me gia ateh aie bonne a * . see ergs ‘ a / feature/login ot pall ‘fy COMMON GIT BRANCHING STRATEGY. ‘Uy GIT BEST PRACTICES sain /mastr = Ste proutin os, WO) | @ Wate meoingfl coil metage Alevlep = Italia bree fr fares develop © Pill atest changes before puting featre/* = Naw fre gee facur/agin © Crscte feature branches for nw wrk = © Ds code revit sing Pll aque ralease/* ~ Ralaae nee seen’ © Lap sore salen ani Netfad* ~ Fa for predation Ws a/R © Nove path sositve dale Gt hap teams cellaborate efficiently, manage code versions and AB tor weenie uy nk Oo bi cl ge @ga_ insights \ Z > JENKINS < Tanking iz an, opinmseuree automation servis vised to build, test, and. deploy ications continuously. It is a key tool in CI/CD pipelines. ‘ty 1. WHAT IS JENKINS? \" JENKINS ARCHITECTURE © Geree catenin sr ih a Ja © FHalpe atonte the ba a and Aeplagan reese © Sapper 1000+ pl © Eile and eat fo nig © Werks on Moster-Sove (Cntstle-Ase) Jenkins rca © Widely wad for C1/CD in Der. | Master assigns jobs to Agents (Nodes) to execte, ‘Ye 3. JENKINS COMPONENTS ‘Py 4. JENKINS JOB TYPES o ob BS a © Frenssle Project — Simple jy bud aps defined manually © Paine ~ Define ene CI/CD a code (Jenin) ald Pugin | Workspace | Craanils menial = Ran a jb ih malig exfigue Bina, ean dya| Eline is [rsa ach fm amy | © tematic. tetwenctnd | eatin sth | fai |e fo [pom tes | @Fider ~ Orie mile jb Sie | True. | omoepogea | not | 7 = om © Malbeanch Pipeline ~ Crack pipeline for each branch ‘Ye 5. JENKINS PIPELINE FLOW ‘fe 6. BUILD STATUS ©-@-&- + BGO | OMS Nek ay © UNSTABLE - Some tests failed. Cohn au Sim pinta) Choma) Gey S| @ FATE ad Failed oo Rage for wry change (Cte Inttin) = J © ABORTED - Bild was stopped. iy 7. KEY FEATURES 7 ‘Wy 8. BASIC JENKINS STEPS © Sayin wean | 6G hag age wth @ Intel deine one own {+ Pein Ragin = CLD Pn @ Goh cnet led de wig Ags; | su Pin = Ta rept © Conga see cde (6, Pein as Cle Coif) | an pag ~ adh Guedes os es, ate ith ny Bee ee ane a a, tm i © Aid post-ildactine (eg, pblh reports, dep? © Gna / Sack nate lide coolant © ‘sore and Bald Now. Te POPULAR PLUGINS = a , ier tweduy Jenkins automates the build, test and deployment process, making CI/CD # | faster, reliable ond consistent o———_ Lean e@ Shore —PRVUUUUUUR UU UU UU Ue eeu uuu eee @qa_insights > MAVEN < ifies the build fe 4. WHAT IS MAVEN? © Apache Maven is an open-source Inild automation tel © 1 uses 0 FOM (Prejpct Object Madd te manage projet bud, peda, plugins ond reporting Apache © Fallows convention over configuration. JYVJaven™ © Widely used in CI/CD pipelines. ‘Ye 3. MAVEN PROJECT STRUCTURE imy-project foe > Tove sores flee feewaress > Config fas teat fon Tost source fle rasureas > Test cong files | «tigre -» Gt omouml > Prajct Object Medel ‘fe 5__DEPENDENCY MANAGEMENT © Hoven automatically dovnlonds required Ura, Maven is @ Build Automation tool used for Java projects sats dependencies and standardizes proj ‘fe 2, HOW MAVEN WORKS? > @-in-o [Link] ail, Test, Cantina projet mee pat eis Ae info dependencies and resolves from ramale generate end pagina, dependence repository, eperta ‘fe 4, [Link] (PROTECT OBJECT MODEL) POM is the heart of Maven project Tt contains project info, dependencies, 2 and. configurations sschemeLeeation="hlp://[Link]/POH/4.0.0 itp://[Link]/esd/naven4.0.0.134°> nodalVersion>4.0.0¢/modalVersion> “ com. qa /groupld> ‘Ye 6. MAVEN LIFECYCLE Maven has 3 built-in fecyces © Add dependencies i pomanl Liege pore Phases Gansie) TE eateries | fact | er cae | Seren a Soe |e | ee — ere pa Foran stg cid > (its) > (aa) ‘YY 7, USEFUL MAVEN COMMANDS ‘Wy 8 FEATURES ‘Ye 9. BENEFITS OF MAVEN Paper Geant lrg dicing or comps | Campos the sus nds [Dei t vense pay © Automatic dependency management © Standard projet erative © Built-in Ufeyee and goals ‘om tet] Bans the tots Eenatle with plugin roo pocage | Pakage he pra CART can om all | Taal th phage Uo eal repo a © Ey inegration with CI tas Geka, Gibab Cl, de) Maven standardizes the build process, manages dependencies and makes projects easis © Reduces bud tine © Consiaent aide exons enveoanents to build, test and deploy @qa_insights > DOCKER < { Docker is a platform that helps you build, ship and run | | | L applications inside containers. ‘fy 1. WHAT IS DOCKER? ‘Ye 2_HOW DOCKER WORKS? pian serail = teahe oypenate a eee oat pireegaucen © Lihaishh, portable and wary to dep © iss eto datp #100 pp, AOCKEL Clint sands conn manage Tepid =o Cookies ead lem ‘Ye 3. DOCKER ARCHITECTURE ‘Ye 4. KEY_DOCKER CONCEPTS Conca Design Taoye 7 rekon wih ots Cota TD cwoing Shmesiaf = 7 tet file with uacion te build teawrie | A Daw nn [tan 6 ee en Volume Used to perish dala ouside container. ak ‘lows itainars to communicate woth each ther ‘Hr 5. DOCKER BASIC COMMANDS ‘We 6. DOCKERFILE EXAMPLE detar——vrson 1 hack Br ron FROM open jk:47~ jdk-slim Skepta — “F paintieoee aes ster Cages Parerenn WORKDIR: app decker ron cinage> 4 Ra 6 cnr COPY target app. jor opp. jor Se 4k ating sans Sud ae dakar fe —e # Uk dl eolanes | cient, | [Lemmon cinetpevo 3 ‘We 7. DOCKER WORKFLOW | We 8_DOCKER VS VIRTUAL MACHINE B-# @->-E Sais mee | meee) | (ecm) | tetas) i Decker makes applications portable, consistent and easy to deploy Tk is @ core technology in DevOpe and Cloud Native world. KEY TAKEAWAY + Learn @ Share @ Grow — (@ @ya_insights e—____o eet @qa_insights = KUBERNETES < ie 4_WHAT IS KUBERNETES? © Kubernetes culomales deploying, scaling nd cperaing cintanaicod eppietins Th grouga emmtainare inte lgial anita for cary, management Provides clf-healing, load balancing cand rolling plates Widely used in DesOpe and Cloud Native sevens kubernetes ‘We 3._KUBERNETES CORE CONCEPTS { Kubernetes (KBs) is an open-source container orchestration platform | that automates deployment, scaling and management of containerized applications. ‘fe 2. KUBERNETES ARCHITECTURE Cntr Plane Haske) Control Plann > Manages the caster Worker Nedes > Ran the containerized plications Pode > Snallst dplgable nits (eae or mere conlinrs) ‘Ye 4. KUBERNETES OBJECTS Ped | Deplognent | Service | Mamepace | Configep ne) se & Salle wa Manag egos Se dp | Wha daar | Si sin Wake te | od pn | Seaman ot pp prin dhe pled, aie pin, AF Fle. aa pnp ‘fe 5__KUBERNETES BASIC COMMANDS faibett get pede Lis all pede abet get nodes Lal ll nodes beet get deployments Lil ll deplagnents bet got services Uk all sarviene habeatl describe pod tt Deseibe a pod habeclL lage View pod lage abecth apply “F —# Apply config beat dalele -F — Delele config ‘Ye 7._KUBERNETES WORKFLOW Share oe _leam Kubernetes cutomates contoiner management, makes applications scalable, reliable and easier to operate in modern IT environments oe | ae a sos Teer | eat segeceep pa ate aS ae aan Tafighag [set | Tages | Pong ela sts to eves ITPA. ‘fe 6._POD YAML EXAMPLE ‘opiVersiont vd KBs APL version nd Po nneladate: Object type name! my-ped Pod nar pet container nama agin Container name mage: nginx Container image ports TcontainerPorts 80 Exposed port ‘We 8._BENEFITS OF KUBERNETES © Anaad dpignnt. Eek rome stg Givi © hating updates e pa = & & rollback pactooran e © Lad balancing aera # @ eqp_insights ————e © Grow ib > | @ Oqp_insights | = MONITORING & LOGGING < = = = = o \ = | Monitoring helps you know what is happening in your systems in real-time. | | iL, t __Legging helps you understand why it happened. } wh WHAT Is MONITORING? ‘Ye 2. WHAT IS LOGGING? re © Monitoring is collecting real-time Deshboard © Legging ia recording events Log Fle ee OI eee ps | OE | wear tats eo or © Te helps in detecting issuss early LAD || © te hetps in troubleshooting | aog4a06-20. 20:25:22 ERROR = ‘and ensuring aysten health. Vaid ‘and root couse analy DB connaction failed |B © Feces om mari, performace © Feeses om lige omnis | AUER mabe ten mace areren = —_ 2 Ye 3__MONITORING ARCHITECTURE ‘¥ 4 POPULAR MONITORING TOOLS 7 me wk at Pa ‘gies T) [tive ) [Tooter] (Yoram eon Exporter Database Barts Prometheus | Collects & stores matrics, powerful querying 2 eo wl | 6/64 = © pr ets atts fon ore = Metrics are stored in Time Series DB (Prometheus). Lok Leg aggregation system 6 Grafona_Labe. ep © Glenn soualoes data end sands alerts Advisor Monitors containers performance. = Ye 5. LOGGING ARCHITECTURE & POPULAR LOGGING TOOLS (ELK STACK) crane re = > _ ent ml er atime | Ss a hdem = rr eee © ee tt pm el ~ - oon = bone Searches and vuln log fe 8 ee up me Ovo i ———————— ty 7. SAMPLE PROMETHEUS METRIC Ye 8. SAMPLE LOG ENTRY (JSON) sien ° poem ne | i act ya eariwane, —) 22 2 = 2 lads sinc emo", i? tae || EE, =e i = awe, [Sate 7 |e | eg oer = ia d — oe = ‘Ye BONUS: MONITORING vs LOGGING ft voce | toe) FDO Parpors | Tle gon WHAT is heping Gretna] Tele you Wh i happened Dey Cae [ per tee raat) [ey ea sg ee ee Ee ip [F_Uoe Gam | Alerts, deshboards, agptem health oblehooting, mat, dabgging © data Tye | Namen Textual Monitoring shows you the health, Logging gives you the details ‘@* Key takeaway Teper, ay ake jou sptent rllabtal o—___« Learn © Share © Grow - @ga_insights = DEVOPS IN AUTOMATION TESTING = DevOps and Test Automation together help deliver high-quality software VUVVs = ve 1. WHAT IS DEVOPS IN TESTING? faster, more reliably and continuously. ‘Ye 2. HOW DEVOPS HELPS AUTOMATION TESTING? OTe nes Guns, (GT | En a SD ard Testing teams together © Gate Fiat en 2 © Continuous testing cod centiucus Ingrovnant © Gick raleasee SD © Go: Deter velae to ser qucly © Better collaboration with high quality. \eg/ = RA J we © High product quality OA / Test =® wW 3._DEVOPS PIPELINE WITH AUTOMATION TESTING 1 PN 2. cone 3 BaD | > oo > compe ete | | tn aonatt | | Dpto tat” || Hala pe mova te} | tee Ota || ag toe nal etiatt || “Riyeen || pcchin | |aana Tisede || tla) || mete = Feedback loop for continuous improvement ——- Ye 5. BEST PRACTICES Shift-Laft testing (last cary) Automate repeatable tests Maintain test data & environment as code, e © Integrate tats in CUED piping © Monitor rnute and ack quill Teal Automation TestNG, Cucumber, JU, Tet rent | Ba ee © Coat eran Der Ohad Op a Dade, fab | | oe 6 MOLE DEMING POPLINE GAPLE Pig | Pn, Gf a ‘fe 7._KEY BENEFITS #|O|m|@|aa ar | set eS o Le Bean etary eres VUUUUUEUUEeuuaY @qo_insights Let's cee how a real project Flows using DevOps and Automation Testing | From code commit to production with monitoring ‘Ye 1 END TO END WORKFLOW OVERVIEW 1 PLAN 2. CODE sep | {4 uw test) {5 mrecrare | { 6 TesT 7 veptoy | [8 roNzTOR mo PAB Raguremants | | Devlpers ode bil Tatagate cde || Ram ated | |Oapigte Stagg] | Montoro, Tes wite code 8 | | wing Maven” in CE pgs || tats ut, At, || 7 Prdacion | | loge & aarte Paring commit (Gt) Grade (eaknarittas CD} | Regrenion) | | (ecar/K82) + = Feedback loop for continuous improvement ‘Ye 2. DETAILED FLOW (STEP BY STEP) ‘Wy 3. REAL PROJECT WORKFLOW DIAGRAM © Decipr wries sade and puss te Gi reper abe Tae a © Cr srr tiger hil antmaticl > © > g > a tate in ~ fad, © wt tate sing stp nz I nN © Cote is ilagraad ond artifact is erated © Aatonaled tasks CUVAPD excite in lst environment © 1 lh tse pas, code is deployed to aging Roki Sag) [md a — © Hr sadn, ela ponte Ue pedi © Apel is mie fo prtmane, errs gs = Nes / Fed - 4, SAMPLE Cr PIPELINE (TEWANSE ‘Pe 5. TOOLS USED IN REAL WORKFLOW wim Sage "Tene 7 Teologin = fe Gi, Gihab, Glad, Bled eC) (ge (do )) ala Maven, Grade Senco) {aye Arann ea 1) S2tor eet an facnert [are | Serkine, Gilab CL, Gi Ackine Spy eM te 3) Sas Ho ieicdl See eee Test Atontin | Seam, Roget Rest Avr Seo ea ae Canna = Deployment | eke, Kabwrnaes, Hain Tnitring | Proms, Grafana, ELK Stack ‘tr 6 KEY TAKEAWAYS © oop tee aah, Slain ad fear dary f ‘fr 7_REAL WORLD SCENARIO © Aruna Ting anes ay ak erry age | | Wenaar a denloer phar cade Aatenatin Oye | 2 =F © C110 pine ge cnt a ree re i © eninring hae ick at tn and rin 1 wrung pene, tire gl the ‘ OC Clack pee be pt a «6888 f ‘A good DevOps workflow + strong automation = Reliable Releases, © er weeny Hany eons and opp Catone v speed + Quality See ital @qa_insights > BEST PRACTICES & INTERVIEW TIPS = (dy Follow best practices to make your DevOps pipeline reliable, secure and efficient. | These tips also help you crack DevOps & Automation Testing interviews! ‘Wy 4. BEST PRACTICES ‘Automate everything ~ Build. Test, Deploy, Monitor Keep code in version control (Git. Use small & frequent commits, Run tests early and often Keep environments consistent Monitor everything & act on alerts Use Infrastructure os Code (TaC). Keep pipelines simple, secure & repeatable. ‘Ye 2. PIPELINE BEST PRACTICES Pu @ Sere ses Nays en errs | | (he Geli ingrove & Str) sefaclor ‘We 3. CODE QUALITY TIPS Follow coding standards. Do code reviews Use liners & static code analysis (BonarQube, ESLint) Write meaningful commit, messages Remove duplicate code a t © % 00 C00 4 SECURITY BEST PRACTICES © Never hardeode secrets © Use enironment variables credential sores © Keep dependencies updated Sean cola for valnerablitnn Apply least privilege access *2 ‘7. _DEVOPS SUCCESS FORMULA ist O+ Ola -@ | Collaboration Automation Security Monitoring <= © £) Success fie ‘\ ala t 5_ INTERVIEW TIPS Understand Concepts: Focus on “Why” not just “How” Be Hands-on Practice building real pipelines, Explain Clearly Use simple diagrams to explain, Know Tools: Gil, Jenkins, Docker, Kuberentes, SonarQube, Prometheus Share Experience: Talk about projects, challenges B how you solved them. ‘fe 6. COMMON INTERVIEW QUESTIONS Gh, What ci/eo? fess GED = pacts of atoning cade tegration (Cl) and dathery/deplognent (CD) 2, Differance batwean Docker & Kubernatas? ‘Ans! Docker ia for containerizalion abernaten te for orchestration. a g 6 @ a] 3. What is the role of Jenkins in DevOps? Ane Jenkine sutomatar build, test and. deployment ‘sing pipeline. G4, How do you handle secrets in Jenkins? ‘Ane: Use Tenkina Credentials or external secre wmnagers CI/CD + Monitoring = Reliable Delivery Raejaatl niente tea UU UU UU @qa_insights = SUMMARY & QUICK REVISION Let's quickly revise everything we learned in this DevOps Series ) Keep learning, keep building, keep automating! 97 | ‘We 2. DEVOPS BENEFITS = ~ Si © Faster time to market @ High quality software © Early issue dtection © Butler cellaboration & & & © Continuous improvement Continuous Integration, Continuous Delivery ond © Happy teams & customers People + Process Continuous Feedback make it repeatable and reliable + Tools = Success = ‘We 3. KEY CONCEPTS WE LEARNED t 4 TOOLS QUICK RECAP Area. Teale © Cl = Integrate cade frequently & automaticly Code Gi, Gilub, Gleb, Bibucket © CD ~ Daler changes to prouctin safely Build Maven, Grade © Automaton ~ Seve tine, redices manual for cisco Tenkins, Gilab CE GitHub Actions © Monitoring - Get visibly & act on insights Test Automation | Selenium, Plaswright, Rest Assured, © Collaboration - Dev + Ops + QA work together. Deployment Decker, Kubernetes, Helm Monitoring | Promathes, Grafana, ELK Stack “3 5._REAL PROJECT WORKFLOW (SHORT RECAP) -| Qos eatd Ta] &. Arock ‘® 6. DEVOPS + AUTOMATION TESTING © Aaenaed tes rn in I pp © Fast feudback te dolore © Clty gates anniv ony ged coe weve Fired ; © Te raprts 8 malrics lp in dasion maling — ary . © SAL testing improves quality carly Gt lane. repeal gt ada Si commit -m “message! $4 push eign ain ee tae ‘char rum nd -p 8080-0080 spp Slage al changes Can chagee Rid to roms Share Learn, uid Becar tnage © Grow — Feedback Loop ——— * You've completed the DevOps Series! 6 _Keep practicing, keep building, keep growing! @ga_insights #_INTERVIEW QUICK TIPS Undarstand concats clearly ine real examples fram prajcts Use single diagrams Knew your tools & commands DevOps brings People, Process and Tools together and Automation makes it a

You might also like