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.
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.
Course Overview [Autogenerated] Welcome to the KUBERNETES for developers deploying your code course. My name's Dan Wall Lean, and I'm a software developer, architect and trainer specializing in development and container technologies. Over the years, I've had the opportunity to work with containers extensively, and I'm excited to teach you how to deploy your code with containers and kubernetes. The overall goal of this course is to teach you about different deployment techniques and how they could be used in a kubernetes cluster. Although code deployment is a huge topic, will dive into several of the key options available in Kubernetes and discuss their pros and cons. The course starts out by providing a look at how deployments working kubernetes. This includes showing how to define a deployment using mammal and migrated to kubernetes using the Cube C T l tool. From there, you'll learn how rolling deployments were, the benefits they offer and how you can roll back a deployment if something goes wrong. Next, you learn about Canary deployments, how they differ from rolling updates and when they're appropriate to use Bluegreen deployments are discussed Next With this deployment technique, you can roll out a new version of a deployment tested to ensure it works properly and then route production traffic to it once it's deemed ready. After blue green deployments, you'll learn about jobs and chrome jobs, learn how to run a one time job or even run a job on a schedule using the crown format. Finally, you'll learn about different monitoring and troubleshooting tools such as Prometheus and Griffon A that could be used to monitor kubernetes and provide alerts when things go wrong. So let's get started by talking about what a kubernetes deployment is and how you can get started using it.