Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an opportunity to use single nginx-ingress-controller across all the nodes of the cluster #158

Closed
kvaps opened this issue May 29, 2024 · 0 comments · Fixed by #164 or aenix-io/cozystack-website#27
Milestone

Comments

@kvaps
Copy link
Member

kvaps commented May 29, 2024

In this configuration all the nodes can be exposed as separate loadBalancer services with external IPs, eg in addition to root-ingress-controller we can create a few more:

apiVersion: v1
kind: Service
metadata:
  name: root-ingress-controller-2
  namespace: tenant-root
spec:
  loadBalancerIP: 1.2.3.2 # node 2
  ports:
  - appProtocol: http
    name: http
    port: 80
    targetPort: http
  - appProtocol: https
    name: https
    port: 443
    targetPort: https
  selector:
    app.kubernetes.io/component: controller
    app.kubernetes.io/instance: ingress-nginx
    app.kubernetes.io/name: ingress-nginx
  type: LoadBalancer
---
apiVersion: v1
kind: Service
metadata:
  name: root-ingress-controller-3
  namespace: tenant-root
spec:
  loadBalancerIP: 1.2.3.3 # node 3
  ports:
  - appProtocol: http
    name: http
    port: 80
    targetPort: http
  - appProtocol: https
    name: https
    port: 443
    targetPort: https
  selector:
    app.kubernetes.io/component: controller
    app.kubernetes.io/instance: ingress-nginx
    app.kubernetes.io/name: ingress-nginx
  type: LoadBalancer
@kvaps kvaps changed the title provide user an opportunity to use single nginx-ingress-controller across the cluster provide an opportunity to use single nginx-ingress-controller across all the nodes of the cluster May 29, 2024
@kvaps kvaps added this to Cozystack May 29, 2024
@kvaps kvaps added this to the v0.8.0 milestone May 29, 2024
@kvaps kvaps changed the title provide an opportunity to use single nginx-ingress-controller across all the nodes of the cluster Provide an opportunity to use single nginx-ingress-controller across all the nodes of the cluster May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
1 participant