100 Kubernetes Tutorials to Get You from Zero to Hero
Tags: kubernetes, vcluster, devspace, loft
Published: 2022-04-25 15:36:56

By [Rabo James Bature](https://twitter.com/RaboBa2re)

Kubernetes is an open source orchestration and containerization system used for the deployment and management of cloud-native applications on a cluster of hosts, be it on-premises infrastructure or public cloud platforms. Kubernetes makes it easy for you to manage, scale, and update your application to meet the modern expectation of rolling out new features frequently without causing disruption to your service.

With the right tutorials, it is possible to learn and master just about anything. In this roundup, you explore a comprehensive list of tutorials to take you from a zero to a Kubernetes hero. These tutorials cover all kinds of Kubernetes topics worth knowing about—from the essentials, like pods and deployment, to more advanced topics, like GitOps and dev tools. Let’s get started!

## Kubernetes Essentials: Pods, Deployments, ReplicaSet, and Other Basics

Decades ago, companies built their applications using legacy technologies with all the components of the application tightly coupled, making it difficult to manage and deploy. With the more recent advancements of technology, startups and enterprises today are transforming their applications into microservices using infrastructures that rely on container technologies and orchestration tools such as Kubernetes.

In this section, you’ll find tutorials that cover Kubernetes’s architecture, microservices, deployment, and more functionalities that are essential to understanding and working with Kubernetes. (Note: The tutorials in each section of this article have been ordered according to increasing difficulty, listing beginner-level resources first and then progressing to more advanced topics.)

* [“What Is Container Orchestration?”](https://www.redhat.com/en/topics/containers/what-is-container-orchestration)
* [“What Is Kubernetes?”](https://www.redhat.com/en/topics/containers/what-is-kubernetes)
* [“Beginners Concepts in Kubernetes”](https://harshityadav95.medium.com/beginners-concepts-in-kubernetes-d37158fd7d47) 
* [“Kubernetes: An Introduction to Its Components”](https://medium.com/codex/kubernetes-an-introduction-aaa7c6304e97)
* [“Kubernetes: An Introduction, Part II”](https://medium.com/codex/kubernetes-an-introduction-part-ii-b6ccaadb76db)
* [“Kubernetes: An Introduction, Part III”](https://medium.com/codex/kubernetes-an-introduction-part-iii-41223480a37f)
* [“Install and Set Up kubectl on Windows”](https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/)
* [“How to Install Kubernetes on Windows 10”](https://dev.to/devcrafter91/how-to-install-kubernetes-on-windows-10-55b6)
* [“Installation Simple Kubernetes Cluster on Ubuntu Server 20.04”](https://achchusnulchikam.medium.com/installation-simple-kubernetes-cluster-on-ubuntu-server-20-04-91e4868558b7)
* [“The 3 Kubernetes Essentials: Cluster, Pipeline, and Registry”](https://codefresh.io/kubernetes-tutorial/3-kubernetes-essentials-cluster-pipeline-registry/)
* [“Using Kubernetes with Docker for Mac”](https://logz.io/blog/kubernetes-docker-mac/)
* [“Kubernetes Tutorial | Install & Run Minikube in macOS | K8s Cluster”](https://medium.com/@javatechie/kubernetes-tutorial-install-run-minikube-in-mac-os-k8s-cluster-369b25b0c3f0)
* [“Kubernetes’ Architecture: Understanding the Components and Structure of Clusters”](https://www.padok.fr/en/blog/kubernetes-architecture-clusters)
* [“Kubernetes CRDs:Custom Resource Definitions”](https://loft.sh/blog/kubernetes-crds-custom-resource-definitions/)
* [“What Is a Kubernetes Cluster?”](https://www.vmware.com/topics/glossary/content/kubernetes-cluster.html)
* [“What Is a Kubernetes Pod?”](https://www.redhat.com/en/topics/containers/what-is-kubernetes-pod)
* [“What Are Kubernetes Pods?”](https://www.mirantis.com/cloud-native-concepts/getting-started-with-kubernetes/what-are-kubernetes-pods/)
* [“Pods Creation Process Flow”]( https://bikramat.medium.com/pods-creation-process-flow-99c49fd64848)
* [“Placing Pods on Specific Nodes Using Node Selectors”](https://docs.openshift.com/container-platform/4.8/nodes/scheduling/nodes-scheduler-node-selectors.html)
* [“Kubernetes Horizontal Pod Autoscaling”](https://loft.sh/blog/kubernetes-horizontal-pod-autoscaling/)
* [“Kubernetes ReplicaSets: A Brief Introduction”](https://www.bmc.com/blogs/kubernetes-replicaset/)
* [“Kubernetes Replicaset”](https://bikramat.medium.com/kubernetes-replicaset-7dbc1ceb5268)
* [“Kubernetes Stateful Set—Examples & Best Practices”](https://loft.sh/blog/kubernetes-statefulset-examples-and-best-practices/)

## Networking and Storage: Services, PVs, PVCs, Ingress, and More

Kubernetes networking allows the Kubernetes components you are working with to communicate with each other and with your application. This is necessary because each of these components is treated as an independent object.

Kubernetes volumes allow you to store data, which can be accessible across multiple containers in a pod. When a pod is deleted or the container crashes, the data stored is lost, but with a persistent volume (PV), the data stored can outlive the pod.

The tutorials in this section cover Kubernetes networking, volumes, persistent volumes, persistent volume claims, and services.

* [“Stupid Simple Kubernetes—Persistent Volumes Explained by Examples”](https://czakozoltan08.medium.com/stupid-simple-kubernetes-persistent-volumes-explained-by-examples-29f8fec08c4)
* [“Kubernetes Persistent Volumes: Examples & Best Practices”](https://loft.sh/blog/kubernetes-persistent-volumes-examples-and-best-practices/)
* [“Kubernetes Persistent Volume Explained”](https://medium.com/codex/kubernetes-persistent-volume-explained-fb27df29c393)
* [“Keeping the State of Apps 1: Introduction to Volumes and volumeMounts”](https://www.kubermatic.com/blog/keeping-the-state-of-apps-1-introduction-to-volume-and-volumemounts/)
* [“Persistent Volumes (PV) and Claims (PVC) in Kubernetes”](https://medium.com/avmconsulting-blog/persistent-volumes-pv-and-claims-pvc-in-kubernetes-bd76923a61f6)
* [“Kubernetes Network Policies”](https://blog.digitalis.io/kubernetes-network-policies-3ab64a2731c2)
* [“Share Process Namespace between Containers in a Pod”](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace)
* [“Kubernetes NGINX Ingress: 10 Useful Configuration Options”](https://loft.sh/blog/kubernetes-nginx-ingress-10-useful-configuration-options/)
* [“Kubernetes Ingress Tutorial for Beginners”](https://devopslearners.com/kubernetes-ingress-tutorial-for-beginners-26c2f7727bc)
* [“How Does Ingress Work in Kubernetes?”](https://medium.com/@craig-godden-payne/how-does-ingress-work-in-kubernetes-f3b121d0351f)
* [“Kubernetes—Active/Passive Load Balancing with Services”](https://faun.pub/active-passive-load-balancing-with-kubernetes-services-742cae1938af)
* [“Node Affinity in Kubernetes”](https://technos.medium.com/node-affinity-in-kubernetes-320cfce0898e)
* [“Learn How to Assign Pods to Nodes in Kubernetes Using nodeSelector and Affinity Features”](https://medium.com/kubernetes-tutorials/learn-how-to-assign-pods-to-nodes-in-kubernetes-using-nodeselector-and-affinity-features-e62c437f3cf8)
* [“Kubernetes Ingress Simplified”](https://www.youtube.com/watch?v=zkDmJRlDqbw) (video)
* [“Kubernetes Services Explained”](https://www.youtube.com/watch?v=T4Z7visMM4E) (video)
* [“Kubernetes—Objects (Resources) Overview”](https://medium.com/devops-mojo/kubernetes-objects-resources-overview-introduction-understanding-kubernetes-objects-24d7b47bb018)

## Kubernetes Deployment and GitOps Tools: Helm, Argo, Flux, and More

Kubernetes has become the most popular open source container-orchestration platform around the globe, with organizations rapidly adopting microservice-based approaches to build and deploy their applications. Because of this, various tools have been developed to complement Kubernetes and enhance deployment, monitoring, and securing of the Kubernetes environment. 

This section will equip you with tutorials on a variety of these Kubernetes deployment tools, such as Helm, Jenkins, Terraform, Argo CD, and others.

* [“Kubernetes Deployments Fully Explained”](https://www.bmc.com/blogs/kubernetes-deployment/)
* [“Overview of Gitops Tools | Principles | Benefits | Use Cases”](https://www.xenonstack.com/insights/what-is-gitops)
* [“GitOps Tools, Pipelines and Kubernetes Operator”](https://medium.com/@xenonstack/gitops-tools-pipelines-and-kubernetes-operator-44f6a1f98317)
* [“Helm”](https://singhabhishek-7484.medium.com/helm-201e8faff5ee)
* [“Understanding Kubernetes Deployments with Helm”](https://gennyallcroft.medium.com/understanding-kubernetes-deployments-with-helm-444116a622be)
* [“Encrypt Helm Sensitive Data”](https://medium.com/@dev-vibe/encrypt-helm-sensitive-data-9d7622e41d00)
* [“Test and Validate Your Helm Charts in Kubernetes”](https://www.padok.fr/en/blog/debugging-helm-charts)
* [“Kubernetes with kind”](https://jonathan18186.medium.com/kubernetes-with-kind-da1af38a5238)
* [“How to Install Jenkins on Kubernetes”](https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-kubernetes)
* [“CI/CD Pipeline Using Jenkins to deploy on Kubernetes”](https://faun.pub/ci-cd-pipeline-using-jenkins-to-deploy-on-kubernetes-cf2fd5e185b8)
* [“Continuous Integration with Jenkins on Kubernetes”](https://piotrminkowski.com/2020/11/10/continuous-integration-with-jenkins-on-kubernetes/)
* [“Manage Kubernetes Resources via Terraform”](https://medium.com/avmconsulting-blog/manage-kubernetes-resources-via-terraform-d57e6fae92c7)
* [“Deploying Applications in Multi-clusters Using ArgoCD”](https://medium.com/zelarsoft/deploying-application-in-multi-clusters-using-argocd-71a04b2a460b)
* [“Getting Started with ArgoCD for GitOps Kubernetes Deployments”](https://medium.com/@outlier.developer/getting-started-with-argocd-for-gitops-kubernetes-deployments-fafc2ad2af0)
* [“Create a Continuous Integration Pipeline with GitLab and Kubernetes”](https://tanzu.vmware.com/developer/guides/gitlab-auto-devops/)
* [“Gitlab CI/CD on Kubernetes”](https://piotrminkowski.com/2020/10/19/gitlab-ci-cd-on-kubernetes/)
* [“Kubernetes the Hard Way Using Terraform”](https://www.youtube.com/watch?v=00r9C8rWsK8) (video)
* [“Working with Terraform and Kubernetes”](https://kubernetes.io/blog/2020/06/working-with-terraform-and-kubernetes/)
* [“Installing Kubernetes with Kubespray”](https://kubernetes.io/docs/setup/production-environment/tools/kubespray/)
* [“An Introduction to Kubespray”](https://www.redhat.com/sysadmin/kubespray-deploy-kubernetes)
* [“FluxCD, ArgoCD or Jenkins X: Which Is the Right GitOps Tool for You?”](https://blog.container-solutions.com/fluxcd-argocd-jenkins-x-gitops-tools)
* [“Deploying Applications in Kubernetes Using Flux”](https://medium.com/swlh/deploying-applications-in-kubernetes-using-flux-a9d171b11917)
* [“GitOps Continuous Delivery on Kubernetes with Flux, Helm and CircleCI”](https://medium.com/travelaudience/gitops-continuous-delivery-on-kubernetes-with-flux-helm-and-circleci-ec58bd2f7e0b)
* [“Creating Containerized Workflows With argo”](https://towardsdatascience.com/creating-containerized-workflows-with-argo-ec1011b04370)

## Kubernetes Dev Tools: DevSpace, Tilt, Prometheus, and More

Tools like Devspace, Tilt, and Prometheus were created by the Kubernetes community to make a developer’s job easier. Furthermore, because Kubernetes makes deployment smooth, there is the possibility of developers overprovisioning resources needed for a project, thus driving up cloud cost. In order to avoid this, tools like Kubecost were developed to give you detailed insights into how resources are being used.

The tutorials in this section will teach you how to use several of these tools in your Kubernetes projects.

* [“9 Open Source Developer Tools for Kubernetes”](https://containerjournal.com/features/9-open-source-developer-tools-for-kubernetes/)
* [“Kubernetes-Based Development with Devspace”](https://hidora.io/resources/kubernetes-based-development-with-devspace/)
* [“Pace Your Kubernetes Development with This Awesome Tool”](https://levelup.gitconnected.com/pace-your-kubernetes-development-with-this-awesome-tool-8c0cdfd6f30b)
* [“Kubernetes Cost Monitoring with Prometheus & Grafana”](https://loft-sh.medium.com/kubernetes-cost-monitoring-with-prometheus-grafana-9063bf8d3f43)
* [“Kubernetes Cost Monitoring with Kubecost”](https://loft.sh/blog/kubernetes-cost-monitoring-with-kubecost/)
* [“Reducing Kubernetes Cost: Kubecost vs Cast.ai”](https://loft-sh.medium.com/reducing-kubernetes-cost-kubecost-vs-cast-ai-161790e828e0)
* [“DevSpace—Development Environments in Kubernetes”](https://www.youtube.com/watch?v=nQly_CEjJc4) (video)
* [“Develop Cloud-Native Software Faster with DevSpace”](https://www.youtube.com/watch?v=kgfg8r6_zPk) (video)
* [“How to Get Started with DevSpace and Rapidly Develop Kubernetes Apps”](https://www.cloudsavvyit.com/14690/how-to-get-started-with-devspace-and-rapidly-develop-kubernetes-apps/)
* [“Local Kubernetes Development with Tilt”](https://sookocheff.com/post/kubernetes/local-kubernetes-development-with-tilt/)
* [“Local Kubernetes Development with Tilt.dev”](https://codefresh.io/kubernetes-tutorial/local-kubernetes-development-tilt-dev/)
* [“Hands On—Kubernetes Productivity with Tilt”](https://www.youtube.com/watch?v=uT6nR4nTKDg) (video)
* [“Deploy Ruby on Rails to Kubernetes”](https://devspace.cloud/blog/2019/10/21/deploy-ruby-on-rails-to-kubernetes)

## Building Kubernetes Platforms: RBAC, Resource Quotas, SSO, Policies, and More

Several Kubernetes platforms have been developed to manage Kubernetes, whether on edge, on-premises, or on cloud environments. For easy implementation of strict security and governance policies, Kubernetes has inbuilt role-based access control (RBAC) and policies that simplify the process of setting up various security controls on an organization’s Kubernetes projects.
 
This section provides tutorials to teach you about RBAC, resource quotas, policies, SSO, and more.

* [“Kubernetes RBAC: Basics and Advanced Patterns”](https://loft.sh/blog/kubernetes-rbac-basics-and-advanced-patterns/)
* [“Assign Permissions to a User in Kubernetes: An Overview of RBAC-Based AuthZ in K8s”](https://faun.pub/assign-permissions-to-an-user-in-kubernetes-an-overview-of-rbac-based-authz-in-k8s-7d9e5e1099f1)
* [“10 Essentials for Kubernetes Access Control”](https://loft-sh.medium.com/10-essentials-for-kubernetes-access-control-a67ae72977dd)
* [“Getting Started with Kubescape”](https://duggaltania.hashnode.dev/getting-started-with-kubescape)
* [“Kubernetes Hardening Using Kubescape”](https://medium.com/@LachlanEvenson/kubernetes-hardening-using-kubescape-ab7f9df341cc)
* [“Kubescape Walkthrough—Easy Kubernetes Security Tool”](https://www.youtube.com/watch?v=iJVHIkMJK-g) (video)
* [“Kubernetes Policy Enforcement: OPA vs jsPolicy”](https://loft-sh.medium.com/kubernetes-policy-enforcement-opa-vs-jspolicy-ea4925b8ce76)
* [“Kubernetes Security for DevOps Pipelines”](https://www.bmc.com/blogs/kubernetes-security/)
* [“Kubernetes Best Practices for Enhanced Cluster Efficiency”](https://www.bmc.com/blogs/kubernetes-best-practices)
* [“Kubernetes Admission Controllers: What They Are and Why They Matter”](https://loft.sh/blog/kubernetes-admission-controllers-what-they-are-and-why-they-matter/)
* [“Kubernetes Security Best Practices”](https://kodekloud.com/kubernetes-security-best-practices/)
* [“Restricting cluster-admin Permissions”](https://www.giantswarm.io/blog/restricting-cluster-admin-permissions)  
* [“Kubernetes and LDAP: Enterprise Authentication for Kubernetes”](https://loft.sh/blog/kubernetes-and-ldap-enterprise-authentication-for-kubernetes/)
* [“How to Use Kubernetes Resource Quotas”](https://opensource.com/article/20/12/kubernetes-resource-quotas)
* [“Resource Quotas”](https://unofficial-kubernetes.readthedocs.io/en/latest/concepts/policy/resource-quotas/)
* [“Applying Resource Quotas and Limits”](https://jamesdefabia.github.io/docs/admin/resourcequota/walkthrough/)
* [“Limiting Resource Usage”](https://kubebyexample.com/en/learning-paths/application-development-kubernetes/lesson-4-customize-deployments-application-0)
* [“Single Sign-On for Kubernetes: An Introduction”](https://thenewstack.io/kubernetes-single-sign-one-less-identity/)
* [“How to Enforce Kubernetes Network Security Policies Using OPA”](https://www.cncf.io/blog/2020/09/09/how-to-enforce-kubernetes-network-security-policies-using-opa/)
* [“Enforcing Policies in Kubernetes”](https://itnext.io/enforcing-policies-in-kubernetes-c0f6192bd5ca)
* [“OPA Gatekeeper: Policy and Governance for Kubernetes”](https://kubernetes.io/blog/2019/08/06/opa-gatekeeper-policy-and-governance-for-kubernetes/)
* [“Enforcing Policies and Governance for Kubernetes Workloads”](https://learnk8s.io/kubernetes-policies)
* [“Building an Internal Kubernetes Platform”](https://loft.sh/blog/building-an-internal-kubernetes-platform/)
* [“Building Stateful Services with Kubernetes”](https://sookocheff.com/post/kubernetes/building-stateful-services/)

## Conclusion

Kubernetes offers a superior, simplified way of deploying applications, which has led to its rapid growth in popularity and adoption among organizations and developers.

In this roundup, you were equipped with some of the best tutorials to start (or continue) your journey of mastering Kubernetes, covering everything from pods and deployments to GitOps tools, dev tools, and other resources for building and managing Kubernetes platforms.


Photo by <a href="https://unsplash.com/@jasonhogan?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Jason Hogan</a> on <a href="https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>