Minikube

minikube

์„ค์น˜

brew install minikube

์—๋Ÿฌ

$ minikube
zsh: command not found: minikube
brew unlink minikube
brew link minikube

๋ฒ„์ „ ํ™•์ธ

$ minikube version
minikube version: v1.23.2
commit: 0a0ad764652082...

์ปค๋งจ๋“œ

์ปค๋งจ๋“œ
๊ฐœ์š”

minikube start

๊ฐ€์ƒ ๋จธ์‹  ๊ธฐ๋™, kubectl ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•ด์ง

minikube stop

๊ฐ€์ƒ ๋จธ์‹  ์ •์ง€

minikube delete

๊ฐ€์ƒ ๋จธ์‹  ์‚ญ์ œ

minikube status

์ƒํƒœ ์ถœ๋ ฅ

minikube ip

๊ฐ€์ƒ ๋จธ์‹ ์˜ IP ์ฃผ์†Œ ํ‘œ์‹œ

minikube ssh

๊ฐ€์ƒ ๋จธ์‹ ์˜ ๋ฆฌ๋ˆ…์Šค์— ๋กœ๊ทธ์ธ

minikube addons list

์• ๋“œ์˜จ ๊ธฐ๋Šฅ ๋ชฉ๋ก

minikube dashboard

๋ธŒ๋ผ์šฐ์ €๋ฅผ ๊ธฐ๋™ํ•˜์—ฌ ์ฟ ๋ฒ„๋„คํ‹ฐ์Šค์˜ ๋Œ€์‹œ๋ณด๋“œ ์ ‘์†

๋Œ€์‹œ๋ณด๋“œ ๊ธฐ๋™

$ minikube addons enable metrics-server

$ minikube dashboard

metrics-server ๋ฅผ ๊ธฐ๋™ํ•˜๊ณ  ๊ทธ๋ž˜ํ”„๊ฐ€ ํ‘œ์‹œ๋  ๋•Œ๊นŒ์ง€๋Š” ์•ฝ 5๋ถ„ ์ •๋„์˜ ์‹œ๊ฐ„์ด ๊ฑธ๋ฆฐ๋‹ค

๋ฉ”๋ชจ๋ฆฌ 8GB๋กœ ๊ธฐ๋™

minikube start --memory=8192

๋ฏธ๋‹ˆ์ฟ ๋ฒ  ๊ธฐ๋™ ํ™•์ธ

kubectl get po --all-namespaces

EFK ๊ฐœ์‹œ

minikube addons enable efk

NodePort ๋ฒˆํ˜ธ ํ™•์ธ

kubectl get svc --all-namespaces

๋ฏธ๋‹ˆ์ฟ ๋ฒ  ์„œ๋น„์Šค ๋ชฉ๋ก

minikube service list

Docs


๊ด€๋ จ ๋ฌธ์„œ

\

Last updated