Kubernetes Commands & Best Practices Curriculum

12 chapters

Chapters

  1. View merged kubeconfig
    Kubernetes Commands & Best Practices Curriculum · 3:41
    Learn how to view your merged kubeconfig and gain visibility into all your Kubernetes contexts when working across multiple clusters. You'll discover how to see your complete configuration and identify your current active context at a glance.
  2. Set a default namespace for your current context
    Kubernetes Commands & Best Practices Curriculum · 3:40
    Learn how to configure a default namespace for your current Kubernetes context, eliminating the need to repeatedly specify namespace flags in every kubectl command.
  3. Switch to a different context
    Kubernetes Commands & Best Practices Curriculum · 3:08
    Mastering context switching in Kubernetes, this track walks you through how to move seamlessly between clusters like development and staging using the right commands and your kubeconfig file.
  4. List all contexts (clusters you can connect to)
    Kubernetes Commands & Best Practices Curriculum · 3:11
    Master the `kubectl config get-contexts` command to instantly view all available cluster contexts, helping you navigate multiple Kubernetes environments with ease.
  5. View current cluster info
    Kubernetes Commands & Best Practices Curriculum · 4:13
    Dive into the essential `kubectl cluster-info` command, which reveals the control plane and API server endpoints of your Kubernetes cluster, giving you immediate visibility into where your workloads are running.
  6. View just the current context
    Kubernetes Commands & Best Practices Curriculum · 3:15
    Learn how to instantly check your active kubectl context before running any commands, ensuring you're always aware of which cluster — production, staging, or local — you're connected to.
  7. Kubernetes Commands & Best Practices Curriculum
    Kubernetes Commands & Best Practices Curriculum · 3:56
    A rhythmic deep-dive into Kubernetes architecture, this track breaks down the master-worker model, walking you through the roles of the control plane, API server, etcd, scheduler, and worker nodes so you can confidently navigate the foundation of container orchestration.
  8. Create a namespace
    Kubernetes Commands & Best Practices Curriculum · 3:14
    Dive into the power of Kubernetes namespaces and learn how to organize your containerized workloads by creating isolated environments using the simple `kubectl create namespace` command.
  9. Delete a namespace (WARNING: deletes ALL resources inside)
    Kubernetes Commands & Best Practices Curriculum · 4:12
    Discover how to delete an entire Kubernetes namespace and understand the critical implications of this powerful command, which permanently removes every resource contained within it.
  10. List all namespaces
    Kubernetes Commands & Best Practices Curriculum · 3:29
    Dive into the essential skill of listing namespaces in Kubernetes, learning how the `kubectl get namespaces` command helps you view and understand the organizational boundaries that keep your cluster's workloads structured and manageable.
  11. Run any command in a specific namespace
    Kubernetes Commands & Best Practices Curriculum · 3:52
    Discover how to target specific namespaces in Kubernetes using the `-n` flag, unlocking the ability to run any command against the exact environment where your applications live.
  12. Get resources across ALL namespaces
    Kubernetes Commands & Best Practices Curriculum · 3:32
    Discover how to break free from single-namespace visibility and retrieve resources across your entire Kubernetes cluster with a single command, giving you a complete picture of everything running in your environment.