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

Update Solo to add CLI flags Mirror Node to enable ingress and pass in reserved static IP addresses #929

Open
Tracked by #47
jeromy-cannon opened this issue Dec 5, 2024 · 0 comments
Assignees
Labels
Internal Requirement P0 An issue impacting production environments or impacting multiple releases or multiple individuals.

Comments

@jeromy-cannon
Copy link
Contributor

jeromy-cannon commented Dec 5, 2024

1. split the mirror node and hedera explorer into separate commands: requires #1081

2. flag to enable ingress for mirror node

  • the mirror node values file will need: ingress.enabled=true, example

3. flag to pass in the mirror node static IP address

  • will need to deploy another haproxy-ingress-controller (Jeromy will get example from Nathan on how to have multiple haproxy-ingress-controller instances running in the same cluster)
  • in the same chart that deploys the haproxy-ingress-controller we need to set controller.service.loadBalancerIP=<the reserved mirror node load balancer static IP address>

4. flag to enable ingress for hedera explorer

  • the hedera explorer values file will need: ingress.enabled=true, example
  • currently a lot of hedera explorer flags are skipped if the enableHederaExplorerTls is not set, this needs to change. if the ingress for hedera explorer is enabled, this code still needs to run:
    // Install ingress controller only if it's not already present
    if (!(await this.k8.isIngressControllerInstalled())) {
      valuesArg += ' --set ingress.enabled=true';
      valuesArg += ' --set haproxyIngressController.enabled=true';
      valuesArg += ` --set ingressClassName=${namespace}-hedera-explorer-ingress-class`;
      valuesArg += ` --set-json 'ingress.hosts[0]={"host":"${hederaExplorerTlsHostName}","paths":[{"path":"/","pathType":"Prefix"}]}'`;
    }
  • and this, but rename hederaExplorerTlsLoadBalancerIp to hederaExplorerLoadBalancerIp
      valuesArg += ` --set haproxy-ingress.controller.service.loadBalancerIP=${hederaExplorerTlsLoadBalancerIp}`;

additional references

Issue Links

@jeromy-cannon jeromy-cannon added P0 An issue impacting production environments or impacting multiple releases or multiple individuals. Internal Requirement labels Dec 5, 2024
@jeromy-cannon jeromy-cannon added the Needs Refinement The issue needs more refinement and/or design before it can be worked label Dec 9, 2024
@nathanklick nathanklick added this to Solo Dec 19, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Solo Dec 19, 2024
@jeromy-cannon jeromy-cannon removed the Needs Refinement The issue needs more refinement and/or design before it can be worked label Jan 9, 2025
@jeromy-cannon jeromy-cannon changed the title Add proxy/ingress/gateway to Mirror Node and provide ability for user to pass in a reserved static IP address Update Solo to add CLI flags Mirror Node to: enable ingress, pass in reserved static IP addresses Jan 16, 2025
@jeromy-cannon jeromy-cannon changed the title Update Solo to add CLI flags Mirror Node to: enable ingress, pass in reserved static IP addresses Update Solo to add CLI flags Mirror Node to enable ingress and pass in reserved static IP addresses Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal Requirement P0 An issue impacting production environments or impacting multiple releases or multiple individuals.
Projects
Status: 🆕 New
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants