반응형
kind 설치
brew install kind
kind-config.yaml을 아래 내용으로 작성한다
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
- role: worker
cluster 생성
kind create cluster --config kind-config.yaml
# 이미 있는 경우는 삭제 후 생성
kind delete cluster
context 생성 확인
kubectl config get-contexts
CURRENT NAME CLUSTER AUTHINFO NAMESPACE
* kind-kind kind-kind kind-kind
참고: https://kind.sigs.k8s.io/?ref=blog.joe-brothers.com
k9s - k8s 관리 tool 설치
brew install k9s
반응형
'Ecosystem > docker, k8s' 카테고리의 다른 글
| mac docker error: Could not open '/lib64/ld-linux-x86-64.so.2' (0) | 2024.02.13 |
|---|