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

How to access BC via public IP? #4

Closed
staedter opened this issue Mar 16, 2021 · 2 comments
Closed

How to access BC via public IP? #4

staedter opened this issue Mar 16, 2021 · 2 comments

Comments

@staedter
Copy link
Contributor

Hi Markus,

I now got the rancher cluster running and sucessfully starting the helm chart but I do not really understand how to access the Business Central Instance over the public ip. I started the deployment a second time and a currently waiting for the node to finish pulling the image but I think the port-forwarding will not help me either, correct?
image

I looked at your docu on artifacthub but I do not really know which of the 4 options is the best/correct one for my current usecase (which is just simply accessing 1 BC Instance hosted in k8s via the public IP)
image
I do not think that I really need the load balancer for this... Is ingress maybe the best route to go? And could you point me to some ressources that would explain to me how to set it up in Rancher?

Or am I on the wrong tract entirely?

Best regards
Chris

@lippertmarkus
Copy link
Owner

Hey Chris,

for easily getting started you can try NodePort by adding --set service.type=NodePort to helm install. You can then get the node port via kubectl get svc. Make sure that this port is allowed in your firewall(s) and you can access it on http://public-ip:nodeport/BC

For a production setup you may rather want to use ingress. This basically gives you one entry point and can route to many Business Central containers. I suggest reading through the ingress docs as this setup is a bit more complex: https://kubernetes.io/docs/concepts/services-networking/ingress/

@lippertmarkus
Copy link
Owner

Closing this, feel free to reopen if you need more input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants