Trying to run container in microk8s
.
(试图在microk8s
运行容器。)
According to https://docs.docker.com/get-started/part3/ , after deploy the service.
(根据https://docs.docker.com/get-started/part3/ ,在部署服务之后。)
microk8s.kubectl get services
shows:
(microk8s.kubectl get services
显示:)
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
bb-entrypoint NodePort 10.152.183.182 <none> 8080:30001/TCP 5m51s
kubernetes ClusterIP 10.152.183.1 <none> 443/TCP 35d
microbot-service NodePort 10.152.183.80 <none> 80:31223/TCP 19
But, I can't access the bb-entrypoint
service via any of following address:
(但是,我无法通过以下任何地址访问bb-entrypoint
服务:)
-
localhost:30001
-
10.152.183.182:8080
The os is mint mate
based on ( ubuntu
), and I have disabled ufw
.
(操作系统是基于( ubuntu
)的mint mate
,并且我禁用了ufw
。)
Any idea?
(任何的想法?)
ask by Eric Wang translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…