[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-391867-105":59,"doc-detail-391867-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","cicd-with-docker-and-kubernetes-second-edition-how-to-deliver-cloud-native-applications-at-high-velocity-semaphore","CI/CD with Docker and Kubernetes - Second Edition - How to Deliver Cloud Native Applications at High Velocity - Semaphore","","CI/CD with Docker and Kubernetes Second Edition explains how to deliver cloud native applications with high velocity using Docker and Kubernetes. It covers benefits and a Docker adoption roadmap, then deploys to Kubernetes using containers, pods, deployments, probes, rollbacks, and advanced rollout strategies like blue/green and canary. It also defines CI/CD pipeline best practices, provides an end-to-end workflow, and demonstrates implementing the pipeline with Semaphore, including Kubernetes provisioning, databases, canary and stable releases, and rollback troubleshooting.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/cicd-with-docker-and-kubernetes-second-edition-how-to-deliver-cloud-native-applications-at-high-velocity-semaphore/391867/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/cicd-with-docker-and-kubernetes-second-edition-how-to-deliver-cloud-native-applications-at-high-velocity-semaphore/391867.png","ImageObject",300,407,{"name":92,"@type":93},"Aria","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-22","2026-09-25",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",13,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What topics does the book cover about Docker and CI/CD adoption?","Question",{"text":113,"@type":114},"It covers the benefits of using Docker, a step-by-step roadmap to adopting Docker (including Dockerfiles, compose, testing, and deployments), and a summary of the approach for development and delivery.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How does the book explain deploying applications to Kubernetes?",{"text":118,"@type":114},"It introduces containers and pods, contrasts declarative and imperative systems, explains how replica sets and deployments enable scaling, and covers readiness probes, rollback strategies, and rollout parameters such as maxSurge/maxUnavailable.",{"name":120,"@type":111,"acceptedAnswer":121},"How is Semaphore used to implement a CI/CD pipeline?",{"text":122,"@type":114},"The book demonstrates setting up a Semaphore account and project, building the workflow, configuring CI and CD pipeline stages (including canary and stable deployments), provisioning Kubernetes and databases, and handling releases and rollback troubleshooting.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},391867,1790413197,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146},2336464648322,"https://ap-avatar.wpscdn.com/avatar/2200025388227c56fec?_k=1778556882303663488","CI/CD with Docker and Kubernetes  \nCI/CD with Docker and Kubernetes Second Edition—How to Deliver Cloud Native Applications at  \nHigh Velocity  \nSemaphore  \nContents  \nPreface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7  \nWho Is This Book For, and What Does It Cover?   8  \nChanges in the Second Edition   9  \nHow to Contact Us . . . . . . . . . . . . . . . . . . . . . . . . . . . 9  \nAbout the Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . 9  \n1 Using Docker for Development and CI/CD 11  \n1.1 Beneﬁts of Using Docker ...................... 11  \n1.1. 1 Set up Development Environments in Minutes   11  \n1.1.2 Deploy Easily in the Cloud or on Premises   12  \n1.1.3 Less Risky Releases . . . . . . . . . . . . . . . . . . . . . 13  \n1.2 A Roadmap to Adopting Docker ................. 13  \n1.2.1 Choosing the First Project to Dockerize ......... 14  \n1.2.2 Writing the First Dockerﬁle ................ 14  \n1.2.3 Writing More Dockerﬁles .................. 15  \n1.2.4 Writing a Docker Compose File .............. 16  \n1.2.5 A Standardized Development Environment ........ 17  \n1.2.6 End-To-End Testing and QA ................ 18  \n1.2.7 Continuous Deployment to Staging ............ 18  \n1.2.8 Continuous Deployment to Production .......... 19  \n1.3 Summary .............................. 20  \n2 Deploying to Kubernetes 21  \n2. 1 Containers and Pods . . . . . . . . . . . . . . . . . . . . . . . . 22  \n2.2 Declarative vs Imperative Systems ................ 23  \n2.3 Replica Sets Make Scaling Pods Easy ............... 24  \n2.4 Deployments Drive Replica Sets .................. 26  \n2.4.1 What Happens When You Change Conﬁguration .... 26  \n2.5 Detecting Broken Deployments with Readiness Probes . . . . . 27  \n2.6 Rollbacks for Quick Recovery from Bad Deploys ......... 28  \n2.7 MaxSurge and MaxUnavailable .................. 28  \n2.8 Quick Demo   29  \n2.9 Selectors and Labels . . . . . . . . . . . . . . . . . . . . . . . . 30  \n2.9. 1 Services as Load Balancers . . . . . . . . . . . . . . . . . 30  \n2.10 Advanced Kubernetes Deployment Strategies .......... 31  \n2.10.1 Blue / Green Deployment ................. 31  \n2.10.2 Canary Deployment .................... 33  \n2.11 Summary .............................. 35  \n3 CI/CD Best Practices for Cloud-Native Applications 36  \n3.1 What Makes a Good CI/CD Pipeline ............... 36  \n3.1. 1 Speed   36  \n3.1.2 Reliability . . . . . . . . . . . . . . . . . . . . . . . . . . 37  \n3.1.3 Completeness   37  \n3.2 General Principles   38  \n3.2.1 Architect the System in a Way That Supports Iterative  \nReleases . . . . . . . . . . . . . . . . . . . . . . . . . . 38  \n3.2.2 You Build It, You Run It   39  \n3.2.3 Use Ephemeral Resources   39  \n3.2.4 Automate Everything .................... 40  \n3.3 Continuous Integration Best Practices .............. 40  \n3.3.1 Treat Master Build as If You’re Going to Make a Release at Any Time ....................... 40  \n3.3.2 Keep the Build Fast: Up to 10 Minutes   41  \n3.3.3 Build Only Once and Promote the Result Through the  \nPipeline   43  \n3.3.4 Run Fast and Fundamental Tests First . . . . . . . . . . 44  \n3.3.5 Minimize Feature Branches, Embrace Feature Flags . . . 46  \n3.3.6 Use CI to Maintain Your Code . . . . . . . . . . . . . . 47  \n3.4 Continuous Delivery Best Practices ................ 48  \n3.4.1 The CI/CD Pipeline is the Only Way to Deploy to Production 48  \n3.4.2 Developers Can Deploy to Production-Like Staging Environments at a Push of a Button ............. 48  \n3.4.3 Always Use the Same Environment ............ 49  \n4 Implementing a CI/CD Pipeline 50  \n4. 1 Docker and Kubernetes Commands . . . . . . . . . . . . . . . . 50  \n4.1. 1 Docker Commands . . . . . . . . . . . . . . . . . . . . . 50  \n4.1.2 Kubectl Commands . . . . . . . . . . . . . . . . . . . . . 51  \n4.2 Setting Up The Demo Project   51  \n4.2. 1 Install Prerequisites   51  \n4.2.2 Download The Git Repository   52  \n4.2.3 Running The Microservice Locally . . . . . . . . . . . ","cbCaincuO0ScIXd5","https://ap.wps.com/l/cbCaincuO0ScIXd5","pdf",3566615,92,"English","# Preface\n## Who Is This Book For, and What Does It Cover?\n## Changes in the Second Edition\n## How to Contact Us\n## About the Authors\n# Using Docker for Development and CI/CD\n## Benefits of Using Docker\n## A Roadmap to Adopting Docker\n## Summary\n# Deploying to Kubernetes\n## Containers and Pods\n## Declarative vs Imperative Systems\n## Replica Sets Make Scaling Pods Easy\n## Deployments Drive Replica Sets\n## Detecting Broken Deployments with Readiness Probes\n## Rollbacks for Quick Recovery from Bad Deploys\n## MaxSurge and MaxUnavailable\n## Selectors and Labels\n## Advanced Kubernetes Deployment Strategies\n## Summary\n# CI/CD Best Practices for Cloud-Native Applications\n## What Makes a Good CI/CD Pipeline\n## General Principles\n## Continuous Integration Best Practices\n## Continuous Delivery Best Practices\n# Implementing a CI/CD Pipeline\n## Docker and Kubernetes Commands\n## Setting Up The Demo Project\n## Overview of the CI/CD Workflow\n## Implementing a CI/CD Pipeline With Semaphore\n## Provisioning Kubernetes\n## Provisioning a Database\n## The Canary Pipeline\n## Your First Release\n## Summary\n# Final Words\n## Share This Book With The World\n## Tell Us What You Think\n## About Semaphore","[{\"question\":\"What topics does the book cover about Docker and CI/CD adoption?\",\"answer\":\"It covers the benefits of using Docker, a step-by-step roadmap to adopting Docker (including Dockerfiles, compose, testing, and deployments), and a summary of the approach for development and delivery.\"},{\"question\":\"How does the book explain deploying applications to Kubernetes?\",\"answer\":\"It introduces containers and pods, contrasts declarative and imperative systems, explains how replica sets and deployments enable scaling, and covers readiness probes, rollback strategies, and rollout parameters such as maxSurge/maxUnavailable.\"},{\"question\":\"How is Semaphore used to implement a CI/CD pipeline?\",\"answer\":\"The book demonstrates setting up a Semaphore account and project, building the workflow, configuring CI and CD pipeline stages (including canary and stable deployments), provisioning Kubernetes and databases, and handling releases and rollback troubleshooting.\"}]","CI/CD with Docker and Kubernetes - Second Edition - How to Deliver Cloud Native Applications at High Velocity - Semaphore | PDF",1790359548,232]