-
Notifications
You must be signed in to change notification settings - Fork 127
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
[OTHER]: what is the ip that dns is supposed to point to? #379
Comments
You don't need to expose your IP. Just use "kubero.localhost" for the kubero ingress and "myapp.localhost" for your apps. But keep in mind, your Github hooks won't come true. In case you want to build images you'll also need a registry with a valid SSL Cert (issued by Letsencrypt for example) There is an easy tunneling service built in to kubero CLI ... just run ```kubero tunnel -p 80 -s kubero-registry-CHANGEME``? |
right, but what if I wanted to use the domain akkiai.com? How would one go about doing that? I followed the kubero install cli and it got me to the point i showed above. This is important as I want the webhooks to work as well for github. |
OK... got it. So if your Kubernetes cluster has a public IP, just point your domain DNS A record to your clusters IP. If you have a NATted network, like your laptop on your Homenetwork, you'll need a tunnel. These tunnels provide a publicly accessible FQDN to your local IP. On a laptop you might look into ngrok, localtunnel or "kubero tunnel". Once you have this tunnel, just point your domain with a CNAME to this tunnel domain. If you are running a server in a non publicly accessible network, you might want to look into "cloudflare tunnels". This requires a cloudflare account and is a bit more complicated. The benefit is: It runs within your cluster. Kubero has a built in Addon to do that. But this addon applies only to the apps, not Kubero-UI it self. |
it works great! thank you so much @mms-gianni There seems to be one additional problem however... Once I did this the UI started working, however, when I try to deploy an app like trying to specify domain.akkiai.com, it gives me a 503 nginx error whenever I try going to the website(in this case it was domain.akkiai.com). To be specific my dns record points to the ip through an A record with @, as well as an A record with *. |
Hi, I have the same issue. I just wanted to test kubero, I have a reverse proxy for managing my services and a local DNS. What IP i need to put on my DNS? Here is the ingress output:
My cluster is 3 arm servers in ha configuration. And searching for the IP address of the ingress does result in the ip of local kubernetes.
|
How can I get an ip? So I can use the UI? |
@GFerreiroS sorry for the late reply. Those IP's you've listed are cluster internal IP's. It highly depends on how your cluster is set up. My running local kind cluster has an ingress hostname with kubero.localhost. Wich is pointing to 127.0.0.1 by default. On my linode cluster its assigned by the NodeBalancer: Thats where DNS-Entrooy "demo.kubero.dev" is pointing to |
Okay, but there is a way to assign an address to the ingress instead of localhost? |
You can assign any domain/hostname to your ingress. But you will need to configure a DNS (local or public) to point to your cluster ingress controller IP.
This command should print the IP the cluster is running on. But as I stated: It depends on your cluster. A local Kind won't print anything. |
What would you like to share?
Hi, I am getting an issue while deploying kubero to gke(standard cluster not auto):
it says the address here is localhost:
anagulapally@cloudshell:~ (kubernetes-428710)$ kubectl get ingress -n kubero -o wide
NAME CLASS HOSTS ADDRESS PORTS AGE
cm-acme-http-solver-jvrzg akkiai.com localhost 80 6m30s
kubero nginx akkiai.com localhost 80, 443 6m34s
when I need it to be the public ip I am assuming. What would you recommend I do in this situation.
Could use some help with this one
Additional information
No response
The text was updated successfully, but these errors were encountered: