image
Summary

Contents

Introduction
1
Introduction
PREVIEW3m 18s
Kubernetes Patterns
3
Networking
11m 21s
Course Summary
6
Summary
3m 7s
Start course
Difficulty
Intermediate
Duration
47m
Students
6160
Ratings
4.2/5
starstarstarstarstar-half
Description

With many enterprises making the shift to containers, along with Kubernetes being the leading platform for deploying container applications; learning Kubernetes Patterns is more essential than ever for application developers. Having this knowledge across all teams will lead to yielding the best results, for developers in particular.

This Kubernetes Patterns for Application Developers Course covers many of the configuration, multi-container pods, and services & networking objectives of the Certified Kubernetes Application Developer (CKAD) exam curriculum.

Help prepare for the CKAD exam with this course, comprised of 6 expertly-instructed lectures.

Learning Objectives

  • Understand and use multi-container patterns to get the most out of Kubernetes Pods
  • Learn how to control network access to applications running in Kubernetes
  • Understand how Kubernetes Service Accounts provide access control for Pods
  • Use the Kubernetes command-line tool kubectl to effectively overcome challenges you may face when working with Kubernetes

Intended Audience

This course is intended for application developers that are leveraging containers and using or considering using Kubernetes as a platform for deploying applications. However, there are significant parts of this course that appeal to a broader audience of Kubernetes users. Some individuals that may benefit from taking this course include:

  • Application Developers
  • DevOps Engineers
  • Software Testers
  • Kubernetes Certification Examinees

Prerequisites

We would recommend that to successfully navigate this course it would be helpful to have:

  • Knowledge of the core Kubernetes resources including Pods, and Deployments
  • Experience using the kubectl command-line tool to work with Kubernetes clusters
  • An understanding of YAML and JSON file formats

Related Training Content

This course is part of the CKAD Exam Preparation Learning Path.

Transcript

Congratulations, you've reached the end of this course on Kubernetes patterns for application developers. Let's review what we've learned. We began the course looking at multi-container patterns for pods. The lesson began with an explanation of why Kubernetes has pods and why they allow multiple containers. Then we saw how the sidecar pattern can be used to extend functionality of a primary container with a sidecar. This pattern is often used for shipping logs to central aggregation systems and to sync files with external systems. After that we learned about the ambassador pattern and how it can be used to proxy connections from a primary container to the outside world. The example we considered involved proxying connections to a database. Lastly, we looked at the adapter pattern and how it can provide a standardized view of an application. We implemented an adapter for a legacy application that wrote metrics in a non-standard form. We then became familiar with networking topics including a review of the basic networking principles in Kubernetes such as IP per pod, container local host communication and services to avoid the pitfalls of working directly with pod IP's. We then dove into more details on the different types of services that are available. They are cluster IP for internal only access, NodePort to open a port on each node for access to a service, load balancer to leverage a cloud providers load balancer to grant external access to Kubernetes service and external name to access services outside of the cluster using DNS CNAME records. We finished lesson by looking at network policy and how you can control access to groups of pods in a namespace. Remember that the policies don't have any effect if the clusters network plugin doesn't support network policy. Next, we learned about how service accounts provide an identity to pods running in the cluster. Service accounts are compatible with role based access control allowing pods to access communities API's when necessary. You can use the service account name field of a pod spec to configure a pod service account. We also learned the benefits of using service accounts to store image pull secrets when working with private container image registries. The previous lesson covered some tips on how to be productive with kube control. We saw how to use the completions command to enable shell completions for kube control. How do you get the filter output using labels and format output, how to use kube control to generate manifest files for a variety of resources and how to use kubectl to understand the resource fields. 

We certainly covered a lot of interesting topics for application developers working with Kubernetes but the fun doesn't end here. I'd encourage you to try out more of Kubernetes content here on Cloud Academy. There are several labs that give you hands on experience with Kubernetes clusters. The Kubernetes pod designed for application developers, Kubernetes observe ability and mastering Kubernetes pod configuration labs are all made specifically for application developers working with Kubernetes. The labs are a great place to practice and learn at the same time but keep on going after you completed them. Try things out on your own and try to solve some challenges you can think of. Think back to the leveraging kube control lesson to be as efficient and self-sufficient as possible. 

Lastly, please share your feedback so I can find out what you want to see more of and what you'd rather see less of and make content for you, and try to make it the best that it can be. 

Thank you for taking my course. Take what you've learned here and apply it and continue to expand your Kubernetes skills. Until next time, I'm Logan Rakai with Cloud Academy.

About the Author
Students
187434
Labs
214
Courses
9
Learning Paths
52

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.