본문 바로가기
K8S

[kubernetes] Error while setting up kubernetes: cannot expose the external port... 에러 - Docker desktop

by Rainbound-IT 2022. 11. 18.
반응형

 

전날에 잘되던 k8s가 이상하게 다음날 다음과 같은 에러를발생시키며 starting에서 멈춰있었다.

 

 

지속적으로 이상태임

 

해당 에러의 원인을 확인하기 아래 위치에서 확인

C:\Users\[윈도우 사용자 명]\AppData\Local\Docker

 

log[숫자].txt 숫자 맨 마지막거나, log.txt를 보면된다.

 

 

 

Error while setting up kubernetes: cannot expose the external port: listen tcp 127.0.0.1:6443: bind: An attempt was made to access a socket in a way forbidden by its access permissions

이런 식으로 바인딩인이 권한이 없어서 안되다고 한다.

 

뭐해보고 해봤는데 안되서

 

마지막으로 재부팅하면 된다는것을 보고 재부팅하고 관리자 권한(권한 관련 에러라 혹시 몰라서 해봄)으로 실행해보니까 되더라..ㅠㅠ

 

 

https://github.com/docker/for-win/issues/9509

 

Kubernetes fails to start after update docker desktop · Issue #9509 · docker/for-win

I have tried with the latest version of my channel (Stable or Edge) I have uploaded Diagnostics Diagnostics ID: 0F2A2189-7DB2-415D-AD26-5B162A2700F7/20201114030728 Expected behavior Actual behavior...

github.com

 

반응형

'K8S' 카테고리의 다른 글

AWS EKS 에서 docker desktop kubenetes로 전환, 변경하는 방법  (0) 2023.08.15
kubernetes 네임스페이스 삭제  (0) 2022.12.29
[k8s]Lens 설치  (0) 2022.11.16
minikube 설치  (0) 2022.10.26
Kustomize 설치 (for windows)  (0) 2022.10.26

댓글