본문 바로가기
기타 정보/꿀팁

Windows Local Kubernetes 환경 구축하기(Docker Desktop)

by 째스터 2023. 4. 15.
728x90

Docker Desktop가 되어 있다면 Settings > Kubernetes > Enable Kubernetes 옵션을 체크하면 끝이다.
(만약 Docker Desktop을 설치해야 한다면 이 링크를 참고해서 설치하면 된다.)

아래에서 보이는 Reset Kubernetes Cluster 기능이 Cluster를 초기화해 주기 때문에 이것저것 만들어보고 초기화하며 연습하기 좋은 것 같다.

kubectl을 설치하는 방법은 다음과 같다.
https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/

 

Install and Set Up kubectl on Windows

Before you begin You must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.27 client can communicate with v1.26, v1.27, and v1.28 control planes. Using the latest compatible version of kubectl helps avoid

kubernetes.io

 

간단한 명령어로 kubectl 설치를 확인해 본다.

kubectl get nodes

 

728x90

댓글