Open nayuta-ai opened 1 year ago
Hmm, let's check if we can access Kube-scheduler without any authentication first.
It can't access Kube-scheduler.
$ curl http://192.168.49.2
curl: (7) Failed to connect to 192.168.49.2 port 80: 接続を拒否されました
$ curl https://127.0.0.1:10259/healthz
curl: (7) Failed to connect to 127.0.0.1 port 10259: 接続を拒否されました
Also, I found not opening the external IP.
$ kubectl get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 13d
my-service NodePort 10.104.244.47 <none> 8080:30300/TCP 9d
But, the error of connection refused encountered.
$ minikube tunnel
Status:
machine: minikube
pid: 173767
route: 10.96.0.0/12 -> 192.168.49.2
minikube: Running
services: []
errors:
minikube: no errors
router: no errors
loadbalancer emulator: no errors
$ curl http://192.168.49.2
curl: (7) Failed to connect to 192.168.49.2 port 80: 接続を拒否されました
$ curl https://127.0.0.1:10259/healthz
curl: (7) Failed to connect to 127.0.0.1 port 10259: 接続を拒否されました
It can't access Kube-scheduler.
$ curl http://192.168.49.2
curl: (7) Failed to connect to 192.168.49.2 port 80: 接続を拒否されました
$ curl https://127.0.0.1:10259/healthz
curl: (7) Failed to connect to 127.0.0.1 port 10259: 接続を拒否されました
Also, I found not opening the external IP.
$ kubectl get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 13d
my-service NodePort 10.104.244.47 <none> 8080:30300/TCP 9d
But, the error of connection refused encountered.
$ minikube tunnel
Status:
machine: minikube
pid: 173767
route: 10.96.0.0/12 -> 192.168.49.2
minikube: Running
services: []
errors:
minikube: no errors
router: no errors
loadbalancer emulator: no errors
$ curl http://192.168.49.2
curl: (7) Failed to connect to 192.168.49.2 port 80: 接続を拒否されました
$ curl https://127.0.0.1:10259/healthz
curl: (7) Failed to connect to 127.0.0.1 port 10259: 接続を拒否されました
Error of connection refused encountered. I want to fix the error.
The detail of "kube-scheduler-minikube" shows below.
Also, the other cluster components show below.