Minikube vs Docker Client vs Kops vs Kubeadm

Edward Viaene
A free video tutorial from Edward Viaene
DevOps, Cloud, Big Data Specialist
4.4 instructor rating • 12 courses • 211,152 students

Lecture description

The difference between Minikube vs Docker client vs Kops vs Kubeadm: which one to use when

Learn more from the full course

Learn DevOps: The Complete Kubernetes Course

Kubernetes will run and manage your containerized applications. Learn how to build, deploy, use, and maintain Kubernetes

13:52:42 of on-demand video • Updated May 2021

  • Install and configure Kubernetes (on your laptop/desktop or production grade cluster on AWS)
  • Use Docker Client (with kubernetes), kubeadm, kops, or minikube to setup your cluster
  • Be able to run stateless and stateful applications on Kubernetes
  • Use Healthchecks, Secrets, ConfigMaps, placement strategies using Node/Pod affinity / anti-affinity
  • Use StatefulSets to deploy a Cassandra cluster on Kubernetes
  • Add users, set quotas/limits, do node maintenance, setup monitoring
  • Use Volumes to provide persistence to your containers
  • Be able to scale your apps using metrics
  • Package applications with Helm and write your own Helm charts for your applications
  • Automatically build and deploy your own Helm Charts using Jenkins
  • Install and use kubeless to run functions (Serverless) on Kubernetes
  • Install and use Istio to deploy a service mesh on Kubernetes
  • Continuously Develop using Skaffold
English Edward: I just showed you how to use minikube or the docker client to get a kubernetes cluster. Now let's talk a little bit about auto tools to run a production cluster. There are multiple tools to install a kubernetes cluster. I showed you how to use minikube and docker client. Those are for local installs. If you want a production cluster you will need different tooling. Minikube and docker client are great for local setups but not for real clusters. They spin up only a one-node cluster for development and testing. Kops and kubeadm are tools to spin up a production cluster. You don't need both tools, just one of them. On AWS, the best tools is kops. At some point AWS EKS, the host of Kubernetes, will also be available. At that point this will probably be the preferred option. With the hosted solution you don't need to maintain the masters. With kops you own all the infrastructure so you also need to maintain a masters. For other installs, or if you cannot get kops to work, you can use kubeadm. Kubeadm is an alternative approach, and kops is still recommended on AWS. You also have AWS integrations with kops automatically. Kubeadm is a more generic tool. So it's an alternative approach if you're not on AWS or if you cannot get it working, but I still recommend you to use lops of you are on AWS because you will get integrations with IAM and a load balancer as well. The kubeadm lectures can be found at the end of this course, and let you spin up a cluster on DigitalOcean. Because the focus on this course is really on minikube and kops I just put the lectures at the end because they provide you an alternative way of setting of a cluster. If you have AWS you should always try AWS first. If you're going to do bare metal or another cloud provider then kubeadm can be a good alternative.