InfoHeap
Tech tutorials, tips, tools and more
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Mac tutorials

  • Brew
  • Chrome enable webgl on old macbooks
  • How to change computer display name on Mac
  • How to change default system voice for text-to-speech on Mac
  • How to install drupal on Mac usin MAMP
  • How to remove hard drive icon from mac desktop
  • How to use rrdtool plot traffic from network interface
  • How to view your WiFi password on Mac
  • Mac - change desktop icons size
  • Mac - how to take timed screenshot
  • Mac - how to always show scroll bar
  • Mac - how to change default location for screenshots
  • Mac - how to open apps not from App Store
  • Mac - how to take screenshots
  • Mac - how to use kubernetes with Lima-VM
  • Mac - kubernetes minikube - create deployment
  • Mac - make spotlight search faster
  • Mac - show volume icon on menu bar
  • Mac Command Line
  • Mac Finder
  • Mac Preview
  • Mac m1 - How to Install Kubernetes with kind
  • Mac m1 - How to Install Kubernetes with minikube
  • Mac m1 - minikube - create multi node kubernetes cluster
  • Mac podman quick start guide
  • NestJS Quick start tutorial on Mac
  • NextJS Quick start tutorial on Mac
  • Vagarant quick start guide on Mac
  • Windows on Mac
  • minikube kubernetes - create deployment with multiple replica and load balancer
  • minikube kubernetes - how to access service IP endpoint using curl
  • minikube kubernetes - how to access specific pod IP endpoint using curl
 
  • Home
  • > Tutorials
  • > Mac

Mac m1 – How to Install Kubernetes with kind

on Dec 11, 2022

Steps to install kubernetes on Mac m1:

  1. Install docker on mac (m1) from the link. Run docker.
  2. Install kind. kind lets you run Kubernetes on your local computer
    brew install kind
  3. Install Create a kind cluster using (kind quick start guide)
    kind create cluster
    Default cluster created name is kind. To create a different name cluster, use the following command
    kind create cluster --name kind-2
  4. This will create a kind cluster in docker as shown below
  5. get all clusters
    kind get clusters
  6. Install kubectl
    brew install kubectl
  7. Check kubectl version
    kubectl version --client --output=yaml
  8. Check cluster info using kubectl
    kubectl cluster-info
    (optional argument: –context kind-kind-2 )
  9. Change default context for kubectl command (in case of multiple clusters)
    kubectl config use-context kind-kind-2
    (Use kubectl config current-context to see current context)
  10. List all pods on a specific namespace (use -A for all namespaces)
    kubectl get pods -n kube-system
  11. See all namespaces
    kubectl get namespace
  12. To delete default kind cluster
    kind delete cluster
    (use –name kind-2 for deleting specific cluster)

Suggested posts:

  1. Mac m1 – How to Install Kubernetes with minikube
  2. Mac – kubernetes minikube – create deployment
  3. minikube kubernetes – create deployment with multiple replica and load balancer
  4. Mac m1 – minikube – create multi node kubernetes cluster
  5. Install nginx and php in docker ubuntu container
  6. How to install Imagemagick on Mac
  7. Install redis on Mac
  8. Docker quick start guide on Mac
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Kubernetes, Mac

Follow InfoHeap

facebook
twitter
googleplus
  • Browse site
  • Article Topics
  • Article archives
  • Recent Articles
  • Contact Us
  • Omoney
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries

Copyright © 2023 InfoHeap.

Powered by WordPress