Kubernetes for Developers

Develop, run, test, and deploy your applications in the cloud
Packt Publishing
4 students enrolled
English [Auto-generated]
Create a container from your existing source code, and make your application ready to run on any Kubernetes-supported Cloud.
Make your Application safe and secure while running in a Cloud Environment.
Learn to write cloud-native applications that can run anywhere.
Learn how to troubleshoot your application deployment on Kubernetes.
Create a continuous delivery pipeline with the power of Kubernetes.
Monitor your Docker applications
Handle arguments/secrets and configuration values flexibly
Deploy and test your applications on on-premise and production GCE environments.

Kubernetes is a powerful tool developed by Google for managing containerized applications in a clustered environment. Kubernetes helps you automate, deploy, scale, and manage containerized applications. It gives you the freedom to take advantage of on-premise cloud infrastructures. It also helps you write better cloud-native applications.

This course will give you detailed instructions, real-world examples, and helpful advice. We will begin by learning to set up the development environment on your local machine. Then move on to package your code into Kubernetes, and manage container lifecycles. Once you get a grip in understanding the RBAC Authorization, very easily explore the monitoring techniques with Prometheus and troubleshoot your service account. Finally you will learn to create a cluster in your Google Cloud Environment and deploy your application in production.

By the end of this video, you will develop, run, test, and deploy your application in the cloud, utilizing the power of Kubernetes to its full potential.

About the Author

Jan Stomphorst is a senior solution architect with more than 20 years’ experience in the automation industry; he creates the best solutions for his customers. He uses advanced technical solutions to help developers create stable continuous pipelines and develop systems for 100% uptime. He is a Docker and Kubernetes expert. He supports several customers with on-premise and in-the-cloud Kubernetes strategies.

Setting Up Kubernetes for Development

The Course Overview

This video will give you an overview of the course.

   •  Know about the author

   •  Introduction to all the sections of this course

   •  Guide to the GitHub Repository

Installation of kubectl, Minikube (Kubernetes), and Docker

The aim of this video is learn the installation process.

   •  Get to know the Pre-requisites for the development environment

   •  Explore the minikube features

   •  Set up your machine

What Is Kubernetes and Why Do We Need It?

This video is a detailed explanation of Kubernetes.

   •  Find out why do we need Containers

   •  Explore the use of Kubernetes

   •  Take a business case for Kubernetes and Containers

Introduction to Basic Concepts: Nodes, Pods, and Containers

Dive deeper into Kubernetes with this video.

   •  Get an overview of Kubernetes

   •  Learn the master process

   •  Study in detail about Node, Pods and Containers

Introduction to Basic Concepts : Replica Sets, Deployments and Services

The aim of this video is to learn the basics to deploy an application.

   •  Learn about Replica Sets

   •  Explore in depth about deployment and a Deamon Set

   •  Get familiarized with Services

Packaging Your Code to Run in Kubernetes

What a Container Image Is, How to Build a Container?

The aim of this video is to learn the purpose of a Container.

  • Study in detail about a Container

  • Go through the Dockerfile commands

  • Study the techniques to build a Container and to create a base image

Example Code in Node.js Compiled into a Container

The aim of this video is to learn about running code in a Container.

  • Create the Node.js app

  • Create the Dockerfile

  • Test and run the app and cleanup

Example Code in Golang Compiled into a Container

Take another example of running code in a Container.

  • Create the Golang app

  • Create the Dockerfile and run the app

  • Learn the cross compiling techniques

Create Your Images for Use Within Kubernetes – Uploading to a Registry

The aim of this video is to learn how to create a Container.

  • Learn the steps for preparation to run Docker in Kubernetes

  • Know more about Docker registry

  • Upload and verify Docker image on Docker Hub

Run Commands in Your Container, and Get Debugging Logs, Running on Local Docker

The aim of this video is to learn the commands in a Container.

  • Explore how to run commands in Docker

  • Take a look at a few examples

  • Learn how to get logs with the use of examples

How Do You Run the Pod in Kubernetes?

Pod and Deployment Lifecycle, along with Pod Lifecycle Hooks

The aim of this video is to learn how a Pod works.

  • Know more about a Pod’s status field

  • Explore the possible values for Phase

  • Define postStart and preStop handlers

How Labels and Annotations Work with the Kubernetes Infrastructure

The aim of this video is to learn how labels work.

  • Get in-depth knowledge about labels and annotations

  • Learn how to attach label to a node

  • Walk through a labels selectors example

Deployments – Creating a Rollout of Your Pod

The aim of this video is to learn the techniques for rolling out your Pod.

  • Study in depth about deployment

  • Take a look at the YAML example

  • Scale a deployment

Persistent Storage

The aim of this video is to learn the techniques for putting storage in your deployment.

  • Learn about Persistent Storage(PV) and persistent Storage Claim (PVC)

  • Create a PV and a PVC

  • Connect the PVC in a Pod

Handle Arguments & Configuration Values Like ConfigMap and Environment Variables

The aim of this video is to learn to add configuration files in the Pod (Docker).

  • Learn environment variables with examples

  • Learn ConfigMap object with examples

Services – Connecting Your Pod (Deployment) to the Outside World

The aim of this video is to learn to connect your Pod to the internet.

  • Learn more about Ingress

  • Explore in detail about services and its types

  • Connect the service to the outside world with an example

Understanding Role-Based Access (RBAC Authorization), Securing Pods, and Logins

Role and ClusterRole and Namespaces

The aim of this video is to explain Role and ClusterRole.

  • Learn about Namespace

  • Study in detail about RBAC

  • Explore Role and ClusterRole

Creating a Service Account and Binding This into the Deployment (Pod)

The aim of this video is to give a detailed explanation on the service account.

  • Learn about service account with an example

  • Connect dervice account for deployment

Referring to Resources, Aggregated ClusterRoles

With this video learn to add more roles to one service account.

  • Know more about resource names

  • Learn about aggregrated ClusterRoles

  • Add and view default ClusterRoles

Creating a User for Kubernetes

Here we’ll now put everything together.

  • Create a namespace

  • Create a Role

  • Export the config file

Monitoring the Kubernetes Cluster

Set Up and Run Prometheus

The aim of this video is to learn to setup monitoring.

  • Explore Prometheus

  • Set up monitoring with an example

Set Up and Run Grafana from Prometheus to Build Custom Dashboards

The aim of this video is to learn to show graphics for the monitoring.

  • Learn about Grafana

  • Know more about Configmaps

  • Deploy your application

Logging off Your Application Using a Sidecar Container

The aim of this video is to learn the logging in to a central service.

  • Study about Sidecar Containers

  • Take a look at an example with 2 sidecars

  • Walk through an example of fluentd

Troubleshooting the Pod and/or Deployment

What do we do when a Pod service or node doesn’t work?

  • Go through the most important debugging commands

  • Find out more about debugging deployment

  • Debug Pods, Services and Nodes

Deploying the Application on the Cloud

Create a Kubernetes Cluster at GCE

The aim of this video is to create a cluster.

  • Create a cluster at GCE

  • Delete a Cluster

Deploying Application/Pod in GCE

In this video, we’ll learn to deploy your application

  • Create a deployment

  • Run the application


This video will give you a brief summary of the course.

  • Review what we’ve learnt so far!

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!

Be the first to add a review.

Please, login to leave a review
30-Day Money-Back Guarantee


3 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion