Simple play icon Course
Skills

Kubernetes for Developers: Deploying Your Code

by Dan Wahlin

How do you deploy code to Kubernetes? Learn about different deployment techniques including, rolling updates, Canary deployments, Blue-Green deployments, jobs and CronJobs, as well as troubleshooting techniques that can be used to identify issues.

What you'll learn

Deploying code to different environments can be challenging. In this course, Kubernetes for Developers: Deploying Your Code, you’ll learn about different deployment techniques that can be used to ensure your code and applications work correctly. First, you'll discover how deployments work in Kubernetes, this includes showing how to define a deployment using YAML and migrate it to Kubernetes using the kubectl tool. Then, you'll explore how rolling deployments work, the benefits they offer, and how you can roll back a deployment if something goes wrong. Next, you'll delve into Canary deployments, the role they can play to ensure code updates run properly, and when they're appropriate to use, followed by Blue-Green deployments. From there, you'll learn about jobs and CronJobs, and how to run a one-time job or even run a job on a schedule using the Cron format. Finally, you'll explore different monitoring and troubleshooting tools such as Prometheus and Grafana that can be used to monitor Kubernetes and provide alerts when things go wrong, along with key troubleshooting commands that you can run to obtain more information about problems that arise. When you’re finished with this course, you’ll have the skills and knowledge required to deploy your code and ensure it works properly in a Kubernetes cluster.

Table of contents

Course Overview
1min
Putting It All Together
3mins

About the author

Dan Wahlin founded Wahlin Consulting, which provides consulting and training services on JavaScript, Angular, Node.js, C#, ASP.NET MVC, Web API, Docker, and Kubernetes. He is a Google GDE (and former Microsoft MVP and Regional Director), Docker Captain, and speaks at conferences and user groups around the world. Dan is active on Twitter (@DanWahlin), blogs at https://blog.codewithdan.com, and adds a lot of code to his Github repos at https://github.com/danwahlin.

Ready to upskill? Get started