[Kubernetes] Nodes and Pods with Minikube

2024. 5. 23. 19:28ComputerScience/DockerKubernetes

 

 

 

 

 

2024. 05. 22

https://kubernetes.io/docs/concepts/architecture/nodes/

 

Nodes

Kubernetes runs your workload by placing containers into Pods to run on Nodes. A node may be a virtual or physical machine, depending on the cluster. Each node is managed by the control plane and contains the services necessary to run Pods. Typically you h

kubernetes.io

 

 

 

# minikube 설치 by brew 🍻

https://minikube.sigs.k8s.io/docs/start/

 

minikube start

minikube is local Kubernetes, focusing on making it easy to learn and develop for Kubernetes. All you need is Docker (or similarly compatible) container or a Virtual Machine environment, and Kubernetes is a single command away: minikube start What you’ll

minikube.sigs.k8s.io

brew install minikube

 

 

 

 

 

minikube start ⚓️

 

 

 

 

 

service

 

 

 

 

 

접속!

 

 

 

 

 

kubectl get pods / services -l

 

 

 

 

 

curl로 접속

 

 

 

 

 

kubectl delete service -l app=kubernetes-bootcamp

 

 

 

 

 

minikube stop

 

 

 

 

 

👩‍💻

지난 수업 시간에 killercoda로 진행한 내용을

오늘은 쿠버네티스로 진행했습니다! (with minikube) 

https://killercoda.com/playgrounds/course/kubernetes-playgrounds/one-node

 

Kubernetes Playgrounds | Killercoda

Free Fast Kubernetes Playgrounds in your browser

killercoda.com

 

 

 

 

 

minikube service kubernetes-bootcamp 실행을 위해서 minikube를 사용했습니다.