fabric8io / gofabric8

CLI used when working with fabric8 running on Kubernetes or OpenShift
https://fabric8.io/
Apache License 2.0
147 stars 72 forks source link

Ingress error installing fabric8 on GoogleContainerEngine #614

Open mdonnellyli opened 7 years ago

mdonnellyli commented 7 years ago

I'm new to both so not sure where to start digging in.

I've trying recreated the cluster multiple times and tried a few options but at the most basic I now have running

markd-mbpr:~ markd$ kubectl get pods -n fabric8
NAME                                       READY     STATUS    RESTARTS   AGE
configmapcontroller-3014251921-2v9cc       1/1       Running   0          18m
exposecontroller-3177019115-31pf4          1/1       Running   0          18m
fabric8-3154273818-mlhns                   2/2       Running   0          18m
fabric8-docker-registry-1694136881-zqg2v   1/1       Running   0          18m
fabric8-forge-871551670-ml089              1/1       Running   0          18m
gogs-4265911691-tdmh5                      1/1       Running   0          18m
ingress-nginx-3912307751-1t30b             1/1       Running   0          18m
jenkins-1477889786-qtx38                   1/1       Running   0          18m
nexus-4109686781-b4pz3                     1/1       Running   0          18m

It was installed with

gofabric8 deploy --namespace fabric8

Creating new Namespace: fabric8 Deploying package: platform version: 2.4.24

This issue is with the Ingress that was created, I get the following error.

googleapi: Error 400: Invalid value for field 'namedPorts[0].port': '0'. Must be greater than or equal to 1, invalid

Ingress Details yaml

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  creationTimestamp: 2017-10-30T11:35:26Z
  generation: 1
  labels:
    provider: fabric8
  name: fabric8
  namespace: fabric8
  resourceVersion: "2042"
  selfLink: /apis/extensions/v1beta1/namespaces/fabric8/ingresses/fabric8
  uid: 6cd7fba0-bd66-11e7-a816-42010a800275
spec:
  rules:
  - host: fabric8.fabric8.32.212.117.167.nip.io
    http:
      paths:
      - backend:
          serviceName: fabric8
          servicePort: 80
status:
  loadBalancer: {}

Any ideas where to start looking?