惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
H
Help Net Security
GbyAI
GbyAI
博客园_首页
G
Google Developers Blog
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
月光博客
月光博客
美团技术团队
B
Blog RSS Feed
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园 - 叶小钗
有赞技术团队
有赞技术团队
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Proofpoint News Feed

Learn Cloud Native

Plan-based validation for coding agents on Kubernetes | Learn Cloud Native PR validation at scale and a sandbox for every pull request on Kubernetes | Learn Cloud Native 7 practical MCP policies with agentgateway | Learn Cloud Native Agentgateway rate limiting for agents | Learn Cloud Native Local development with coding agents on Kubernetes using Signadot | Learn Cloud Native cuenv: one typed file for your whole project | Learn Cloud Native Preflight: AI Code Review Before You Push Anatomy of AI Agents Accessing Google Drive from Next.js Deploying to Fly.io using Dagger and Github Top Cloud-Native & Kubernetes Certifications [2026 Guide] Rapid microservices development with Signadot How to prepare for Istio certified associate exam (ICA) Global Rate Limiting in Istio with Envoy Rate Limit Service My Journey with Istio: From Incubation to Graduation Cilium Network Policy Tutorial: Secure Kubernetes Step by Step Kubernetes Networking: How kube-proxy and iptables Work Istio ServiceEntry: DNS vs. STATIC Resolution & Endpoints Explained Apply an Istio DestinationRule Globally (Mesh-Wide) Istio Rate Limiting: Configure a Local Rate Limiter in Envoy How to expose custom ports on Istio ingress gateway Portainer Tutorial: A Web UI for Kubernetes & Containers Traefik Proxy 2.x and TLS 101 Kubernetes CLI (kubectl) tips you didn't know about Setting up SSL certificates with Istio Gateway ArgoCD Best Practices You Should Know 在 OCI Ampere A1 计算实例上运行 AI Running AI On OCI Ampere A1 Instance How to Deploy Traefik Proxy Using Flux and GitOps Principles Firebase Emulators with Next.js: Local Setup Guide
Minikube Basics and How to Get Started with Kubernetes
Peter Jausovec · 2019-08-27 · via Learn Cloud Native

Minikube is an awesome tool that allows you to run a single-node Kubernetes cluster inside a virtual machine, on your own computer.

To help you get started, I have recorded a video to guide you through the Minikube installation process. In the video I explain and introduce a couple of essential Minikube commands you can use to work with the Kubernetes cluster and show you how to access applications inside the cluster when using Minikube.

Managing Your Minikube Cluster

Creating a new cluster is as simple as running minikube start. By default, the start command creates a virtual machine with 2 CPUs and 2000 MB of memory. Often, that might not be enough, so you can use --cpus and --memory flags to set the desired amount of CPUs and memory like this: minikube start --cpus=4 --memory 8192.

To stop a virtual machine running your cluster, use the minikube stop command. This will stop the virtual machine, but it leaves all the files around, so you can use the start command to start up the cluster again. I usually stop my cluster if I am not using it, so it's not eating up all the CPUs and memory.

Troubleshooting Minikube Issues

Hopefully you won't run into any issues with Minikube, however, in case you do, use the minikube status command to quickly get the status of your cluster. If you need to dig deeper and get more information on what's happening, use the minikube logs command. The logs command will output all logs from the running Kubernetes instance.

Interacting With Your Kubernetes Cluster

In most cases you will use the Kubernetes CLI (kubectl) to interact with your cluster. However, if you're more visual, you can also use the Kubernetes dashboard. Minikube automatically installs Kubernetes dashboards and it has a convenience command called minikube dashboard that creates a proxy to the dashboard and opens the dashboard UI in the browser.

To access your cluster and services running within the cluster you will use the clusters IP. To get the clusters IP address, run minikube ip command. This command outputs the clusters IP to the standard out. You can use the combination of the IP address and your service ports to access the services.

Minikube also offers two commands that allow you to quickly access the services. One command is called minikube service. If your service is of a NodePort type, you can use this command to quickly access the service. Minikube will use the clusters IP and the port, and open your service in the browser.

Alternatively, if you have services using the LoadBalancer type, you can use the minikube tunnel command. This command exposes all services with LoadBalancer type on the http://localhost address.

Check out the video here.