Kubernetes on the Cloud and the CNCF CKA Certification

Video description

Kubernetes is also one of the hottest topics in tech today because it is perhaps the only straightforward way to architect a hybrid, multi-cloud compute a solution. Let's parse that- hybrid: this is a solution where an enterprise has a private cloud or on-premise data center, in addition to using one of the public cloud providers (such as AWS, GCP or Azure). Any firm migrating to the cloud is going to have to run a hybrid setup, at least during the migration. Multi-cloud: this refers to the use of more than one cloud provider. Why is this so important? Well, because most large firms are unwilling to be completely locked into one provider, particularly after events like Amazon's acquisition of Whole Foods (that gave pause to a whole lot of potential AWS customers, who decided that 'multi-cloud' makes sense for strategic reasons). The only straightforward way is when cloud providers offer a range of compute solutions, ranging from PaaS (Elastic Beanstalk, or Google App Engine) to IaaS (EC2, or Google Compute Engine VMs). The reality is that PaaS ties you down to one cloud provider, and IaaS is a lot of hassle, during migration and beyond. Kubernetes is supported by each of the Big-3: GCP has a special relationship with Kubernetes (since K8S originated at Google) but now AWS and Azure support it as well. Kubernetes has won the battle of the container orchestration systems. This is why containers running on Kubernetes constitute the hottest compute choice for a hybrid, multi-cloud world.

What You Will Learn

  • Improve their odds of succeeding at the CNCF Certified Kubernetes Administrator test
  • Build and administer Kubernetes clusters - on-premise, as well as on all major cloud platforms (AWS, Azure, GCP)
  • Understand and employ advanced deployment solutions using Kubernetes
  • Master the important aspects of Kubernetes - pods, replicasets, deployments and services


Cloud Architects looking to understand how to compute choices on AWS, Azure, and GCP. Technical decision makers evaluating a hybrid, multi-cloud solutionDevops professionals looking to master Kubernetes. Anyone seeking to take and pass the CNCF Certified Kubernetes Administrator test.

About The Author

Loonycorn: Loonycorn is Janani Ravi and Vitthal Srinivasan. Between them, they have studied at Stanford, been admitted to IIM Ahmedabad, and have spent years working in tech, in the Bay Area, New York, Singapore and Bangalore. Janani spent 7 years at Google (New York, Singapore); Studied at Stanford and also worked at Flipkart and Microsoft. Vitthal also worked at Google (Singapore) and studied at Stanford; Flipkart, Credit Suisse and INSEAD too. They think they might have hit upon a neat way of teaching complicated tech courses in a funny, practical, engaging way, which is why they are so excited to be here. They hope you will try their offerings, and you'll like them.

Table of contents

  1. Chapter 1 : Introduction
    1. Introduction
    2. Why Is Kubernetes So Hot Right Now?
    3. Containers vs. Virtual Machines
    4. What Is Docker?
    5. What Is Kubernetes?
  2. Chapter 2 : Getting Started With Kubernetes
    1. Setting up A GCP Account
    2. Using the Cloud Shell
    3. An end-to-end example: Kubernetes on the GKE
  3. Chapter 3 : Kubernetes and the Cloud Ecosystem
    1. How Kubernetes Works
    2. The Role of the Master Node
    3. Nodes, Kube-proxy, Kubelet
    4. What Is A Pod?
    5. Lab: Creating pods imperatively
    6. Where Do Pods Run?
    7. Can Pods Have Multiple Containers?
    8. Lab: Multi-container Pods
    9. How Do Master Nodes Communicate?
    10. Where Can We Run Kubernetes?
    11. Kubernetes for a Hybrid Multi-cloud World
    12. Cloud Controllers
    13. Interacting with Kubernetes
  4. Chapter 4 : Pods
    1. Lab: Creating pods declaratively
    2. Imperative or Declarative?
    3. How Declarative Files are applied
    4. The Pros and Cons of Declarative and Imperative Object Management
    5. Names and UIDs
    6. Namespaces
    7. Labels
    8. Label Selectors Loose Coupling
    9. Annotations
    10. Lab: Deletion of pods
    11. Lab: Editing the configuration information of the deployment
    12. Lab: Scaling the Number of Pods using Deployments
  5. Chapter 5 : Volumes and Storage
    1. Volumes
    2. Lab: Volumes and the emptydir volume
    3. Types of Volumes
    4. Persistent_Volumes
    5. Cloud Specific Persistent Volumes
    6. Lab: Persistent Volumes
    7. Secrets, ConfigMaps and Other Volume Types
    8. Lab: Use of secrets pass information to pods
    9. Lab: Create secrets directly from files
    10. Lab: ConfigMaps
  6. Chapter 6 : More on Pods and Containers
    1. Containers in a Pod
    2. Lab: kubectl apply
    3. What Environment Do Containers See?
    4. Lab: Setting Environment Variables in Containers
    5. Lab: Downward API Passing information from pod to container
    6. How Can Containers React To Lifecycle Events?
    7. Lab: Handling Container Lifecycle Events
    8. Pod Node Matching
    9. Lab: Associating Pods with Nodes using nodeSelector
    10. Taints
    11. Lab: kubectl_taint
    12. Lab: Tolerations
    13. Init Containers
    14. Lab: Init containers setting up the state of the pods
    15. Pod Lifecycle
    16. Container Probes
    17. Lab: Use of Liveness and Readiness Probes
    18. Lab: Liveness probes Using HTTP and TCP
    19. Pod Presets
    20. Pod Priorities
  7. Chapter 7 : ReplicaSets
    1. Introducing Controllers
    2. What Are ReplicaSets?
    3. Lab: ReplicaSet object
    4. Working with ReplicaSets
    5. Lab: Deleting a ReplicaSet and its associated pods
    6. Lab: Deleting a ReplicaSet but not the associated pods
    7. ReplicaSets and Loose Coupling
    8. Horizontal Pod Autoscalers
    9. Lab: Loose coupling between ReplicaSet object and the pods
    10. Lab: Scaling a ReplicaSet object
  8. Chapter 8 : ReplicationControllers
    1. Replication Controllers
    2. Lab: Replication controller
    3. Lab: Deleting a replication controller and the associated pods
    4. Lab: Deleting a replication controller but not its pods
    5. Lab: Loose coupling between replication controller and its pods
  9. Chapter 9 : Deployments
    1. Deployments
    2. When Use Deployments
    3. Creating a Deployment
    4. Lab: kubectl run Create deployments imperatively
    5. Lab: YAML files for Deployment objects
    6. Rolling Back Deployment
    7. Pausing/Resuming Deployment
    8. Clean-up Policy
    9. Scaling Deployments
    10. Lab: Scaling deployments by editing the YAML config
    11. Lab: Changing the image version associated with a deployment
    12. Lab: Rolling back a deployment
    13. Lab: kubectl scale Scaling deployments imperatively
    14. Lab: Rolling Deployments
  10. Chapter 10 : Other Controllers
    1. StatefulSets
    2. Lab: Statefulsets
    3. DaemonSets
    4. Run To Completion Jobs
    5. Cron Jobs
    6. Lab: Batch Processing Job Objects
  11. Chapter 11 : Services
    1. Services
    2. Types of Services.mp4
    3. Service Pod Endpoint
    4. Services without Selectors
    5. Virtual IPs Service Proxies
    6. Multi-Port Services
    7. Service Discovery
    8. Headless Services
    9. NodePort Services
    10. LoadBalancer Services
    11. External IPs
    12. DNS for Services
    13. DNS for Pods
    14. Securing Services
    15. Federated Services
    16. Ingress Objects
    17. Lab: kubectl expose Service objects
  12. Chapter 12 : Kubernetes on AWS and Azure
    1. Kubernetes on the cloud
    2. Lab: AKS - the Azure Kubernetes Service
    3. Lab: Jumping through hoops - kops and AWS
    4. Lab: Play With Kubernetes (PWK)
  13. Chapter 13 : kubeadm: Bootstrapping a Kubernetes Cluster on Ubuntu
    1. RBAC (Role-Based Access Control)
    2. Roles and ClusterRoles
    3. RoleBindings and ClusterRoleBindings
    4. Pod Networks and Flannel
    5. Instantiating Ubuntu VMs
    6. Bootstrapping the Master Node
    7. Configuring the Worker Nodes
  14. Chapter 14 : The CNCF Certified Kubernetes Administrator Test
    1. The CKA Test
    2. Test Day Mechanics
    3. Curriculum and Preparation Tips

Product information

  • Title: Kubernetes on the Cloud and the CNCF CKA Certification
  • Author(s): Loonycorn
  • Release date: June 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789531565