대시보드내에 curl not found , 접속 Connection refused
534
작성한 질문수 1
안녕하세요 선생님 pod1 실습중입니다.
1-1) Pod
apiVersion: v1
kind: Pod
metadata:
name: pod-1
spec:
containers:
- name: container1
image: kubetm/p8000
ports:
- containerPort: 8000
- name: container2
image: kubetm/p8080
ports:
- containerPort: 8080
k8s master 에서는 잘되는것 같은데요?
[root@k8s-master ~]# curl 20.111.156.73:8080
containerPort : 8080
[root@k8s-master ~]#
[root@k8s-master ~]#
k8s-master 에서는 접속이 잘되는데요?
대시보드로 접속해서 curl 로 하면 command not found 나옵니다.

그래서 node1 이나 node2에서 테스트 해본결과
[root@k8s-node1 ~]# curl localhost:8000
curl: (7) Failed to connect to localhost port 8000: Connection refused
[root@k8s-node1 ~]#
refused 가 나오고 있습니다.
왜 이런 현상이 일어나는지 원인을 알고 싶습니다.
답변 1
kubeTM Blog는 없어진건가요????
1
24
2
yml 작성하다가 에러 발생해서 문의 드립니다.
0
43
2
설치수업중에 질문드립니다.
1
60
2
기초다지기 설치 문의드립니다.
1
110
4
HPA 부분 Auto Scaler 설치하는 링크가 없습니다!!
1
67
3
클러스터 초기화 및 팟 네트워크 세팅시 문제가 있습니다
1
103
1
환경 구성에 있어서 질문드립니다
1
94
2
configMap 파일생성
1
79
2
dashboard에서 pod 생성이 되지 않습니다.
1
80
2
nodePort 서비스 접근 Client sent an HTTP request to an HTTPS server
1
76
2
대시보드 화면이 달라요 ㅠㅠ
1
62
2
대시보드 접근이 안됩니다!
1
100
2
Ingress실습에 난관이 있습니다
1
70
2
master 노드에서 ssh 로그인 창이 안뜨는 오류
1
85
3
안녕하세요 일프로님 궁금한 거 있습니다
0
53
1
7강 마지막 대시 보드 출력에 관한 문제
1
57
2
Could not resolve host: externalname1; Unknown error
0
61
2
Failed to create pod sandbox
1
92
2
자료실을 못 찾겠습니다 ㅜ ㅡ ㅜ
0
59
2
0/3 nodes are available
1
58
2
Back-off restarting fail~~
1
106
4
쿠버네티스 대시보드 접속 문제
1
90
2
설치관련 질문입니다
1
118
2
raw.githubusercontent.com 에 대한 질문
1
142
2






