我尝试着手使用fabric 8并在docker上打开shift。一个开放的移动实例(单码头集装箱)正在按照此处所述的方式运行:https://docs.openshift.org/latest/getting_started/administrators.html#running-in-a-docker-container。我将fabric 8安装为http://fabric8.io/guide/getStarted/openshift.html,现在基本Pod正在运行。在openshift docker实例上安装Fabric8
但我不能达到服务
oc get services
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
docker-registry 172.30.194.44 <none> 5000/TCP docker-registry=default 18h
fabric8 172.30.178.196 80/TCP group=io.fabric8.apps,project=console,provider=fabric8 18h
kubernetes 172.30.0.1 <none> 443/TCP,53/UDP,53/TCP <none> 20h
router 172.30.77.252 <none> 80/TCP router=router 18h
oc describe service fabric8
Name: fabric8
Namespace: default
Labels: group=io.fabric8.apps,project=console,provider=fabric8,version=2.2.116
Selector: group=io.fabric8.apps,project=console,provider=fabric8
Type: LoadBalancer
IP: 172.30.178.196
Port: <unnamed> 80/TCP
NodePort: <unnamed> 30308/TCP
Endpoints: 172.17.0.2:9090
Session Affinity: None
No events.
ping 172.17.0.2:9090
ping: unknown host 172.17.0.2:9090
[email protected]:~$ ping 172.30.178.196
PING 172.30.178.196 (172.30.178.196) 56(84) bytes of data.
From 62.218.18.245 icmp_seq=1 Destination Host Unreachable
From 62.218.18.245 icmp_seq=2 Destination Host Unreachable
在故障排除部分:像
corsAllowedOrigins:
- .*
http://fabric8.io/guide/getStarted/openshift.html 提出了一些意见。但我不知道如何在码头集装箱中启用它们。你有什么想法,为什么我不能达到我的基本fabric8控制台?
尝试ping/curl端口80? – lvthillo