티스토리 뷰

728x90
반응형

이 글은 Windows11에서 작업하는 내용입니다. 참고하세요.

내용은 싱글노드에 아주 기본적인 설치이며 부가적으로 설정하여 구축하면 작은 규모에서의 개발환경은 충분할 수 있습니다.(ex. controll,woker 구분 및 ha구성시)

 

이미지 위주로 하니 쉽게 할수 있습니다.

혹시나 설치에 문제가 있다면 https://kind.sigs.k8s.io/docs/user/known-issues/ 을 참고해주세요.

 

kind – Known Issues

Known Issues Having problems with kind? This guide covers some known problems and solutions / workarounds. It may additionally be helpful to: Troubleshooting Kind 🔗︎ If the cluster fails to create, try again with the --retain option (preserving the fa

kind.sigs.k8s.io

 

kind 설치

## kind 설치 Windows Powershell 기준choco 사용예시
choco install kind

설치 쭈욱~

 

kind 명령어 체크 및 k8s클러스터 기본 구축/확인

## shpark-0 이라는 이름으로 기본 설치
kind create cluster --name shpark-0

 

완료1
도커 데스크탑에서 확인된 k8s 컨테이너
lens에 확인되는 k8s 클러스터

 

- 번외- 하나 더 만든다면? 

## shpark-1 이라는 이름으로 하나 더 설치!
kind create cluster --name shpark-1

노트북 사양이 머 높다면.... 두개가 만들어진다...
도커 데스크탑에서의 클러스터 2개확인
컨텍스트에서도 2개 확인...

나의 한마디...

"minikube는 휘발성이지만.. kind는 도커상에 띄워 PC를 재부팅해도 그대로여서 kind 컨셉대로 k8s를 자체 테스트할목적이외에도 이렇게 사용하기도 좋은 도구이다."

이제 하나씩 OSS 꿀꺽

 

공식 링크 : 

https://kind.sigs.k8s.io/

 

kind

kind is a tool for running local Kubernetes clusters using Docker container “nodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI. If you have go 1.16+ and docker, podman or nerdctl installed go

kind.sigs.k8s.io

 

728x90
반응형
Comments