Windows10 minikube 환경 구성

dongdorrong·2022년 11월 17일
0

Kubernetes

목록 보기
1/1
post-thumbnail

1. Hyper-V 기능 활성화


2. Ubuntu VM 설치

🚩 VM 실행 전, '보안 부팅 사용' 비활성화와 CPU 프로세스 2개로 변경이 필요하다.


3. Hyper-V VM Static IP 설정 (참고)

New-VMSwitch -SwitchName "HyperV_InternalvSwitch" -SwitchType Internal
Get-NetAdapter
New-NetIPAddress -IPAddress 192.168.0.1 -PrefixLength 24 -InterfaceIndex <INDEX>
New-NetNat -Name MyNATnetwork -InternalIPInterfaceAddressPrefix 192.168.0.0/24

🚩 New-NetIPAddress 명령에서 사용할 INDEX 값 확인

🚩 PowerShell 실행 결과

🚩 VM에서 Static IP 설정


4. minikube 설치 및 동작 확인 (참고)

docker 권한 문제 발생해서 minikube start 할 때 --force 추가해서 조치 (참고)

profile
DevOps 엔지니어 / 열심히 해서 잘하자

1개의 댓글

comment-user-thumbnail
2022년 11월 21일

기모링

답글 달기