티스토리 뷰
[업데이트 2022-02-11 18:51]
1) 터미널에서 aws ec2에 접근하여 아래의 명령어를 사용하여 dashboard를 실행시킨다.
minikube dashboard --url
2) 실행후 아래와 같이 url을 확인한다. (포트 확인)
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
http://127.0.0.1:34953/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/
3) 다른 터미널 창을 열어 아래와 같이 ssh tunnel을 연다.
ssh -i key.pem -L 8001:localhost:34953 ubuntu@ec2-xxx-xxx-xxx-xxx.ap-northeast-2.compute.amazonaws.com
4) 이제 리모트 머신에서 아래의 주소로 접속하면 k8s dashboard를 확인할 수 있다.
http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/#/workloads?namespace=_all
* 참고
https://stackoverflow.com/questions/53354734/kubernetes-dashboard-in-aws-ec2-instance
https://shubham-singh98.medium.com/minikube-dashboard-in-aws-ec2-881143a2209e
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Physical Simulation
- Memorize
- aws #cloudfront
- OST
- #REST API
- belief
- Sea Bottom
- 2D Game
- Mask R-CNN
- sentence test
- #ApacheSpark
- Jekyll and Hyde
- 도커
- Library
- #ELK Stack
- English
- Game Engine
- SSM
- Ragdoll
- ILoop Engine
- some time ago
- Meow
- #TensorFlow
- Worry
- GOD
- Badge
- project
- docker
- ate
- #ApacheZeppelin
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함