Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Federation] unable to create a federated ingress #39087
Kubernetes version (use
What you expected to happen:
Here are controller's log (run with
How to reproduce it (as minimally and precisely as possible):
Federated Ingress currently only works for HTTPS Ingresses. Also, you will need the workaround described here for now - http://kubernetes.io/docs/user-guide/federation/federated-ingress/#known-issue. We plan to fix the firewall issue and that work is being tracked in Issue #37306.
@madhusudancs even with the workaround, the Ingress controller only gets created in one cluster, which means the HTTPS LB only has one available backend. How do you make it create Ingress controllers in every cluster and have the HTTPS LB treat each cluster as a backend?
The Federated Service creates a service in each cluster today, but not Federated Ingress.
I'm basically following this blog post.
Both server and client are Kubernetes 1.5.1
The issue could be related to #34291, as I didn't specify a nodeport for the service.
apiVersion: extensions/v1beta1 kind: Deployment metadata: name: web spec: replicas: 6 template: metadata: labels: name: web spec: containers: - name: web image: gcr.io/<PROJECT_ID>/web:v1 imagePullPolicy: Always ports: - containerPort: 3000
apiVersion: v1 kind: Service metadata: name: web spec: ports: - port: 80 targetPort: 3000 protocol: TCP nodePort: 30036 selector: name: web type: LoadBalancer
apiVersion: extensions/v1beta1 kind: Ingress metadata: name: web spec: backend: serviceName: web servicePort: 80
Related to issue of ingress being created only in one of the underlying clusters:
Hope this helps.
Tried all these tricks. I have 3 clusters and only one appears in the ingress with all health checks failing. Also in the ingress I can see the clusters being switched probably to health check them but everything fails. I started the ingress with a reserved global ip address as well...no cake.