Kubernetes Administrator: Managing Pods & Deployments

Kubernetes 1.19    |    Intermediate
  • 14 Videos | 1h 2m 48s
  • Includes Assessment
  • Earns a Badge
Kubernetes uses pods to wrap up one or more containers. The primary objective of deployments is to declare the number of replicas of a pod that should be running at a time and also ensure the pods' availability by recreating them when they are not available. In this course, you'll learn to perform critical pod and deployment tasks, which includes creating a ReplicaSet definition file, using kubectl commands to create a ReplicaSet, verifying management of pods by specific ReplicaSets, removing ReplicaSet-managed pods, and increasing the number of pods when the CPU load gets higher without exceeding five pods. Next, you’ll create a deployment definition file and use the kubectl command to deploy four pods with NGINX. You'll also use the kubectl scale command to scale replicas, create a Kubernetes user account using the X509 client certificate, schedule and launch pods, and taint a node. Moving on, you’ll create a manifest file that creates a pod with a sample container, manually schedule a pod and force a pod to be on a specific node, and use kubectl commands to create a pod and configure environment variables. Finally, you’ll create a secret from files containing a username and password, define environment variables, and mount the secret to a pod. This course is part of a series that aligns with the objectives for the Certified Kubernetes Administrator exam and can be used to prepare for this exam.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    create a ReplicaSet definition file, use kubectl command to create a ReplicaSet, and verify that a particular pod is managed by this ReplicaSet and not by another controller
    remove a pod that is managed by a ReplicaSet by changing its label
    use a Kubectl command that uses Horizontal Pod Autoscaler with the ReplicaSet to increase the number of pods when the CPU load gets higher without exceeding five pods
    create a deployment definition file and use the kubectl command to deploy four pods with NGINX as the hosted application and use the kubectl scale command to scale replicas
    recall Kubernetes scheduling concepts and the role of Kubernetes Scheduler in container orchestration
    create a Kubernetes user account using the X509 client certificate
  • demonstrate how to use label selectors to schedule pods and use anti-affinity to launch a pod on a different node
    use the kubectl taint command to taint a node with type=special:NoSchedule, make the node unschedulable, and create a pod to tolerate the taint
    create a manifest file that creates a pod with a sample container that requests 2G of memory with half a CPU and has limits at 3G of memory with a whole CPU
    manually schedule a pod and force a pod to be on a specific node without using the scheduler
    configure a manifest file and use the kubectl command to create a pod with the latest available images running asleep for 1 hour, give it an environment variable titled "TEST" with the value "sample", and execute a command in the container to show that it has the configured environment variable
    create a secret from files containing a username with a password, use the secret to define environment variables, and mount the secret to a pod to admin-cred folder
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    1m 36s
    UP NEXT
  • Playable
    2. 
    Creating and Verifying ReplicaSet
    5m 23s
  • Locked
    3. 
    Removing a Pod
    2m 54s
  • Locked
    4. 
    Using HPA to Scale up and Scale down Pods
    3m 37s
  • Locked
    5. 
    Creating Deployment Files and Scaling Replicas
    4m 43s
  • Locked
    6. 
    Kubernetes Scheduling
    6m 3s
  • Locked
    7. 
    Creating a Kubernetes User Account
    3m 37s
  • Locked
    8. 
    Using Label Selectors to Schedule Pods
    5m 33s
  • Locked
    9. 
    Tainting a Node
    5m 30s
  • Locked
    10. 
    Enabling Pod Limit Resources
    2m 43s
  • Locked
    11. 
    Manually Scheduling Pods
    5m 55s
  • Locked
    12. 
    Using Environmental Variables with Pods
    3m 19s
  • Locked
    13. 
    Creating and Using Secrets with Pods
    4m 6s
  • Locked
    14. 
    Course Summary
    1m 49s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.