There are multiple ways to run a Kubernetes cluster in the local computer.
1. Docker
Desktop
It comes with
standalone Kubernetes server, client and Docker container runtime.
To enable Kubernetes in Docker
Desktop; Go to Docker Desktop settings ,
Click on Kubernetes menu and check “Enable
Kubernetes” checkbox
Limitations:
- we cannot modify kubernetes version in the Docker Desktop
- There is no out-of-box solution for kubernetes Web UI dashboard
- There is no option to enable add-ons
2. Minikube
It is a cross-platform tool works on Linux, mac and windows.
It supports different container runtimes like Docker, containerd and CRI-O.
It will start as single node kubernetes cluster with Web UI
dashboard and LoadBalancer features by issuing minikube start command
Pros:
- It supports multiple clusters
- It supports different Kubernetes versions
- It can be deployed as a VM, a container or on bare metal
- It supports different add-ons like ingress, metric-server and helm
Please visit @ https://minikube.sigs.k8s.io/ for more
details.
3) Kind
Kind stands for Kubernetes inside Docker. It was primarily
designed for testing kubernetes itself and it supports multi node clusters.
- Kubernetes for Developers #25: PersistentVolume and PersistentVolumeClaim in-detail
- Kubernetes for Developers #24: Kubernetes Volume hostPath in-detail
- Kubernetes for Developers #23: Kubernetes Volume emptyDir in-detail
- Kubernetes for Developers #22: Access to Multiple Clusters or Namespaces using kubectl and kubeconfig
- Kubernetes for Developers #21: Kubernetes Namespace in-detail
- Kubernetes for Developers #20: Create Automated Tasks using Jobs and CronJobs
- Kubernetes for Developers #19: Manage app credentials using Kubernetes Secrets
- Kubernetes for Developers #18: Manage app settings using Kubernetes ConfigMap
- Kubernetes for Developers #17: Expose service using Kubernetes Ingress
- Kubernetes for Developers #16: Kubernetes Service Types - ClusterIP, NodePort, LoadBalancer and ExternalName
- Kubernetes for Developers #15: Kubernetes Service YAML manifest in-detail
- Kubernetes for Developers #14: Kubernetes Deployment YAML manifest in-detail
- Kubernetes for Developers #13: Effective way of using K8 Readiness Probe
- Kubernetes for Developers #12: Effective way of using K8 Liveness Probe
- Kubernetes for Developers #11: Pod Organization using Labels
- Kubernetes for Developers #10: Kubernetes Pod YAML manifest in-detail
- Kubernetes for Developers #9: Kubernetes Pod Lifecycle
- Kubernetes for Developers #8: Kubernetes Object Name, Labels, Selectors and Namespace
- Kubernetes for Developers #7: Imperative vs. Declarative Kubernetes Objects
- Kubernetes for Developers #6: Kubernetes Objects
- Kubernetes for Developers #5: Kubernetes Web UI Dashboard
- Kubernetes for Developers #4: Enable kubectl bash autocompletion
- Kubernetes for Developers #3: kubectl CLI
- Kubernetes for Developers #2: Kubernetes for Local Development
- Kubernetes for Developers #1: Kubernetes Architecture and Features
No comments:
Post a Comment